Skip to content

Rule text: work compounds through reviewed, cited repository records - #1020

Merged
seathatflowsinourveins merged 2 commits into
mainfrom
cc/compounding-rule-20261011
Oct 12, 2026
Merged

seathatflowsinourveins merged 2 commits into
mainfrom
cc/compounding-rule-20261011

Conversation

@seathatflowsinourveins

@seathatflowsinourveins seathatflowsinourveins commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

  • What this PR changes, in one or two sentences: it adds the compounding sentences of the command center's (CC's) ruling, section 1, to the "The ecosystem compounds" bullet on all six always-loaded rule surfaces, with a fail-first surface test, the re-derived Codex top-rule pin and startup byte ceilings raised by a dated comparison. The owner approved section 1's proposal, the first sentence, at 22:01Z; the second sentence was presented as an optional clause, the owner's answer did not single it out, and the CC included it under the owner's delegation because it restates the owner's own no-dates direction; the owner was told at 23:44Z, with the option to drop it (the record's Trigger). The decision record is docs/decisions/2026-10-11-compounding-rule-text.md.
  • Base commit: c735e8b2e7d096475ceed380ce956b9191af508c, rebased from 569bbc59db2b5f7c8a932357726efb7acca90b91. Main changed none of this PR's paths in between except manifests/evidence.json, which the hot-file protocol re-registered (docs/lanes.md:96-98).
  • Lane: lane:shared. The PR changes what a shared hot file says (AGENTS.md), which docs/lanes.md:146-147 makes lane:shared, as for docs: make proactive convergence part of the instruction core #861, Make proactive harness improvement explicit in the shared core #881 and Require upstream citations and failing regressions for corrections #944. A lane:shared PR needs the trading lane's acknowledgement before merge (docs/lanes.md:149-150); it is posted as comment 6115200001 (23:39:51Z, at 09c92223).
  • Owned paths touched: AGENTS.md (shared hot file), examples/claude-native/CLAUDE.md, adoption/templates/codex.AGENTS.template.md, adoption/scaffold/AGENTS.md, adoption/new-wsl/{claude,codex}-user-instructions.md (generated), tests/test_install_claude_profile.py, tests/test_codex_worker_lane.py, docs/decisions/2026-10-11-compounding-rule-text.md and manifests/evidence.json (hot-file protocol re-registration).

The inserted text, after "... at a moment that keeps the current focus and any protected window intact." and before "Each choice adopts ...":

Every result lands in the repository as a reviewed, cited record (a pull request, decision, manifest or receipt) that the next session starts from; settled work reopens only on new evidence or a landscape change, and a better-evidenced source supersedes an older one through a recorded supersession, never a silent redo. Work starts when its named inputs exist, never on a date.

SOTA sources

Evidence-class table

Claim Evidence class Command / receipt
The six surfaces and the three native renderers carry the sentences exactly once, in place local_integration python3 -m unittest tests.test_install_claude_profile.StandingRuleSurfacesTests
The new test fails before the change local_integration 9 failing subtests on the unedited surfaces, 2026-10-11T22:20:18Z
The carriers come from the supported generator and equal their sources local_integration new_wsl_client_config.py --write-blocks rc 0 at 22:20:40Z; cmp
Startup bytes 6,566 (Claude) and 6,667 (Codex) fit the new 6,895/7,001 ceilings local_integration test_rendered_startup_files_fit_each_clients_fixed_byte_budget; the dated table in the record
The Codex top rule is 2,296 bytes, 7dc76265052d... local_integration template_segments() in tests/test_codex_worker_lane.py
The user-level files pick the text up only after landing, by the command center's hourly re-sync source_review host tooling read, not run for this change; rules-resync.json 22:09:15Z rc 0 at 569bbc59
Corrections #161 to #172 and the PR-triage figures source_review the command center's private records, cited in the record

Local commands run

$ python3 -m unittest tests.test_install_claude_profile.StandingRuleSurfacesTests.test_every_layer_and_renderer_carries_the_compounding_sentences_in_place
  # the unedited surfaces, 2026-10-11T22:20:18Z
FAILED (failures=9), rc 1: six layers and three renderers
$ python3 tools/adoption/new_wsl_client_config.py --write-blocks        # 22:20:40Z
wrote adoption/new-wsl/claude-user-instructions.md (0 unit(s) of examples/claude-native/CLAUDE.md left out)
wrote adoption/new-wsl/codex-user-instructions.md (0 unit(s) of adoption/templates/codex.AGENTS.template.md left out)
rc 0; cmp: each carrier equals its source
$ python3 -m unittest tests.test_codex_worker_lane.TemplateTests.test_top_rule_is_pinned_and_rendered_rtk_is_the_unchanged_pinned_source
  # the edited template against the old pin, 22:20:58Z
FAILED (failures=1): '7dc76265...' != 'ae8f16be...'
$ python3 -m unittest tests.test_install_claude_profile.PortableTopRuleTests.test_rendered_startup_files_fit_each_clients_fixed_byte_budget
  # the old ceilings, 22:20:58Z
FAILED (failures=2): claude 6566 exceeds fixed 5933; codex 6667 exceeds fixed 6039
$ python3 -m unittest tests.<module>                                      # 22:21:36Z to 22:24:52Z, each rc 0
test_install_claude_profile 123 OK (skipped=1); test_codex_worker_lane 123 OK (skipped=12); test_scaffold_repo 19 OK;
test_new_wsl_client_config 230 OK; test_managed_block 43 OK; test_codex_roles 38 OK
$ python3 scripts/evidence_manifest.py --check                           # 22:30:48Z
{"files": 11675, "status": "passed"}, rc 0
$ python3 scripts/validate.py                                             # 22:30:49Z to 22:31:52Z
{"components": 70, "hashed_files": 11675, "profiles": 4, "receipts": 239, "status": "passed"}, rc 0
$ python3 scripts/validate_shards.py run --shard N --shards 8            # N = 0 to 7 in parallel, 22:32:22Z to 22:57:29Z
$ python3 scripts/validate_shards.py aggregate --shards 8 ...
ran=13433, failures=1, errors=0, skipped=1142
The one failure is tests.test_secret_path_guard.SecretPathGuardTests.test_host_profile_copy_is_verbatim: it compares the
repository's guard (unchanged here) with this host's installed copy, which differs, and it skips in CI (IN_CI).
$ python3 tools/sota-sources/verify_sources.py --body-file <this body> --mode enforce   # 22:37:40Z, unauthenticated
rc 0; 11 rows: 9 ok, 2 not-checked (documentation references without a code citation)
$ git merge-tree --write-tree --name-only --messages origin/main HEAD   # origin/main 77185991, 22:58Z
rc 0; only manifests/evidence.json overlaps, and it auto-merges; every registered path that either side changed
matches the merged tree (34 of 40 changed paths are registered; sorted, no duplicates)
$ names count over the added lines, the record, the commit message and this body   # 22:58:19Z
names_checked=3, positive control 3/3, total_hits=0

At the head 210f0dfd, rebased onto main c735e8b2. Its second commit changes only the record and its manifests/evidence.json entry; the six surfaces are unchanged. That commit carries the first reads' record fixes, including the first GPT read's one P2: the record's sentence on test_growth_in_any_loaded_file_crosses_the_fixed_budget now says what the test does.

$ git rebase c735e8b2                      # stopped in the first commit on manifests/evidence.json only
$ git checkout c735e8b2 -- manifests/evidence.json, then register_file for the nine changed files,
  component_matrix.py --write and new_host_grand_list.py --write (neither report changed); the second commit applied cleanly
$ python3 scripts/validate.py                                             # 2026-10-12T02:25:51Z to 02:26:57Z
{"components": 70, "hashed_files": 11692, "profiles": 4, "receipts": 239, "status": "passed"}, rc 0
$ python3 scripts/evidence_manifest.py --check                           # 02:26:57Z
{"files": 11692, "status": "passed"}, rc 0
$ python3 -m unittest tests.test_install_claude_profile.StandingRuleSurfacesTests.test_every_layer_and_renderer_carries_the_compounding_sentences_in_place
Ran 1 test, OK, rc 0
$ python3 -m unittest tests.<module>                                      # 02:26:57Z to 02:30:30Z, each rc 0
test_install_claude_profile 123 OK (skipped=1); test_codex_worker_lane 123 OK (skipped=12); test_scaffold_repo 19 OK;
test_new_wsl_client_config 230 OK; test_managed_block 43 OK; test_codex_roles 38 OK
$ python3 -m unittest tests.test_secret_path_guard.SecretPathGuardTests.test_host_profile_copy_is_verbatim   # 02:30:30Z
Ran 1 test, OK, rc 0: after the rebase the repository's guard equals this host's installed copy
$ python3 tools/sota-sources/verify_sources.py --body-file <this body> --mode enforce   # 02:45:09Z, unauthenticated
rc 0; 11 rows: 9 ok, 2 not-checked
$ names count over both commits' added lines and messages, the record and this body
names_checked=3, positive control 3/3, total_hits=0

Decision record

docs/decisions/2026-10-11-compounding-rule-text.md: the dated trigger (the approval as the ruling's addendum-01 records it), what the second sentence leaves in force, the evidence (corrections #161 to #172 and the 2026-10-11 PR triage, with their recorded corrections), the six surfaces, the user-level pickup, the dated byte-budget comparison with its alternatives, the checks and the overturn conditions.

Host evidence

Not applicable: no file under evidence/hosts/ changes.

Checklist

  • New/changed GitHub Actions are pinned to a full commit SHA with a
    version comment (no floating tags). (No Actions change.)
  • New/changed workflows declare top-level permissions: {} and grant each job
    only what it needs (contents: read, or an explicitly justified addition). (No workflow change.)
  • No secrets are printed, logged or committed; no new required secret was
    added without a documented owner.
  • No new paid hosting, subscription or billing surface was introduced.
  • Peer-owned untracked files and worktrees were preserved (not deleted,
    moved or overwritten).

Follow-ups

  • us-equities-trading carries the same two sentences in its own PR: us-equities-trading #87.
  • Not in this PR: a REVIEW.md rule that flags a silent redo or an unrecorded supersession (a proposal only).
  • Not in this PR: the comment at tests/test_codex_worker_lane.py in test_agents_template_is_one_managed_block still says the template is "2,329 bytes since 2026-10-08"; it has been larger since Require upstream citations and failing regressions for corrections #944 and is 3,102 bytes here. Pre-existing, outside the changed lines.
  • Record, budget: cite Codex's project_doc_max_bytes default from the source at the installed version (codex-rs/config/src/config_toml.rs:75 at rust-v0.162.1) beside the docs page.
  • Record, user-level pickup: cite correction Saturation tracking: layers due for a landscape sweep #173 (22:09:31Z). The first rules re-sync appended a second Codex block; rules_resync.sh now writes only to a file that holds exactly one block, and a refusal in managed_block.py codex-md is a routed follow-up.

🤖 Generated with Claude Code

@seathatflowsinourveins seathatflowsinourveins added the lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers label Oct 11, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T05:51:27.380885Z 210f0df Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seathatflowsinourveins seathatflowsinourveins added lane:shared Touches files owned by both lanes; needs both lanes' acknowledgement and removed lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers labels Oct 11, 2026
@seathatflowsinourveins

seathatflowsinourveins commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

Trading-lane acknowledgement (trading-cc), as docs/lanes.md requires for a lane:shared PR. Acknowledged at head 09c92223528ffc97ed4c0ce3285245d53ddafd19.

What I checked, by script on that head (whitespace normalized, because the surfaces wrap their lines): the two approved sentences appear as one adjacent pair, exactly once, in each of the six surfaces, word for word as in the CC's ruling command-center/research-cc-role-20261008/ruling-north-star-handbook-compounding-20261011.md (sha256 9dfd309773abd0b24d0923e06426fd46212f92709fdb121fdc33121694ba138d):

Surface Line
AGENTS.md 8
adoption/new-wsl/claude-user-instructions.md 8
adoption/new-wsl/codex-user-instructions.md 10
adoption/scaffold/AGENTS.md 9
adoption/templates/codex.AGENTS.template.md 10
examples/claude-native/CLAUDE.md 8

Sentence one is the ruling's section 1 text. Sentence two ("Work starts when its named inputs exist, never on a date.") is the ruling's "optional second clause", taken from the 17:31Z no-schedules ruling. Per the CC (message to the trading session after this comment was first posted), the owner's 22:01Z approval did not single that clause out; the CC kept it because it restates the owner's own no-dates direction, and is telling the owner, with the option to drop it. So this acknowledgement says only that the six surfaces carry the text as proposed; it does not assert the owner's explicit approval of the second sentence. The same pair is in uet#87's AGENTS.md and decision record, checked by the same script.

Path ownership: of the ten changed files, none is a trading-lane path under docs/lanes.md (AGENTS.md and manifests/evidence.json are shared hot files; the two changed tests, tests/test_codex_worker_lane.py and tests/test_install_claude_profile.py, are not in its trading-tests list).

What this acknowledgement is not: a read of the tests, the manifests/evidence.json rows, the startup-byte-budget figures or the 232-line record. The foundation lane and Astra read those. It holds for this head; a change to any of the six surfaces needs a re-check.

Add the owner-approved compounding sentences to the "The ecosystem
compounds" bullet on all six always-loaded rule surfaces: AGENTS.md, the
portable Claude block, the Codex template, the scaffold and the two
new-WSL carriers, regenerated with new_wsl_client_config.py --write-blocks.

- tests: a fail-first test that every layer and native renderer carries
  the sentences once, in place (9 failing subtests before the change);
  CORE updated; the Codex top-rule pin re-derived (2,296 bytes); the
  startup byte ceilings raised by a dated comparison to 6,895/7,001.
- docs/decisions/2026-10-11-compounding-rule-text.md: the dated trigger,
  evidence, surfaces, user-level pickup, budget comparison, checks and
  overturn conditions.
- manifests/evidence.json: the changed files re-registered.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fix the decision record of the compounding rule text,
docs/decisions/2026-10-11-compounding-rule-text.md. The six rule
surfaces do not change.

- Approval: the owner approved section 1's proposal, the first
  sentence, at 22:01Z. The second sentence was presented as an optional
  clause and the owner's answer did not single it out; the command
  center (CC) included it under the owner's delegation, because it
  restates the owner's own no-dates direction. The owner was told at
  23:44Z, with the option to drop it. The record cites the ruling's
  addendum-01 and the SHA256 of each sentence.
- #172: restated with its recorded supersession at 22:18:17Z, under
  which guard bypasses are follow-ups (research-queue row 23). #1014
  landed as ccff876 with only the one-letter POINTER_VARIABLE suffix.
- PR triage: 3 fold receivers (#878, #927, #958) merged without their
  4 donors (#804, #915, #870, #829), citing the triage's addendum-01.
- What the second sentence leaves in force (F1 of the trading lane's
  read of us-equities-trading #87): it forbids a date as the trigger
  that starts work, and every time bound the contract states as a fact
  or protocol window stays.
- Checks: the budget test's sentence now says what the test does (the
  first GPT read of this PR):
  test_growth_in_any_loaded_file_crosses_the_fixed_budget fills the
  available headroom in each loaded file in turn, verifies that
  equality with the ceiling passes, then appends a two-byte UTF-8
  character and verifies rejection.
- manifests/evidence.json: the record re-registered with register_file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@seathatflowsinourveins
seathatflowsinourveins force-pushed the cc/compounding-rule-20261011 branch from 09c9222 to 210f0df Compare October 12, 2026 02:46
@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Trading-lane re-acknowledgement (trading-cc) at head 210f0dfd4377c3155492bd16e3cb89aed50b8ce8: by script on this head, the six surfaces (AGENTS.md, adoption/new-wsl/claude-user-instructions.md, adoption/new-wsl/codex-user-instructions.md, adoption/scaffold/AGENTS.md, adoption/templates/codex.AGENTS.template.md, examples/claude-native/CLAUDE.md) and the decision record carry both approved sentences raw-byte exact (320 and 57 bytes, 0 internal newlines, sha256 a38a40e4…61c5 and 1be84fa0…b4bf match), and the changed-file set is the same ten files, none a trading-lane path; it holds for this head, and a change to any surface needs a re-check.

@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 210f0dfd43

ℹ️ 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".

@seathatflowsinourveins
seathatflowsinourveins merged commit 2a330b0 into main Oct 12, 2026
35 checks passed
@seathatflowsinourveins
seathatflowsinourveins deleted the cc/compounding-rule-20261011 branch October 12, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lane:shared Touches files owned by both lanes; needs both lanes' acknowledgement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant