Skip to content

Open findings and results write-ups with two or three plain takeaways - #4173

Merged
capy-ai[bot] merged 1 commit into
mainfrom
findings-open-with-takeaways
Nov 8, 2026
Merged

capy-ai[bot] merged 1 commit into
mainfrom
findings-open-with-takeaways

Conversation

@garrytan

@garrytan garrytan commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Findings, results and investigation write-ups in gstack now open with two or three plain takeaways, what works first.

  • We learned that a findings file is most useful when its first lines say what a builder should do. Every findings file, investigation write-up and results README in gstack now opens with two or three plain takeaways ("We learned X. You should do X."), with what works first.
  • What didn't work comes right after, stated plainly with its number. A null becomes the lesson its data supports, and no number is rounded in our favour or caveat dropped.
  • You should name the public lesson before an experiment runs. /eval-plan's preregistration now asks for a lesson: line under Bars.

What changed

  • ETHOS.md, Explain the Number gains one paragraph with the rule: takeaways first, what works then what didn't, internal mechanics last, each experiment names its public lesson, cost shown only when it is part of the lesson (for example cost per correct answer between two setups), and a repo, dataset or tool opened only with a stated reason (helping builders, or letting others reproduce a published finding). One anti-pattern line is added.
  • /eval-plan: the Bars row of the preregistration table and the prereg --init template comment ask for lesson: first; Step 5 says the results file opens with the takeaways and points to ETHOS.md for the rest.
  • docs/TESTING_INTERNALS.md adds a short "Writing it up" paragraph beside its results reporting guidance, linking ETHOS.md.

The preregistration's Bars row now asks for the public lesson first

The preregistration's Bars row now asks for the public lesson first, so the lesson is named before the run.

Before/after as text: The preregistration's Bars row now asks for the public lesson first
--- Before · eval-plan/SKILL.md.tmpl § Step 1: Preregistration at 1e25057 · source text
+++ After · eval-plan/SKILL.md.tmpl § Step 1: Preregistration on this branch · source text
@@ ⋯ 3 unchanged ⋯ @@
 
 | Section | What it holds |
 |---|---|
+| Bars | `lesson:` the public lesson the run is after, then one line per metric: name, pass bar, direction, what a miss means for the decision |
-| Bars | one line per metric: name, pass bar, direction, what a miss means for the decision |
 | Arms | one line per arm: the arm identity first (`<model>` or `<model>#<loadout>`), settings, per-item cost from Step 1b |
 | Comparison | `stack: loaded` when any arm loads gstack or another skill stack; otherwise `stack: none` and a `why:` line |
 | Decoys | inputs the scorer must reject or score low; how many, how they were made, what a decoy pass proves |

Why

Garry, 2026-11-08: "each markdown file we try to write around an investigation should have up top bullet points that are the two or three big takeaways", "when we discover that something doesn't work, we should just state it plainly", and "this is a gift". His same-day amendment adds that findings don't publish what they cost by default and that private is the default for repos, datasets and tools. gstack is where agents read how to write these files, so the rule lives here rather than only in crew notes.

Blast radius

Prose only, plus one template comment string in lib/eval-plan.ts (prereg --check already ignores <!-- --> guidance, so no check changes). eval-plan/SKILL.md grows by about 75 tokens, so its context-budget ceiling moves from 5,107 to 5,700, the value the capture script computes for it (5,181 × 1.10). No other ceiling moves.

Summary

  • One commit: the writing rule in ETHOS.md, its pointers in /eval-plan and docs/TESTING_INTERNALS.md, the eval-plan context-budget ceiling, and a changelog fragment.

Test Coverage

Coverage: 3 of 4 changed runtime files have no changed test naming them (ETHOS.md, eval-plan/SKILL.md, eval-plan/SKILL.md.tmpl). All three are prose. The parity, context-budget and eval-plan tests pass at this tree, and the coverage audit wrote no new test.

Pre-Landing Review

Pre-Landing Review: 1 issue — 0 auto-fixed, 0 asked (0 fixed, 0 skipped), 0 deferred, 1 noted

The review found nothing at the blocking floor (a failing test, a production break, or lost data or secrets). These notes stay open for a follow-up:

  • The lesson: line is asked for but not checked. prereg --check (checkPrereg, lib/eval-plan.ts:131) only requires Bars to be non-empty, so a preregistration without lesson: still prints PREREG: ok, as QA probe 002 shows. The testing specialist and the adversarial reader both raised this. Making the check enforce it would be new check behavior, outside this writing-rule change.
  • Cost in the eval-plan results file. Step 5 gates the results file before any number leaves the run, and the new paragraph says cost appears there only as part of a lesson. It doesn't say whether that file is a public findings file or an internal report (raised by the adversarial reader).
  • No test pins the new lesson: text in the template comment or the skill (raised by the coverage audit).

Exploratory QA

Functional smoke on gstack-eval-plan prereg at tree 856126b692f8: 3 probes, verdict pass. A filled preregistration with lesson: passes prereg --check. The same file without lesson: also passes, so the line is advisory. prereg --init writes the new lesson: prompt under Bars.

Eval Results

No eval run: this is a writing-rule change with a stated reason (R56), and no paid evaluation was selected.

Scope Drift

Scope Check: CLEAN
Intent: add Garry's R79 writing rule for findings and results write-ups to gstack.
Delivered: the rule in ETHOS.md, pointers in /eval-plan and docs/TESTING_INTERNALS.md, the matching context-budget ceiling, and a changelog fragment.

Plan Completion

No plan file is bound to this branch (Plan: exempt: crew:R79).

TODOS

No TODOS.md items touched.

Documentation

Status: current — the docs audit found nothing to edit and no blockers.

Scope: base 1e250570 to head 9ccb3547 on findings-open-with-takeaways: one commit and seven selected files (ETHOS.md, the changelog.d fragment, docs/TESTING_INTERNALS.md, eval-plan/SKILL.md and its .tmpl, lib/eval-plan.ts, and the context-budget fixture). There were no staged, unstaged or new files. The banned-terms check found no list.

Documentation health:

  • ETHOS.md: Current (the new takeaways paragraph and anti-pattern sit under 8. Explain the Number)
  • docs/TESTING_INTERNALS.md: Current (the #8-explain-the-number anchor resolves)
  • eval-plan/SKILL.md.tmpl and eval-plan/SKILL.md: Current (the template and the generated file match)
  • README.md: Current (it links to ETHOS.md, and its /eval-plan row is unaffected)
  • docs/skills.md: Current (one coverage gap, listed below)

Coverage debt: the preregistration's new lesson: line under Bars appears in the skill and the template comment, but docs/skills.md's /eval-plan reference doesn't mention it. That's a reference-only gap. Diagram drift: none.

Test plan

  • bun test test/parity-suite.test.ts: 2 pass, 0 fail
  • bun test test/context-budget-ratchet.test.ts: 7 pass, 0 fail
  • bun test test/eval-plan-no-gstack-arm.test.ts test/eval-plan-prereg-diagnostics.test.ts test/eval-plan-results.test.ts test/pricing-eval-plan.test.ts: 77 pass, 0 fail
  • Free suite carried from CI run 42512117625 at tree 856126b692f8 (36,583 tests)
Agent notes
  • Lane GSTA-417, issue GST-1930. R56: writing-rule change with a stated reason, so no eval.
  • Not edited, on purpose: /ship, receipt, pregate, merge-train and lane tooling (freeze through 2026-11-21); captain/templates/READY.md, captain/templates/report.md, capy/skill/gstack/factory.md and the investigate template, which GST-1455's branch (reports-lead-with-failures) changes; captain/templates/postmortem.md (crew tooling, and an internal failure record under R73); QA, CSO and benchmark-models reports (bug, security and provider-comparison reports for the user, not findings write-ups). Existing docs/evals findings files are not rewritten.
  • R73 fit: R79 orders a write-up, R73 forbids hiding a failure. The text keeps every failure in the file, right after what works, with its number.
  • Checks run locally at 9ccb354: parity-suite, skill-size-budget, skill-md-size-guard, skill-budget-regression, context-budget-ratchet, catalog-budget, size-ledger, template-context-parity, eval-plan tests, gen-skill-docs, module-size-ratchet, claude-md-size, hermetic-skills-seeding: 633 pass, 0 fail. bun run typecheck clean; gen:skill-docs --dry-run all FRESH. Removed-clause search over test/: nothing removed.
  • A full capture-context-budget run would also move 38 other ceilings (some down), so only the eval-plan entry was set to the capture's value.

/ship (unattended) at 9ccb354

  • CI_CARRY: accepted ci-carry tree=856126b692f8 tests=36583 runs=42512117625/1 profiles=ci-reuse/free-tests heads=9ccb3547baf3 verified=2026-11-08T18:53:43.700Z
  • PREGATE_VERIFY: ok pregate requires-remote cleared is current for tree 856126b692f8 (macos-named-regressions cleared by run 42512117625, windows-smoke by run 42512117607)
  • Review plan: REVIEW_PLAN: class=code pass=1 next=full dispatches=2; batched specialist (testing, security, state-machines, red-team checklists) plus native adversarial; outside voice skipped by the plan. VERIFY: clean briefs=2 outputs=2 voided=0. Repeat decision: NEXT: done (the step applied no edits).
  • REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=1 fixed=0 scope=frozen ledgers_read=2 dispatches=4
  • Gate edits: none detected (1 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none). The one listed hunk is the eval-plan ceiling in test/fixtures/context-budget.json, set to the capture value ceil(5181.47 x 1.10) = 5700.
  • Decision: review_scope classify marked the specialist note scope=fix; it was kept as a note under the crew's blocking floor ("would fail a test, break production, or lose data or secrets"), with no fix round.
  • BUILD: none passed (no build command declared for this change).
  • The review-p1 pass directory is also linked as p1 so the review-log ledger_id binds.

Approvals

No approvals recorded for branch findings-open-with-takeaways.
Plan: exempt: crew:R79
Plan check: exempt crew:r79

{
  "schema_version": 1,
  "pr": 4173,
  "head": "9ccb3547baf3944735a7068cae2851bd9ef8eb0e",
  "version": "1.98.0.0",
  "base": "main",
  "gate": {
    "parity": {
      "pass": 2,
      "fail": 0,
      "skip": 0
    },
    "ctxbudget": {
      "pass": 7,
      "fail": 0,
      "skip": 0
    },
    "evalplan": {
      "pass": 77,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "856126b692f84133021f5fdf1884759df1e8ce40",
  "product_patch_id": "9a4da616bb2b04edd46ac1d8d826a77d2950756d",
  "gstack_version": "1.98.0.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 25,
    "rules": "66e5174161eecc2c",
    "base": "1e250570d8c99ad09664d0fd250b29fa2f76509a",
    "registry": "1e250570d8c99ad09664d0fd250b29fa2f76509a",
    "gate_scan": {
      "tagged": 0,
      "head": "9ccb3547baf3944735a7068cae2851bd9ef8eb0e"
    },
    "reasons": [
      "runtime=25"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @856126b692f8 (8 checks, current for 9ccb3547baf3)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/42512117625/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/42512117607/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=856126b692f8 tests=36583 skipped=105 runs=42512117625/1 profiles=ci-reuse/free-tests heads=9ccb3547baf3 verified=2026-11-08T18:59:32.275Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, ETHOS.md, CONTRIBUTING.md, AGENTS.md, CLAUDE.md against base 1e250570"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 1,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 2,
    "dispatches": {
      "specialist": 3,
      "red-team": 1
    }
  }
}

Open in Capy

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot merged commit a87d92c into main Nov 8, 2026
50 checks passed
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