Repository navigation
Top rule: research first, never self-write without a SOTA source; required sota-sources check - #294
Merged
seathatflowsinourveins merged 1 commit intoSep 25, 2026
Conversation
… a required sota-sources check AGENTS.md and the portable user profile examples/claude-native/CLAUDE.md open with the user's top rule: research maintained SOTA repositories, installable skills and published references first; install the best-evidenced source or build only from a cited reference, and name it; stars and installs guide discovery but are not evidence. validate.yml gains the sota-sources job (harden-runner audit first, then the official actions/github-script v9.0.0, pinned 3a2844b7), which fails a PR whose description lacks a non-empty SOTA sources section; the PR template gains the section; main-ruleset.json lists the check; manifests/evidence.json carries the new hashes. Decision record: docs/decisions/2026-09-25-top-rule-sota-sources.md. Checks: full suite 5,591 tests OK (648 skipped); validate.py, validate_catalogs.py, build_ecosystem.py --check and evidence_manifest.py --check pass; zizmor offline strict 0 findings; actionlint 1.7.12 rc 0; guarded gitleaks clean. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
seathatflowsinourveins
enabled auto-merge (squash)
September 25, 2026 21:55
seathatflowsinourveins
deleted the
claude/top-rule-sota-sources-20260925
branch
September 25, 2026 22:11
seathatflowsinourveins
added a commit
that referenced
this pull request
Sep 26, 2026
…base layer (research-verified) (#327) * Harness rules cleanup: each rule once, token practice as the base layer The portable user rules (examples/claude-native/CLAUDE.md), the project CLAUDE.md and docs/harness-defaults.md state each constraint once, grouped under headings, with a token-practice base-layer section that points to docs/token-practice.md. Decided wording stays verbatim: the top rule, the core-rule sentences, and the StructuredOutput and refusal sentences. Duplicates removed: the repeated quality and evidence-not-authority sentences, "Keep routine tasks solo" (now the ladder's first rung), the project CLAUDE.md lines that AGENTS.md already carries, and the doubled acceptance, discovery and reuse sentences in the harness defaults. Stale facts corrected: 4,096 is a per-call item limit, not a run limit (official workflows doc); the core sentence no longer "opens" the portable file (the top rule does since #294). The profile recipe tells hosts to replace an earlier merged copy whole. docs/decisions/2026-09-26-harness-rules-cleanup.md records the sources (Claude Code 2.1.283 help and bundled reference, official docs read 2026-09-26, Codex AGENTS.md docs), a coverage table for every removed or moved sentence, the o200k_base counts, alternatives and the overturn comparison. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * AGENTS.md: each rule once, token practice as the base layer (shared hot file) Group the project rules under headings with bullets (Evidence and completion; Token practice (base layer); Workers, effort and lanes; Hosts, credentials and records; Trading north star). The top rule and the Claude effort rule stay verbatim. One statement each for rules that appeared several times: six "load only the needed layer" sentences, three counter-separation sentences, three catalog-inclusion sentences, two upstream-executable sentences, two evidence-class sentences and two reuse sentences. "Research existing upstream skills ... before writing custom orchestration" is covered by the top rule. "Run the repository validation command" now names python3 scripts/validate.py. Trading text changes only where a sentence was a generic duplicate, a narrative connector, or stale ("the latest bounded wave" now names the catalyst-convergence wave, added 2026-09-19). o200k_base (gpt-tokenizer 3.4.0): 2,332 -> 2,237 tokens. Coverage table and sources: docs/decisions/2026-09-26-harness-rules-cleanup.md. This is the branch's last commit because AGENTS.md is a shared hot file (docs/lanes.md); the PR is lane:shared. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * AGENTS.md repair round: base-layer delegation for Codex, dashboard rules out of the trading section - Token practice gains "Delegate a step when only its conclusion is needed, and return concise findings with source or artifact locations." and the caching bullet adds compaction. Codex reads AGENTS.md but not CLAUDE.md; Codex 0.155.1 lists multi_agent as stable and enabled. "Deferred" is not added because its tool_search flags are listed as removed. - The grand-dashboard checkpoint and Grafana/Dagu observation sentences move verbatim from Trading north star to Hosts, credentials and records: observability/grand-dashboard/state.json is a shared hot file with foundation gates (docs/lanes.md). - The decision record now describes what AGENTS.md carries, adds both moves to the coverage table, and quotes re-measured counts (AGENTS.md 2,332 -> 2,259 o200k tokens, -73; structure cost +56; cross-file pairs 17, all listed). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Register the harness-rules cleanup files (hot-file commit) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Scout <scout@local> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
AGENTS.mdand of the portable user profileexamples/claude-native/CLAUDE.md;sota-sourcescheck fails any PR whose description lacks a non-empty SOTA sources section.0074a0c3lane:shared. It touchesAGENTS.md, the portable profile and.github/; the foundation and trading lanes need to acknowledge it.AGENTS.md,examples/claude-native/CLAUDE.md,.github/pull_request_template.md,.github/workflows/validate.yml,.github/main-ruleset.json,manifests/evidence.json,docs/decisions/2026-09-25-top-rule-sota-sources.mdSOTA sources
actions/github-scriptv9.0.0, commit3a2844b7e9c422d3c10d287c895573f7108da1b3: https://github.com/actions/github-script. It readscontext.payload.pull_request.body.pull_requestwebhook payload: https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_requeststep-security/harden-runnerv2.21.1, pinnede14015d5…, as every job in this repository already uses (tests/test_workflow_hardening.py).docs/tasks/2026-09-24-sota-mover-strategies.md(self-written strategy arms lost $12,443.07 on paper, reconciled against 635 broker fills with a $0.00 residual).Evidence-class table
python3 -m unittest→ Ran 5591 tests, OK (skipped=648)scripts/validate.py,validate_catalogs.py,build_ecosystem.py --checkandevidence_manifest.py --checkall pass--offline --strict-collection0 findings; actionlint 1.7.12 (sha256 verified) rc 0Local commands run
Decision record
docs/decisions/2026-09-25-top-rule-sota-sources.md: the evidence, the alternatives considered (template checklist only, reviewer-only, per-file automated check) and the comparison that would overturn it (filler-only sources in more than 20% of 30 merged PRs).Checklist
permissions: contents: read; the new job needs nothing more.🤖 Generated with Claude Code