docs(track-a): enforce canonical runtime rules for research agents - #324
Conversation
|
Independent promotion review — material fixes required before merge:
Do not mark Ready/merge until these are repaired, exact-head deterministic audit + repository CI are green, and the task is released for independent promotion review. |
|
Follow-up promotion review: finding #2 is not satisfied by merely revising the task acceptance wording. Root |
|
Additional material validator bypass found during independent audit: |
|
Coordinator note after PR-body update: the |
|
Extend the generation-binding fix to the rest of the authoritative admission tuple, so we close this class of bypass in one cycle. For |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78156ef58a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Root-entrypoint wording should match the contract's migrate-on-claim intent, not only runtime mutation: for any Track A ( |
|
Coordination handoff notice for the active implementation session: the owner has issued a new explicit |
|
Equivalent lower-overlap resolution for the remaining universal-entrypoint blocker is acceptable: root |
blakinio
left a comment
There was a problem hiding this comment.
One remaining material entrypoint finding is attached inline; the prior generation/ownership findings are remediated on the current branch.
|
README universal-entrypoint remediation is accepted semantically: root |
blakinio
left a comment
There was a problem hiding this comment.
Universal-entrypoint implementation is accepted; one task-ownership consistency fix remains.
|
Final semantic hardening before merge — two related admission gaps should be fixed in the same cycle:
Please include these with the already-required |
blakinio
left a comment
There was a problem hiding this comment.
One remaining live-observation admission mismatch is attached inline; otherwise the safety tuple fixes are accepted.
|
Clarification for the final claim/resume fix: update the contract itself too, not just README. |
blakinio
left a comment
There was a problem hiding this comment.
One CI-admission binding bypass is attached inline; this is part of the same enforcement objective, not a new scope expansion.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Archive completed Track A research-agent runtime admission governance after #324 promotion and exact-head closeout validation.
Result
Enforces the final Track A canonical-live runtime rules at the normal research-agent entrypoints and adds deterministic CI enforcement for future Track A task/runtime changes.
Universal worker admission
Every Track A (
official-client-re) worker must read the current runtime-admission contract and persist the complete admission record at task claim/resume/checkpoint before substantial Track A work. Static/no-runtime workers useruntime_access: none; live access must be re-admitted before the first runtime operation and after any material authority/identity change.Allowed runtime classes are exactly:
noneread_onlyephemeral_isolatedcanonical_reuse_or_mutationcanonical_bootstrapcanonical_rebindThe universally mandatory
docs/agents/README.md, nested Track A agent instructions, anddocs/agents/prompts/OTCLIENT_TIBIA_RE_CANONICAL.mdroute workers throughdocs/agents/contracts/TRACK_A_RUNTIME_AGENT_ADMISSION_V1.md.read_onlyis live observation only and fails closed unless non-invasiveness, an explicit non-conflicting target/namespace/ownership boundary, andtarget_uniqueness: PROVENare current. Static/artifact research usesnone.Canonical mutation is fail-closed and requires current-task ownership, the authoritative canonical namespace, current Gate A, any required reviewed generation rebind, Gate B, target uniqueness, positive equal current/registration lease generations after rebind, and the final PR #321 cancellation-safe whole-lifetime supervisor. Missing registration routes only to bootstrap; generation mismatch routes only to reviewed rebind; manual registration editing is forbidden; ephemeral runtimes cannot use or alias the canonical namespace.
Current non-claims remain
:98 = UNKNOWN,6082 = UNKNOWN, PID/session =NOT_REGISTERED. Exact client fence remains15.32.df7b29 / 51965216 / e6c244bd39fe2e0632f6f000efd3147164696efa8e901718668e0442325ff7fe.CI enforcement
.github/workflows/track-a-agent-runtime-governance.ymlruns on the universal/nested agent entrypoints, Track A contracts/prompts/active tasks, and runtime-sensitive official-client paths. The policy audit checks the PR diff against the base SHA and passes the current PR head branch into the admission validator.Added/modified Track A tasks must carry the complete admission record. Runtime-sensitive Track A implementation changes require a changed active Track A task whose declared
branchmatches the current PR head; an unrelated/decoy Track A task cannot satisfy the gate. Fresh behavior tests cover positive and negative runtime classes, generation/owner/namespace failures, read-only ambiguity and branch mismatch.This remains migrate-on-next-checkpoint enforcement: historical active tasks are not mass rewritten, but the next claim/resume/checkpoint must persist the admission record before substantial Track A work.
Independent review findings repaired
runtime_owner_task == task_idand authoritative canonical namespace;docs/agents/README.md;nonefor static workers);Safety / ownership
This task itself is
runtime_access: none. No Tibia client launch/login/input/attach/signal/runtime mutation, credentials, canonical runtime-state access, PR #303 runtime-owned surface, Track B mutation, or owner-funded Codex/OpenAI API quota is involved.docs/agents/CHANGELOG.mdremains untouched because open coordinator PR #300 currently changes it.Current code/policy head:
03388d366a91d28fb455ab64bc4bc08d4fd78ca4. Exact-head Track A governance audit and repository CI are the current Draft promotion gates. After they pass with zero unresolved material review findings, the task will be released, PR marked Ready, the new protected Ready-state required-check generation must pass, then #324 will be merged and archived in a separate closeout PR.Task:
OTC-20260816-track-a-agent-runtime-governance.