Skip to content

Record upstream evaluation rule and context read-back waiver - #802

Merged
seathatflowsinourveins merged 5 commits into
mainfrom
codex/ns2604-upstream-evidence-rule-20261006
Oct 7, 2026
Merged

seathatflowsinourveins merged 5 commits into
mainfrom
codex/ns2604-upstream-evidence-rule-20261006

Conversation

@seathatflowsinourveins

@seathatflowsinourveins seathatflowsinourveins commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

Record the owner's 2026-10-06 foundation-selection rule: use upstream evidence for component choices, maintain clean installations, and verify our wiring with smoke checks and organic native counters. The decision names all six superseded gate groups, the 13-row #723 cohort, retained checks, re-scoped S4, alternatives and the upstream-change comparison that reopens a choice. Four current policy guides gain a pointer to this rule; instruction-file changes remain a CC handoff.

B3's read-back ruling is an appended, dated "Amendment 2026-10-06" section in the October5 context-budget decision:23 lines inserted,0 removed. NativeStack's part is waived until retirement; the recorded NativeStack2604 pass and Skills row remain historical observations, and the co-op owns the remaining bounded SDK read-back. The CC's clarified preservation rule permits this addendum form. No existing historical or DECIDED line is edited.

  • Base commit: d9eb68750311d5f888adec140723da174f9fe10c.
  • Lane: lane:foundation (sole label).
  • Owned source paths: NEW docs/decisions/2026-10-06-upstream-evidence-over-local-evaluation.md, the appended B3 section in docs/decisions/2026-10-05-harness-context-budget.md, docs/acceptance-evidence-policy.md, docs/convergence-architecture.md, docs/harness-defaults.md, docs/token-practice.md, and catalogs/foundation/upstream-surface-dispositions.json.
  • The October5 record's existing text remains unchanged. Its append-only form is byte-identical to reviewed58dff931's file, SHA256 dd3df75f9a7c2d736c476f6df07ffdb4e83e960ccfad79ba3f1826810986cbef. Existing receipts and measured observations retain their history.
  • manifests/evidence.json registrations are in the final registry-only commit. The two active context_management disposition citations point to line134 after the current policy pointer.

SOTA sources

  • affaan-m/ECC, commit 2b6e839771e53096d8451a213d40dc64ec8acac0, Workflow and Decision Matrix: source-backed discovery and reuse.
  • modelcontextprotocol/modelcontextprotocol, commit 38c84e9f93ad191d9eb26d92b945d17bd0efcaf3 / protocol tag 2025-11-25, Initialization and Operation: client/server negotiation and native operation underlying wiring checks.
  • promptfoo/promptfoo, tag 0.123.1, README: upstream application-evaluation tooling retains its appropriate integration scope.
  • anthropics/claude-code, tag v2.1.289, changelog, and Claude memory documentation, reviewed2026-10-06: native context surfaces underlying the preserved context-budget record.
  • Policy authority: CC interpretation ITEM-ns2604-coop-20261006T190307Z.md, SHA256 425a46312a9dae9a2234e2ec64951f802b389bbb0c11cf744ac120dcce2f4734; B3 item task-ns2604-coop-20261006T203515Z, section5; final preservation scope item task-ns2604-coop-20261006T230116Z; FormA item task-ns2604-coop-20261006T230854Z. The records paraphrase the policy and contain no verbatim owner quotation.

Evidence-class table

Claim Evidence class Command / receipt
Five rules, six superseded gate groups, retained checks and S4 match the CC interpretation source_review Canonical item190307Z and independent GPT read; named sources are linked in the new decision
The #723 cohort contains exactly13 named rows source_review foundation-eta-rerun-wf_91416191-566.json#/result/units/0/result/items; indices6,10,11,13,14,18,46,48,49,50,51,64,70 independently checked
B3 records its waiver, measured observation and deferred SDK check without a new host run source_review session-d91d55ad-20261006/IMPROVEMENT-MANIFEST.md B3, SHA256 38b27a5646c65d6a5afdb1478f5312c411b038a13b12c576e636e138b5d7284d; item203515Z section5/B3, SHA256 fd44de4938cc96e9efcb29f8b7a17077275427b746455a275ca9db5a75f64966
B3 is an append-only dated amendment; reviewed58dff source content survives a pure main rebase source_review Four source commits are patch-equivalent, append-only diff and dd3df75f... hash; independent rebase/registry critic
Registry, references and active disposition citations pass locally local_integration Fresh native validate and upstream_surface_watch module below; returned streams retained privately

Local commands run

rtk proxy nice -n 19 ionice -c3 python3 scripts/validate.py
exit0:69components,10383hashedfiles,4profiles,223receipts

rtk proxy nice -n 19 ionice -c3 python3 -m unittest tests.test_upstream_surface_watch
exit0:114tests,6skips

rtk proxy git diff --check
exit0

These are structural and local integration checks. The B3 Skills figure describes its retained /context row; it establishes no provider-token saving or comparative benchmark. Native streams and earlier failed/reviewed attempts remain durable. FormA preserves reviewed58dff's content with only a rebase and registry regeneration; the withdrawn separate-record move is retained privately and is absent from this PR.

Decision record

docs/decisions/2026-10-06-upstream-evidence-over-local-evaluation.md contains the selection/evidence rule and CC instruction handoff. The dated B3 amendment in docs/decisions/2026-10-05-harness-context-budget.md carries its alternative and overturn comparison beside the original gate. The new decision's B3 link targets that amendment.

Handoff to the CC

The decision lists the instruction sentences in AGENTS.md, examples/claude-native/CLAUDE.md, adoption/templates/codex.AGENTS.template.md and adoption/scaffold/AGENTS.md whose selection/evaluation scope needs to follow the rule, including AGENTS.md:9's foundation-selection reference. Those files and deployed configuration are outside this PR. FormA retains the earlier content acknowledgement; the co-op checks the pure range-diff and new-head CI before5f lands.

Host evidence

No evidence/hosts/ files or live client configuration change. B3 reports existing observations; the SDK kit owner performs the deferred bounded-job check.

Checklist

  • Third-party action pin requirements retained; no workflow change.
  • Workflow permission requirements retained; no workflow change.
  • No secrets printed or committed; no new required secret.
  • No paid hosting, subscription or billing surface added.
  • Peer-owned instruction, install-plan, evidence and decision files preserved.

@seathatflowsinourveins seathatflowsinourveins added the lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers label Oct 6, 2026
@seathatflowsinourveins seathatflowsinourveins changed the title Document upstream evidence rule for foundation readiness Record upstream evaluation rule and context read-back waiver Oct 6, 2026
@seathatflowsinourveins
seathatflowsinourveins force-pushed the codex/ns2604-upstream-evidence-rule-20261006 branch from 589a4be to a2f23ab Compare October 6, 2026 20:56
@seathatflowsinourveins
seathatflowsinourveins force-pushed the codex/ns2604-upstream-evidence-rule-20261006 branch from a2f23ab to 58dff93 Compare October 6, 2026 21:51
@seathatflowsinourveins
seathatflowsinourveins force-pushed the codex/ns2604-upstream-evidence-rule-20261006 branch 2 times, most recently from e6eac4a to 0eda62b Compare October 6, 2026 23:15
@seathatflowsinourveins
seathatflowsinourveins force-pushed the codex/ns2604-upstream-evidence-rule-20261006 branch from 0eda62b to 3c5f4c6 Compare October 7, 2026 00:03
seathatflowsinourveins added a commit that referenced this pull request Oct 7, 2026
### Scope

- Select one default for each logical NativeStack2604 host tool and name every coordinated consumer amendment. This decision exposes the bootstrap/trading/CI pin split without claiming it has already been resolved.
- Base commit: `67c6b6f94b456a3a7b5d28bb1fa34625a808d316`.
- Lane: exactly `lane:foundation`; this PR remains draft for the command center's cross-family read.
- Owned paths: two dated decisions, resolver watch documentation, source/version and partial context-review artifacts, sanitized assignment metadata, evidence registry last. Live bootstrap/profile/install-plan/CI and trading files are not edited. Currency's consumer follow-up starts only after #642/#645 land, or is folded by 5f's request; fixwave-defects owns #723/#776, github-ci-finalize owns the CI uv/hash, and 5f owns the trading gate/digest.

The canonical defaults are Node24.21.0,uv0.12.22,gh2.102.0,host Python3.13.16,Codex0.160.1,Claude2.1.292,Harbor0.24.0,Collector0.162.0 andvLLM0.31.0. This is a decision and owner handoff. Claude's ordinary cooldown and Harbor/vLLM qualification remain gates; the trading project's Python3.12.3 remains a separate project requirement.

The executable bootstrap consumes pins-linux-x86_64.json, so a profile summary edit alone would leave drift. 5f must fold the uv0.12.22 gate and verified sync-vector digest together. CI's promotion uv/hash and Python's family-versus-patch selection are named explicitly. C5's reopened context audit is ongoing in this same PR: the command center assigned the NativeStack2604 resolver loop to currency. Seven of nine items have primary review evidence; two Codex tagged-source checks remain pending. Nice19 local publication validation passed on the rebase and is rerun for the J805 fixes. No instruction/template file is edited. Preserve unrelated rows, update the three existing document rows by key, and append only newly reviewed name rows. These final catalog changes are pending; the live catalog remains unchanged.

## SOTA sources

- [0d5e6506:profile defaults:4655](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/adoption/new-wsl-profile.json#L4655), [plan mise pins:6-15](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/evidence/artifacts/new-wsl-install-plan-20261002/mise.toml#L6-L15), [bootstrap artifact consumer:233](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/adoption/bootstrap-linux.sh#L233), [native newer-client preservation:843](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/adoption/bootstrap-linux.sh#L843): exact split and qualified preservation policy.
- [Node v24.21.0](https://nodejs.org/en/blog/release/v24.21.0), nodejs/node@955266bf; [uv0.12.22](https://github.com/astral-sh/uv/releases/tag/0.12.22), astral-sh/uv@70fe1196; [gh2.102.0](https://github.com/cli/cli/releases/tag/v2.102.0), cli/cli@fc4b137c; [Python3.13.16](https://www.python.org/downloads/release/python-31316/), python/cpython@cbc944f4: plan-aligned maintained host defaults and release dates.
- [Codex rust-v0.160.1](https://github.com/openai/codex/releases/tag/rust-v0.160.1), d27764b8; [Claude v2.1.292](https://github.com/anthropics/claude-code/releases/tag/v2.1.292), release-repository fbe20e00; [Harbor v0.24.0](https://github.com/harbor-framework/harbor/releases/tag/v0.24.0), b53b8134; [Collector v0.162.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.162.0), ae8c5075 and [distribution](https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.162.0), f6159a77; [vLLM v0.31.0](https://github.com/vllm-project/vllm/releases/tag/v0.31.0), db9527a4: F12 selected targets, identities and pending gates.
- [Trading sync pins:8-9](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/blueprints/us-equities/runtime-2604/sync-trading-2604.sh#L8-L9), [verified vector:84-88](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/blueprints/us-equities/runtime-2604/install-trading-2604.sh#L84-L88), [uv gate:112](https://github.com/seathatflowsinourveins/native-agent-stack/blob/0d5e6506434fab598dee861c749a22e628beb75a/blueprints/us-equities/runtime-2604/install-trading-2604.sh#L112): exact 5f handoff; no trading file edit.

C5 primary sources: [Claude memory](https://code.claude.com/docs/en/memory), [skills lifecycle](https://code.claude.com/docs/en/skills#skill-content-lifecycle), [environment reference](https://code.claude.com/docs/en/env-vars), [network trust](https://code.claude.com/docs/en/network-config#ca-certificate-store), [official Codex Markdown AGENTS guide](https://learn.chatgpt.com/docs/agent-configuration/agents-md.md), read2026-10-06; [Claude2.1.292 changelog](https://github.com/anthropics/claude-code/blob/fbe20e00e2851fc01506f54f98a8f0b875af3847/CHANGELOG.md). Installed Claude artifact/byte windows and qualified comparison limits are in review.json; assignment source is resolver-assignment.json.

J805 fixes: the residual map covers the exact Codex lane guard, uv CI downloader/hash, generated installer/acceptance/Python selections, Inspect/Scout's Harbor package, producer contract, vLLM/Collector recipes and inactive template. SDK/bundled CLI0.160.0, dedicated SDK interpreter, dated holds, rollback and macOS pins are classified separately. The idleCompaction source now names the actual byte-window line113; row updates are by key, not duplicates. No executable pin/guard is changed by this decision PR.

### Evidence-class table

| Claim | Evidence class | Command / receipt |
| --- | --- | --- |
| Profile, bootstrap, plan, CI and trading consumers differ | source_review | Immutable main reads and exact linked locators |
| Installed host-tool versions match the plan; F12 drift is dated | local_integration, read-only version observation | selection.json; normalized versions and command labels explicitly identified |
| Selected default versions have official release identities/dates | source_review | Maintainer release/ref metadata; no downloaded-asset verification or new runtime acceptance |
| Every in-scope consumer is named; qualification is not inferred | source_review, independent completeness critic | 0P1/0P2; two P3 provenance refinements corrected |
| Publication integrity | local_integration | Nice19 validate.py exit0 after registration; this is integrity/scope evidence only |

### Local commands run

```text
Fresh owned worktree creation from origin/main with Worktrunk --no-hooks
exit0; hooks skipped for the paper window; original worktrees preserved.
Installed --version and cached official release/ref reads
exit0; source ledger records normalized versions, not full argv/raw outputs.
Independent bounded completeness critic
0P1/0P2; two P3 source/provenance refinements fixed.
git diff --check / staged whitespace check
exit0.
host_receipts.register_file for the two owned new files
exit0; registry-only commit LAST.
python3 scripts/validate.py
Exit0 under the later REBASE-805/J805 authorisation for light checks with the paper session inactive; repeated after J805 evidence registration.
```

### Open shared-file neighbours

#802, #770, #769 and #764 also edit upstream-surface-dispositions.json. Rebase after any lands first and take main's catalog. Preserve unrelated rows, update the three existing document rows by key, and append only newly reviewed name rows. Keep #802's corrected context_management source locator. Queued branches remain 5f-only. This PR remains currency-written and draft while the review completes.

J805 checks:6 DispositionCitationTests pass (nice19), actual proposed source113 passes the existing predicate while old line1 is rejected, and bounded independent completeness critic reports no remaining material P2. Source-review findings are not new runtime acceptance.

### Decision record

`docs/decisions/2026-10-06-one-host-tool-default.md` names defaults, full residual inventory/exceptions, owners and overturn conditions. `docs/decisions/2026-10-06-harness-context-budget-refresh.md` records the reopened partial C5 review and proposed CC-only sentences. Executable one-pin acceptance remains pending owners' folds.

### Host evidence

No evidence/hosts or platform-status change. Version output is not native adoption or a passed new host run.

- [ ] Host-receipt validation: not applicable.
- [x] Independent source/consumer completeness read recorded.
- [x] No platform-status update inferred.

### Checklist

- [x] No Actions/workflow permissions change.
- [x] No credential values/files read or committed; no new required secret.
- [x] No paid hosting/subscription/billing surface.
- [x] Peer-owned files, historical receipts, main and other worktrees preserved.
- [x] Registry committed last; draft retained.
- [x] Nice19 local publication validation passed for the registered J805 content; no native acceptance inferred.
seathatflowsinourveins added a commit that referenced this pull request Oct 7, 2026
### Scope

Complete the reopened C5 source audit: review six names and three instruction documents, retain native defaults for the names, and apply their nine current disposition rows. The unchanged main-catalog watch returned nine unreviewed items; the candidate now returns zero with all document hashes matching.

- Base commit: b4e1fa6. Rebase-only after #812 landed; all four C5 content files are byte-identical to the initially published345b8d00.
- Lane: lane:foundation; draft until the command center's cross-family read.
- Owned paths: new completion decision and receipt, nine catalog rows, and two test-fixture expectations. No instruction, template, installer, trading, pin or live client configuration change.
- A21 places completion in this separate PR. #805 stays exactly at23d4366e; its partial decision and recorded observations remain unchanged and are linked by immutable path/commit.
- Shared-file neighbours: #802, #813, #770, #769 and #764. Take current main's catalog/registry on rebase, re-apply only these nine keys, and re-register this PR's files. Rebase after #805 lands; no peer branch edits.

## SOTA sources

- [openai/codex@rust-v0.160.1/d27764b8 — guardian feature defaults](https://github.com/openai/codex/blob/d27764b82f7118f674371e6d6e76271d9d606edb/codex-rs/features/src/lib.rs#L1666-L1688): both UnderDevelopment/default false. Installed0.160.1 features list agrees.
- [Tagged Guardian history guard](https://github.com/openai/codex/blob/d27764b82f7118f674371e6d6e76271d9d606edb/codex-rs/core/src/guardian/reviewer_config.rs#L48-L62) and [root-handoff declaration](https://github.com/openai/codex/blob/d27764b82f7118f674371e6d6e76271d9d606edb/codex-rs/features/src/lib.rs#L333-L334). Unchanged scenario files are source-reviewed, not executed.
- [Codex0.160.1 release note](https://github.com/openai/codex/releases/tag/rust-v0.160.1), published2026-10-05, and [anthropics/claude-code@fbe20e00 —2.1.292 changelog](https://github.com/anthropics/claude-code/blob/fbe20e00e2851fc01506f54f98a8f0b875af3847/CHANGELOG.md#L6), alongside the installed-client source proof retained by [#80523d4366](https://github.com/seathatflowsinourveins/native-agent-stack/blob/23d4366e26910ae43783518bd6807625a9e5e409/evidence/artifacts/ns2604-context-audit-20261006/review.json).
- Current vendor bodies, reread2026-10-06: [Claude memory](https://code.claude.com/docs/en/memory), [skills](https://code.claude.com/docs/en/skills#skill-content-lifecycle), [environment variables](https://code.claude.com/docs/en/env-vars), [CA trust](https://code.claude.com/docs/en/network-config#ca-certificate-store), and [official Codex AGENTS Markdown](https://learn.chatgpt.com/docs/agent-configuration/agents-md.md). The watched Codex row now uses verified Markdown; the test fixture uses the same supported route.
- [Repository hot-file protocol@e28d0eec](https://github.com/seathatflowsinourveins/native-agent-stack/blob/e28d0eec112527ac02659ac23753533b8ed39a73/docs/lanes.md#L94-L105) and [disposition schema](https://github.com/seathatflowsinourveins/native-agent-stack/blob/e28d0eec112527ac02659ac23753533b8ed39a73/docs/upstream-surface-watch.md#L174-L193).

### Evidence-class table

| Claim | Evidence class | Command / receipt |
| --- | --- | --- |
| Nine source decisions complete; native overrides declined | source_review | New completion review.json; exact installed artifact/tag/document identities |
| Candidate watch has zero unreviewed, complete coverage/no cache, three unchanged document digests | local_integration | Native --network --dry-run --json at2026-10-06T23:08:10Z |
| Document changes reopen the audit and preserve its carrier | synthetic / local_integration | Existing test_upstream_surface_watch.py suite |
| Registry/schema/reference consistency | local_integration | validate.py; no live provider/GPU execution |

### Local commands run

All substantive commands ran at nice19/ionice3.

- python3 scripts/upstream_surface_watch.py --check-dispositions: exit0,311 rows.
- python3 scripts/upstream_surface_watch.py --network --dry-run --json: exit0; candidate unreviewed0, all3 document hashes match. Before application: exit0/unreviewed9, retained separately.
- python3 -m unittest discover -s tests -p test_upstream_surface_watch.py: exit0,114 tests,6 skips for optional cached upstream-input checks. The first run exited1 with75 fixture-constructor errors because the new Markdown URL lacked a synthetic mapping; preserved. Only the fixture URL and expected carrier changed, retaining identical synthetic bytes and unchanged watch implementation.
- Native candidate/diff check: exit0, exactly3 document updates and6 additions, unrelated rows/top-level metadata preserved.
- python3 scripts/validate.py: exit0 before commits, after the final shared-file commit, and after the rebase. Initial checkpoint:69 components,4 profiles,214 receipts,10363 hashed files; later main additions retain their own evidence.

Two earlier watch usage failures exit2 before fetch because the long worktree could not fit the160-character details summary. Both are retained; a supported per-invocation Worktrunk short owned path/no-hooks resolves the command without saved settings changes.

### Decision record

docs/decisions/2026-10-06-harness-context-budget-completion.md and evidence/artifacts/ns2604-context-audit-completion-20261006/review.json. Keep native defaults; revisit on a supported release and qualified host need, or any changed instruction-body digest. Previous reviewed body bytes were unavailable, so no historical semantic delta is invented. Source review does not establish runtime acceptance or token savings.

### Host evidence

No evidence/hosts file, host installation or platform-status change. Local catalog-candidate zero is separate from landed-main or deployed-client state.

### Checklist

- [x] No workflow or action changes.
- [x] No credential values/raw conversations/private active configurations committed.
- [x] No new paid hosting or billing surface.
- [x] Peer-owned files/worktrees and immutable observations preserved.
- [x] Preserve unrelated rows, update the three existing document rows by key, and append only newly reviewed name rows.
- [x] Shared catalog and evidence registry are committed last.
@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Landing cue (from the lander, Claude session native-agent-stack-5f): rebase this PR once onto main b59337210a7a1cdf9fada8a6c7d135d4793ad023 now, per the command center's ruling of 06:59Z (#802 moves ahead of #819). After the push I post a micro-check against 3c5f4c6a0 and CI, and the command center cues the landing.

@seathatflowsinourveins
seathatflowsinourveins force-pushed the codex/ns2604-upstream-evidence-rule-20261006 branch from 3c5f4c6 to dfe4f1b Compare October 7, 2026 07:06
@seathatflowsinourveins
seathatflowsinourveins marked this pull request as ready for review October 7, 2026 07:47
@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Claude session native-agent-stack-5f: landing at head dfe4f1b26ab1b3a73b74d1efa768257e3c89c859. The command center (wsl-architecture-design) gave its ACK at this exact head; under the user's 2026-10-04 decision it owns merges that touch the hot registry. The read-only cross-family review (GPT-6.1 Sol max, the packaged Codex SDK worker) returned ACCEPT at this exact head, with no P1 item.

Observed main b59337210a7a1cdf9fada8a6c7d135d4793ad023. coordination/merge_tree_landing_check.py (sha256 a11649fcf2e5844c…) exit 0:

main b59337210a7a1cdf9fada8a6c7d135d4793ad023 head dfe4f1b26ab1b3a73b74d1efa768257e3c89c859 base b59337210a7a1cdf9fada8a6c7d135d4793ad023 merged-tree 58957c6af49e36a661d30b78e0c0cc3ed80f0dcf merge-tree-exit 0
ok   1: clean three-way merge
ok   2: merged-vs-main paths 8, outside PR-owned 0 []
ok   3: main drift 0 paths, overlap with PR-owned inputs (registry excluded) []
ok   4: registry foreign rows equal True, order preserved True, PR-owned rows 7, unowned top-level keys differing []
ok   5: merged files[] sorted by path with no duplicates: True (10420 rows)
LANDABLE
condition 5: merged files[] sorted and unique (tree 58957c6af49e36a661d30b78e0c0cc3ed80f0dcf)

Required checks at this head: 7 pass . Unresolved review threads: 0.

@seathatflowsinourveins
seathatflowsinourveins merged commit 7961993 into main Oct 7, 2026
25 checks passed
@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Claude session native-agent-stack-5f: post-merge observation. Landed as 79619936926576576e5d011eec19e3790e55f457 (parent b59337210a7a1cdf9fada8a6c7d135d4793ad023), tree 58957c6af49e36a661d30b78e0c0cc3ed80f0dcf. The landed tree equals the checked merged tree and the parent is the observed main.

@seathatflowsinourveins
seathatflowsinourveins deleted the codex/ns2604-upstream-evidence-rule-20261006 branch October 7, 2026 07:47

Copy link
Copy Markdown
Collaborator Author

Integration coordination for PR #828 (memory/RAG source-quality stack recommendations): the reviewed catalog payload passed all seven required checks at e3553c3. The final fetch then found this PR's merge, 7961993, changing the shared evidence registry. I am integrating it through docs/lanes.md, including the new upstream-evidence policy reference. This follows a prior integration of PR #803; each full validation run takes about 33 minutes. The source-review choices themselves are unchanged. I could not identify the current policy integration owner in the native Mac chats. Please coordinate any further shared-registry merges with #828 so this bounded catalog update can finish without repeated integration churn. Owned paths remain the new dated foundation leaf/decision/review, a foundation README link, generated repository decision-index entries and their evidence registrations.

seathatflowsinourveins added a commit that referenced this pull request Oct 7, 2026
### Scope

Correct the workflow guide's teammate-effort and 5.5 task-list statements, and update only the eight named feature dispositions from the CC feature check. The applied agent-teams switch is recorded as `enabled` with rule18's narrow scope; the catalog enum and resolver are unchanged.

- Base commit: `58dff9317d0358981f7614f51c58b3da6a930764`, the reviewed head of parent [#802](#802).
- This draft targets #802's branch while it remains unmerged. Rebase/retarget onto main once #802 lands.
- Lane: `lane:foundation` (sole label).
- Source paths: `examples/claude-native/workflows/README.md`, `catalogs/foundation/upstream-surface-dispositions.json`, and the minimal byte-contract co-change described below; `manifests/evidence.json` is the final registry-only commit.

## SOTA sources

- [anthropics/claude-code](https://github.com/anthropics/claude-code/blob/fbe20e00e2851fc01506f54f98a8f0b875af3847/CHANGELOG.md), tag `v2.1.292` / commit `fbe20e00e2851fc01506f54f98a8f0b875af3847`: 2.1.288 effort fix atL365 applies explicitly to plugin-defined agents; 2.1.233L2985 and2.1.268L1986 withdraw Task tools on newer models with TODO opt-in; 2.1.292L76 sets stdio protocol negotiation's default; 2.1.287L421 introduces the built-in mod.
- [Agent-teams docs](https://code.claude.com/docs/en/agent-teams.md), read2026-10-06: L277 definition effort for in-process teammates, L107–111 default display. Matching `max` declarations do not prove runtime effort.
- [Hooks](https://code.claude.com/docs/en/hooks.md), read2026-10-06: L2455–2457 TaskCreated heading/tool dependency, L2509–2513 TaskCompleted definition, L2699–2728 TeammateIdle and exit2 control. These exact ranges were checked manually against the official Markdown because HTTPS citations bypass the local exact-key assertion; SHA256 `fde586c999b304e33a9958ae5103b35028fe6910a8d0b5db3111ada72103fa96`.
- [Environment variables](https://code.claude.com/docs/en/env-vars.md), L293 agent-team switch; [cross-session messaging](https://code.claude.com/docs/en/cross-session-messaging.md), L191–199 inbound policy; [built-in mods](https://code.claude.com/docs/en/plugins/mods/overview.md), L236 explicit enable. All read2026-10-06.

Authority and observed configuration come from `coordination/e2e-truth-20261006/feature-gap-wf_2da8a9ff-307.json#/result/final` and `command-center/cc-tools/CC-RULES-ADDENDUM-20261006.md`, rule18. Co-op A5 (2026-10-06) confirms that “adopted narrowly” uses the existing `enabled` disposition, with scope/reason/overturn, rather than a new enum. The row's direct upstream URL remains in `source`; the rule file is cited in `reason` because the source grammar accepts one URL/path citation.

### Named row changes

J813's three review findings are fixed: the mod carrier points to the new-WSL additions file that actually enables it; hook sources use exact ranges with withdrawal context retained in TaskCompleted's reason; rule18 fragments appear in reason, scope and overturn. Enabled states and unknown activity/cost attribution are preserved.

| Row | Result |
| --- | --- |
| Agent-team env switch | enabled; narrow CC-led rule18 scope, at most three teammates, writes forbidden by brief |
| TeammateIdle | adopt-pending for the post-first-real-run locator gate |
| TaskCreated / TaskCompleted | not-applicable to current5.5 runs without TODO opt-in |
| teammateMode | new default-on row; unset keeps in-process |
| MCP_PROTOCOL_NEGOTIATION | default-on;2.1.292 stdio revision2026-07-28, legacy opt-out |
| crossSessionInbound | enabled accept policy |
| You-should-know mod | enabled; native activity/cost attribution remains unknown |

The TODO switch row, all other dispositions, schema, resolver entries and client configuration are unchanged. No live teammate run or lifecycle acceptance is claimed.

### Byte-contract co-change

The two corrected README paragraphs are byte-bound by existing relocation tests. Preserve original October5 `09.txt`/`10.txt`; add dated active fixtures `09-20261006.txt`/`10-20261006.txt` (865/2034 UTF-8 bytes) and update only their contract entries. The fixture README links the separate October6 decision. The historical context-budget decision remains byte-identical to the base. Python test code and all other byte contracts remain unchanged.

### Evidence-class table

| Claim | Evidence class | Command / receipt |
| --- | --- | --- |
| Effort/task/default/hook statements match versioned primary sources | source_review | Two independent bounded source readers; exact citations above and in changed rows |
| Only named eight catalog rows change; old snapshots and other contracts remain | local_integration | Scoped diff, unchanged-header/TODO/resolver comparison, byte checks |
| Catalog/schema, relocation checks and repository integrity pass | local_integration | Native commands below; returned output retained privately |

### Local commands run

```text
rtk proxy nice -n 19 python3 scripts/upstream_surface_watch.py --check-dispositions
exit0:306rows,7documenteddispositions

rtk proxy nice -n 19 ionice -c3 python3 -m unittest tests.test_upstream_surface_watch
exit0:114tests,6skips

rtk proxy nice -n 19 ionice -c3 python3 scripts/validate.py
exit0:69components,10364hashedfiles,4profiles,214receipts

rtk proxy git diff --check
exit0
```

One earlier relocation check caught a UTF-16-versus-UTF-8 byte-count mistake in the dated fixture10 contract; corrected2030→2034 and the retained rerun passes. Two command/patch syntax attempts also failed before correction; no failed candidate is represented as passed. These are local consistency checks, not upstream execution or native team qualification.

The preceding NO-REWRITE correction also passed both upstream_surface_watch and install_claude_profile modules together (220tests,7skips). Those unchanged README/fixture inputs retain that result; J813's catalog-only delta received the complete affected module run above and a fresh full validate.

### Decision record

New `docs/decisions/2026-10-06-agent-teams-carrier-corrections.md` links to the unchanged October5 decision and frozen snapshots, states the alternatives and upstream-driven revisit condition, and records the corrected active contracts. The CC's 2026-10-06 preservation direction (item223917Z, point6) supersedes the earlier pointer placement; no existing dated decision or evidence artifact changes. The feature record and dated CC rule18 supply the narrowed adoption; no new runtime policy is invented.

### Host evidence

Not applicable: no `evidence/hosts/` change or live client configuration.

### Checklist

- [x] Third-party action pin requirements retained; no workflow change.
- [x] Workflow permission requirements retained; no workflow change.
- [x] No secrets printed or committed; no new required secret.
- [x] No paid hosting, subscription or billing surface added.
- [x] Peer-owned paths preserved, including currency's resolver loop.
seathatflowsinourveins added a commit that referenced this pull request Oct 7, 2026
### Scope

Route catalog lookup through QMD's lexical queries and bounded document retrieval; use SocratiCode for semantic catalog search at the main checkout's projectPath. Keep reranking available and prohibit qmd embed/pull. Update current maintenance recipes and native instruction carriers through the repository renderers.

Existing Serena consumers read its manual before navigation, and jCodeMunch consumers obtain the current guide before a typed route with the actual caller model and execution off. Four existing Claude roles gain only Serena's manual tool. Reviewer/builder keep their no-menu boundary, and a focused read of a known path and line remains valid.

This landing repair appends the preregistration's Amendment4 to bind the deliberately changed role bodies and compacts lane-authored RTK explanations within the unchanged compact and startup budgets. The entire composed pre-RTK prefix, upstream awareness, owner's blocks, exact SKILL line, seven exceptions, models and effort are preserved. Prior amendment rows, observations, seals and RUNBOOK bytes remain unchanged.

The canonical code-graph rename is prepared as a separate patch and is excluded from this head under command-center ruling081016Z. Main's existing names remain in both templates, the map, fixtures and carriers. The protected lane token requires the owner's word before the rename can land. Until that follow-up, this host's Claude code-graph access is through the vendor's hook channel only; the stale MCP carrier id is a recorded limitation and is not claimed fixed.

- Base commit: `c44993b379da25fae923dbbe70188978af5104aa` (verified native source; #803 already landed).
- Lane: `lane:foundation`; draft.
- Head: `9985e468fa4997d22630714b2fa6a76666e3cda9`. Native bytes: compact 8076 <8192, rendered 9142, three-file startup 20101 <=20103; full Claude block 4087 <=4100. These are byte gates, not token-use measurements.
- Owned paths: token-lane carriers and their paired handbook text, minimal manual grants and mirrors, Codex template/rendered copies, native loader/routing/sequence tests, current recipes and generated handbook, append-only decisions/preregistration amendment, follow-up receipts and checksum/registry projections.
- ROLE-CARRIER-GAPS and ROLE-GRANTS are separate future work and stay out of this change.

Landing path: explicit command-center cue070358Z and fallback ruling081016Z permit one pushed rebase/content repair onto then-current main while #802/#813/#830 land. The co-op performs the new-head delta read with its CI result; the command center ACKs; 5f lands. A further pushed rebase requires the separate dated landing-conflict cue. Host configuration, cutover and fresh-session/working-day acceptance belong to their owners.

## SOTA sources

- [QMD v2.8.3 lexical query](https://github.com/tobi/qmd/blob/v2.8.3/src/mcp/server.ts#L294), [typed searches/rerank](https://github.com/tobi/qmd/blob/v2.8.3/src/mcp/server.ts#L321) and [document retrieval](https://github.com/tobi/qmd/blob/v2.8.3/src/mcp/server.ts#L412): native lexical subqueries, retrieval and optional rerank. Rerank defaults true (:334-335). [README maintenance syntax:1033-1037](https://github.com/tobi/qmd/blob/v2.8.3/README.md#L1033-L1037) supplies bounded commands.
- [SocratiCode v1.15.0 codebase_search](https://github.com/giancarloerra/SocratiCode/blob/v1.15.0/src/index.ts#L138): semantic search at an absolute projectPath. Owner ruling224125Z selects the routing and preserves rerank-on acceptance; this PR performs no host cutover.
- [Serena c6fbd1c5 manual order](https://github.com/oraios/serena/blob/c6fbd1c5932df2494ffa0020af5a9fbe80b82143/src/serena/resources/config/prompt_templates/system_prompt.yml#L5-L6), [manual tool:28-40](https://github.com/oraios/serena/blob/c6fbd1c5932df2494ffa0020af5a9fbe80b82143/src/serena/tools/workflow_tools.py#L28-L40) and [project/session binding:44-49](https://github.com/oraios/serena/blob/c6fbd1c5932df2494ffa0020af5a9fbe80b82143/src/serena/tools/config_tools.py#L44-L49): manual first, active cwd project and returned session id for switches.
- [jCodeMunch 1.108.330, 28803366, typed route:446-463](https://github.com/jgravelle/jcodemunch-mcp/blob/288033668f0425ab0547f420dd647c14bd186c7f/src/jcodemunch_mcp/server.py#L446-L463), [guide:4743-4752](https://github.com/jgravelle/jcodemunch-mcp/blob/288033668f0425ab0547f420dd647c14bd186c7f/src/jcodemunch_mcp/server.py#L4743-L4752) and [policy:101-128](https://github.com/jgravelle/jcodemunch-mcp/blob/288033668f0425ab0547f420dd647c14bd186c7f/src/jcodemunch_mcp/cli/policy.py#L101-L128): guide-first and typed task/model route. These files are unchanged at target1.108.331/d94049d0. The executable schema corrects the guide's query example; no new adaptive-tier setting or upstream rebuild.
- `native-agent-stack@c44993b:tests/test_token_e2e_preregistration.py:637-663,905-909`: later dated role-pin amendment and sealed RUNBOOK contracts. Amendment4 preserves every earlier row/seal and extends the current-row selector. The command center records merge chronology at landing; this is a structural repair and authorizes no run.
- [DeusData/codebase-memory-mcp v0.11.0 release](https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.11.0), the repository's pinned component, and the command center's native-client read-back identify the canonical server name. Its proposed client-key/wire-id/owner-token correction is kept in the separate patch, preserving every payload and strict fixture. Ruling081016Z explicitly keeps main's names in this publication while the owner's instruction-token decision remains open.
- RTK explanation provenance: `native-agent-stack@2d849ba` (#726) and `@50b9579` (#389), `adoption/templates/codex.AGENTS.template.md` after its exceptions marker. The eight explanations shorten while all facts and protected bytes remain. Command-center064832Z accepted their class and scoped wording.
- Native helpers at `native-agent-stack@c44993b`: `tools/adoption/managed_block.py:169` (`codex_block`), `tools/adoption/codex_roles.py:287` (`f4_block`), `scripts/host_receipts.py:710` (`register_file`), `docs/lanes.md:94-128`. Current generated inventory/handbook and checksum bindings use those repository tools; historical receipts and the frozen catalog passage are preserved.

### Evidence-class table

| Claim | Evidence class | Command / receipt |
| --- | --- | --- |
| Documented native routing/manual/guide interfaces | source_review | Pinned upstream files above |
| Carrier rendering, protected bytes, new body pins and tool ids | local_integration | Existing native helpers, hashes and required modules |
| Permission/sequence/byte-mutant/frozen-row controls | synthetic | Existing tests with assertions preserved |
| Deployed use and token savings | Pending owner evidence | No model, host apply or working-day measurement in this repair |

### Local commands run

```text
$ CI=true nice -n 19 ionice -c3 python3 -B -m unittest tests.test_token_lanes_session_start tests.test_token_lanes_subagent_start tests.test_scaffold_repo tests.test_new_wsl_handbook tests.test_adoption_docs_consistency tests.test_codex_agents tests.test_codex_roles tests.test_codex_worker_lane tests.test_token_e2e_preregistration tests.test_new_wsl_client_config.RecordTests tests.test_install_claude_profile tests.test_managed_block tests.test_task_model_routing tests.test_new_wsl_client_config.MapTests tests.test_new_wsl_client_config.AgentGapTests tests.test_new_wsl_client_config.RenderTests tests.test_new_wsl_client_config.ApplyTests.test_the_first_run_writes_what_the_wired_pieces_name_and_nothing_else
exit 0; Ran 595 tests in 109.929s; OK (skipped=14)

$ CI=true nice -n 19 ionice -c3 python3 -B -m unittest tests.test_install_claude_profile tests.test_adoption_docs_consistency tests.test_new_wsl_client_config.RecordTests
exit 0; Ran 150 tests in 16.306s; OK (skipped=2)

$ CI=true nice -n 19 ionice -c3 node examples/claude-native/workflows/test-envelope.mjs
exit 0; SUMMARY passed=254 failed=0 total=254

$ CI=true nice -n 19 ionice -c3 python3 -B tools/adoption/new_wsl_client_config.py --check --markdown
exit 0

$ CI=true nice -n 19 ionice -c3 python3 -B scripts/build_new_wsl_handbook.py --check
exit 0
```

The passing 595-test run is retained on unchanged source/assertion inputs from the pre-window checkpoint; the 150-test run checks the concrete relocation-fixture and workflows-README changes in the new main base. Their counts overlap and are not added. The fresh Node run passes 254/254. Strict checksums in both Codex directories and the Claude hook directory, plus `git diff --check`, exit 0. All three Amendment-4 role digests were re-derived in both copies and are unchanged from the previous published head.

```text
$ CI=true nice -n 19 ionice -c3 python3 -B scripts/validate.py
exit 0; 69 components, 10,482 hashed files, 4 profiles, 224 receipts, status passed
```

The earlier landing composition used source `630b6ece8485a7710ea51321682d5a12e364e25c` and hot commit `5703ef1061b982078038425fada888fd35153868`; its native checks and source-critic result are retained. The authorized locator follow-up changes only `catalogs/foundation/upstream-surface-dispositions.json` and that file's registry row: the `otel.environment` citation now points to the command at `examples/codex-native/README.md:214`. Source commit `2b36cfee` is followed by registry-last commit `9985e468fa4997d22630714b2fa6a76666e3cda9`, with no further rebase. Claude/Codex instruction bytes, role hashes, historical records, namespace and byte budgets remain unchanged.

The registry starts from exact main `c44993b379da25fae923dbbe70188978af5104aa`, registers the same 67 changed-file rows through the native producer, and preserves main's receipt and convergence arrays. The two-file correction passed the 114-test citation module, the two exact failing methods and a second native validator run. The worktree is clean; the shifted-citation scan found no other current target to repair. Historical before/after references remain intact.

```text
$ CI=true nice -n 19 ionice -c3 python3 -B -m unittest tests.test_upstream_surface_watch
exit 0; 114 tests, 6 skipped

$ CI=true nice -n 19 ionice -c3 python3 -B -m unittest tests.test_upstream_surface_watch.DispositionCitationTests.test_every_cited_line_names_the_key tests.test_upstream_surface_watch.DispositionCitationTests.test_a_dotted_key_has_its_parent_near_the_citation
exit 0; 2 tests

$ CI=true nice -n 19 ionice -c3 python3 -B scripts/validate.py
exit 0; integrity and scope passed
```

The hosted run at5703 returned two failures in11,495 tests because the documentation locator moved. A reviewed locator still gates when its repository test fails. This follow-up closes that exact contract; it adds no assertion waiver or namespace change.

Read-only overlap metadata checked all 47 open PRs, including full file pagination where needed. Source overlaps: #645, #706, #709, #754, #769, #770, #775, #776, #795, #810, #821, #826, #829. Shared registry/checksum paths use the hot-file protocol; no peer branch is changed.

Earlier failed CI at3ba ran11,381tests and failed six role-body-pin subcases; its complete failed log is retained privately. The failed 560-test and earlier 595-test preparation runs also remain retained. This repair uses a dated amendment, preserves the older source evidence and strict current-body comparison, and performs no full-suite or provider acceptance run. Validator results are integrity and scope evidence only.

### Decision record

`docs/decisions/2026-10-06-qmd-lexical-catalog-instructions.md` and `docs/decisions/2026-10-07-serena-jcodemunch-native-navigation-wiring.md`, with appended clarifications and the new landing follow-up, explain the behavior and limits. The preregistration README gains Amendment4 only; its RUNBOOK and earlier sealed records stay byte-identical. No prior result is recast as a new run.

### Host evidence

Repository-only change. No live instruction file, MCP registration, hook trust, client setting, gateway setting/key or model session changed. Source/render checks and synthetic fixtures remain distinct from the configuration owner's read-back and organic-use acceptance.

### Checklist

- [x] No GitHub Actions or paid service change.
- [x] No credentials, raw conversations or live client configuration committed.
- [x] Models, effort, owner's blocks and historical observations preserved.
- [x] Peer-owned worktrees and source preserved.
- [x] Native validation passed; changed checksums/registry committed last at the final head.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant