Skip to content

Preserve selected workday authority across unrelated graph progress - #663

Merged
adrianwebb merged 2 commits into
stagingfrom
codex/selected-preflight-authority
Oct 30, 2026
Merged

adrianwebb merged 2 commits into
stagingfrom
codex/selected-preflight-authority

Conversation

@adrianwebb

@adrianwebb adrianwebb commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Outcome

A workday can now start from an unchanged selected root when another project advances the team's execution graph. Freshness compares the selected node, Decision, source, effort and priority while the original full graph cursor remains sealed in the immutable preflight receipt.

Work authority

  • Work item / Issue: Resolve the frozen review candidate across admission and receipt ordering #625 ; observed retained Deployment diagnostic admission blocker tracked also in Complete simulation upstream parity through the ordinary Releaser workflow deployment#913
  • Proposal / decision: retained Deployment proposal assignment_Ms4bx5oD3iZXXvNg4ni-2sp0Pno4iJmk:proposal v21 / Decision ba3c8d9d-4097-4e7d-8cc1-64a2106f0763; code-only bootstrap authority repairs its blocked native MCP path, without rewriting that proposal or its estimates.
  • Assignment / checkpoint: native fresh preflights 0a3dc67e-e834-40c1-af32-db9a75e01d8f and 438d2b40-3d90-49ac-bfdf-e31579c8d1db selected the same original root/revision/Decision/source; both starts failed workday_preflight_stale (requests f9c229d2-eefa-4b7f-8acb-92b93303c30a and a5a262bc-a108-4bd7-9504-3f57a528a83a). Neither started. No third unchanged replay.
  • Actor: Codex coordinator under the repository owner's standing recovery instruction.
  • Human authority: @adrianwebb (standing single retained delivery and code-only bootstrap authorization; Platform Architecture author-all-first: continuous owner test matrices after schedule removal #489 pre-launch policy).
  • Agent / capacity provider: coordinator implementation; native API Architect source response response-c17ac32df7e81c0c3495c2a7 corroborated the owning graph-cursor contract. No agent implementation, formal review or release credit claimed.
  • Exact base ref: staging @ 24ac70b, freshly fetched before branch creation and submission.
  • Exact head ref: codex/selected-preflight-authority @ 6fc2795

Contributor mode (select one):

  • Human-authored
  • Agent-assisted under human authority
  • Agent-authored under human authority

Plan

Reproduce the earliest owning freshness failure, change only its semantic comparison, retain actual authority denials, and qualify through the ordinary full Actions path before runtime adoption or a new native attempt. The live problem response did not expose its per-comparison diagnostics: the exact cause of either historical start remains unproven. The focused regression independently proves this defect.

Changes and commits

  • 8a1918b: test-first regression changes only the team graph cursor between preflight and start, reproducing demandSetDigest stale denial.
  • 6fc2795: omit only actingAuthority.graphRevision from demandSetDigest. Keep the cursor in selectedDemands and preflightDigest; keep SDK validation, node revisions, source, Decision, selection, effort, priority, profile, capacity, operator and reservation checks.
  • Add public-service/SQL start and replay coverage with controlled projection/HTTP inputs; changing the selected revision still denies before any write, and stored receipt bytes remain unchanged.
  • Retain exact real TreeDX/PostgreSQL native Decision receipt hash assertions, with the semantic authority expectation in the existing test fixture to respect the file length policy.
  • Bind three new cases to the existing component-boundary scene/verifier registry. No new schema, storage, service, authority path, selector or permission.

Verification

  • Test-first: 1 failed /26 deselected, workday_preflight_stale with demandSetDigest diagnostic. Complete red log SHA256 e3a314348d691292f9a06cf5f581d4377631f7d38d926a9c6eabefd045f70b6d.

  • Focused selection/public-start invocation: 46 passed across 3 files before moving the added integration case into its existing suite for architecture-policy compliance; 28 selection tests and the moved integration case then passed at their final locations. Stored-cursor tampering remains an integrity denial.

  • Strict npm run build:dist passed. npm run check:file-lengths (including architecture policy) and git diff --check passed. Initial policy failures (504/501-line test and 11-file directory) were corrected by using the existing helper and suite; no limit changed.

  • Full API unit/integration/native TreeDX+PostgreSQL prerequisites and component scene qualification: Pending ordinary Actions. Local controlled SQL/HTTP coverage is not native TreeDX, live model execution, settlement, physical teardown or release proof. No local scene was launched.

  • I ran the narrowest relevant package verification and documented any checks that could not be run.

Risk and rollback

The change removes an observation cursor from semantic admission freshness. All selected authority facts and signed receipt bytes remain checked. Previously issued receipts remain immutable; an older digest may require a fresh preflight after adoption. No issued assignment or deadline changes. Roll back through an ordinary revert PR of 6fc2795, qualify it, then adopt through supported trsd. Preserve unrelated services and all retained leases.

Completion summary

Implementation and focused checks complete; full qualification, normal expected-head merge, exact runtime adoption and a successful real Deployment retry remain pending. SDK Architect performed a useful request-changes/correction/approval loop; its Writer later failed on a mutating completion-verification command, and that separate workday closed normally. No active SDK workday is being hot-swapped. Ordinary simulated releases remain 0; implementation ratio stays 0 team/20 coordinator until another actual merge.

AGPL committer authorization

The trusted base workflow checks the provider-authenticated PR author against the repository allowlist. No credential, spoofed identity or per-PR approval claim is supplied.

Submission checklist

  • The change is bounded to the stated work item and target repository.
  • Exact base and head refs are recorded and the branch is ready for review.
  • Verification and compatibility evidence are recorded above.
  • No plaintext secrets, credentials, machine state, or unrelated residue are included.
  • Plan, status, commits, and completion summary form a complete durable record.
  • Rollback or recovery steps are documented and executable.

@adrianwebb
adrianwebb merged commit 36cd4e8 into staging Oct 30, 2026
5 checks passed
@adrianwebb
adrianwebb deleted the codex/selected-preflight-authority branch October 30, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant