rdmpw3275m-changelog-20260921-1252-resolve-feat-20260905-13-approval-queue-producer
rdmpw3275m-changelog-20260921-1252-resolve-feat-20260905-13-approval-queue-producer
Wired SessionHoldOrchestrator as canonical producer for ApprovalQueueActor, enabling orchestrator session holds with permission-mode gating, durable hold directives, and automatic release on supervisor approval.
Scope
- Hosts affected: Fleet-wide (
rdmsm4x,rdmbair15m5,rdmbair13m5,rdmpw3265m,rdmpw3275m,jdmbair13m5) via Tyrell repository. - Repository:
apps/Tyrell(canonical root:rdmsm4x:~/dev/apps/Tyrell). - Commits:
9ef44c2(feature implementation),a2d49ae(session state update).
Exact Files Touched
Sources/TyrellCore/Approvals/ApprovalModels.swift: AddedApprovalOperationKind.sessionHold,HoldTrigger,HoldLevel,SessionHoldRecord,SessionHoldOutcome,SessionHoldResponse, andSessionHoldRequestPayload.Sources/TyrellCore/Approvals/ApprovalQueueActor.swift: AddedisAllowlisted(kind:target:sessionID:)and updatedevaluateto supportsessionHoldin.autoand.fullAccessmodes.Sources/TyrellCore/Approvals/SessionHoldOrchestrator.swift(New): ImplementedSessionHoldOrchestratoractor managing session holds, evaluating permission mode gating, writing durable hold directives to~/.tyrell/holds/<session>.json, and coordinating releases upon supervisor resolution.Sources/TyrellCore/Bootstrap/TyrellBootstrap.swift: AddedholdsDirectoryresolving to~/.tyrell/holds.Sources/tyrell-app/ApprovalsDestination.swift: AddedsessionHoldInspectorand badge for.sessionHoldrequests in the supervisor UI.Sources/tyrelld/ApprovalRoutes.swift: AddedPOST /api/orchestrator/holdandGET /api/orchestrator/holdsroutes, and wired decision handler toSessionHoldOrchestrator.handleApprovalResolution.Tests/TyrellCoreTests/SessionHoldOrchestratorTests.swift(New): Comprehensive unit and integration test suite covering producer submission, REST querying, permission gating short-circuits, SQLite audit recording, and direct releases (6/6 passed).SESSION-STATE.md: Prepended checkpoint documenting resolution and test ledger.
Commands Run
git worktree add -b agy/tyrell-feat-20260905-13-approval-producer ~/dev/_worktrees/tyrell-feat-20260905-13-approval-producer mainswift build --target tyrelldswift build --target tyrell-app && swift build --target tyrellbarswift test --filter SessionHoldOrchestratorTestsswift test --filter Approvalgit commit -m 'feat(orchestrator): add session hold producer for approval queue (FEAT-20260905-13)'git merge --ff-only agy/tyrell-feat-20260905-13-approval-producergit push fleet main && git push backup main~/bin/ticket resolve FEAT-20260905-13 ...~/.agent-coordination/agent_msg.zsh broadcast ... && ~/.agent-coordination/agent_msg.zsh sync
Verification Evidence
- Swift Testing test results:
SessionHoldOrchestrator & Approval Producer Integration Tests: 6 passed in 0.016s (0 failures).- All approval test suites: 33 passed across 5 suites (0 failures).
- Build targets
tyrelld,tyrell-app,tyrellbarcompile cleanly with 0 errors. - Remotes
fleet(git.ecs0.net:git/apps/Tyrell.git) andbackup(github.com/richhdoty/rdmsm4x-dev-apps-tyrell.git) synchronized to tip commita2d49ae.
Backup Locations & Undo
- Git commits
9ef44c2anda2d49aeonmain. To revert:git revert a2d49ae 9ef44c2. - Base reference:
1eab3ea.
Outstanding Owner Actions
- None. Feature is integrated, verified, and pushed to canonical dev root.