Repository navigation
v1.91.265.0 docs: absorb four pstack principles into ETHOS.md, the observable-questions rule and candidate-side eval blinding (GSTA-124) - #3493
Conversation
… observable-questions rule and candidate-side blinding (GSTA-124) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…idate-visible root Review pass 1 (frozen scope, five INFORMATIONAL findings, all in-diff, none blocking): two ETHOS.md sentences in principles 6 and 7 were too close to the credited source and are reworded; the Credits line names both pstack sources (principle-* leaves and poteto-mode); eval-plan Step 1c rule 1 is scoped to what the preregistration controls and exempts the skill text an arm loads; the observable-questions rule in plan-tune and docs/proactive.md requires the observation to be local, read-only and free and points at the one-way-door rule; docs/TESTING_INTERNALS.md names skill-e2e-benchmark-* (test/skill-e2e- deploy.test.ts:293) as a second candidate-visible root and states the audit's matching method. SKILL.md regenerated for both unpinned skills. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…tribution The blinding audit paragraph in docs/TESTING_INTERNALS.md and the CHANGELOG entry claimed two candidate-visible temporary roots and that the other skill-e2e-<case>-* roots carry no listed word; test/skill-e2e-test-value.test.ts:131 (skill-e2e-<id>- with ids carrying 'test') and test/skill-e2e-health.test.ts:23 (gstack-health-eval-) show otherwise, so both now list the roots the mkdtemp scan found and say the list is not a proof of completeness. docs/proactive.md said the one-way-door rule already covers spend and third-party reach; it now says the new sentence extends that rule. The CHANGELOG bullet for the observable-questions rule names its local, read-only and free qualifier. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
E2E Evals: ✅ PASS (flaky: 1 case(s) passed on their one rerun)125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $32.33 rule/judge cost | reconcile exit: 0 Profile: pr / mode Full gate restored by:
Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. Flaky: failed once, passed on its one rerun (rule 16)Each failed and passed on its rerun in run 40409629399 at the attempts named above. Logged for the daily flaky-fix pass in this run's Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit |
FILES: CHANGELOG.md VERSION agents-digest/gstack-AGENTS.md package.json MERGE_CONDITION: sha=27305c29f80a41c74ddbcd81f9fefe0f5aab7c67 next: NEW_VERSION=1.91.265.0; commit and push only the stamp diff above (FILES), with no edit of your own: the train's verify accepts the CHANGELOG only as the base's plus this PR's entry re-headed; merge with the expected head 27305c2 and recompute on a stale queue. GSTACK_RESULT: skill=restamp status=complete run=/workspace/gstack/.gstack/tmp/restamp-journal.json Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…to answer (GSTA-124 follow-up) (#3503) * docs(captain): observable questions are not the person's to answer Captain-side reading of the rule shipped in plan-tune/SKILL.md.tmpl and docs/proactive.md (#3493, pstack item 4): a question a command, render or measurement can settle is settled by the thread; a Captain that receives one sends it back with the check that answers it. gstack holds the how; the Drive copy of captain.md syncs from main. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore: changelog entry for the captain.md observable-questions bullet Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore: changelog says the Drive copy needs a recopy, not a sync Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
What changed
Before: a question like "is this faster?" or "which layout?" could reach the user as a prompt; ETHOS.md had four principles and nothing on failed-premise fixes, shared-state races, re-runnable operations or unexplained numbers;
/eval-plan's preregistration said nothing about what the candidate or the judge may see. After: the plan-tune rule anddocs/proactive.mdsay an observable question (local, read-only, free) is settled by running the thing and only a product or preference call reaches the user; ETHOS.md carries principles 5 to 8 with a credit line;/eval-planStep 1c carries three blinding rules anddocs/TESTING_INTERNALS.mdstates them for gstack's own fixtures; AGENTS.md step 4 gains one sentence on measured deltas.Plan:
plans/absorb-pstack.md§4 items 4, 6 (the AGENTS.md sentence only), 7 and 8 (the ETHOS part). Lane C3 of the pstack absorb (GSTA-124). Everything is written in gstack's words; no sentence is copied from pstack.ETHOS.md (9,376 → 14,950 bytes):
## 5. Attack the Premise(two fixes that share a premise and fail the same gate indict the premise; write it as a falsifiable sentence and test it before a third fix; the request itself is a premise you were handed),## 6. Separate Before Serializing Shared State(hear "we need a lock" as a prompt to look at the design; one writer per file, a partition by owner or an append-only log removes the race instead of refereeing it; serialize only truly singular state and name the single writer),## 7. Make Operations Idempotent(design for the run that happens twice; for each line, suppose the previous run died right after it and ask whether this run still converges; where idempotence is impossible, make the operation deduplicable),## 8. Explain the Number(every measurement carries what was measured, the limiter it moved and the run-to-run variation; a gap inside the variation is no difference). "How They Work Together" gains one line per principle; a## Creditssection names pstack'sprinciple-*leaves andpoteto-mode(MIT) and points at NOTICE.md./plan-tune(plan-tune/SKILL.md.tmpl, Important Rules): "Observable questions are not the user's to answer", limited to observations that are local, read-only and free (a call that changes state, reaches a live or third-party system or spends money stays a question), with the audit consequence (an observable question in the log is a defect in the asking skill, not a never-ask preference).docs/proactive.md: a "Questions a skill asks on its own" section with the same rule from the user's side./eval-plan(eval-plan/SKILL.md.tmpl, new Step 1c after Step 1b): no eval word anywhere the preregistration controls and the candidate can read (the list:eval,test,judge,experiment,rubric,score,compare,benchmark,candidate,arena; outside the rule: the project's own test directory when the task is about those tests, and the skill text an arm loads as its own instructions); project-shaped fixture roots; the judge seesA/Band grades chain-following from the files the transcript shows the candidate opened. The step says plainly thatprereg --checkdoes not read fixture trees.docs/TESTING_INTERNALS.md#candidate-side-blindingstates the rules for gstack's own fixtures and records the audit: fixture directory names on the word list (arm-benchmark/and children,browse-judge/,cso-eval/,eval-history/,judge-calibration/and children, twopaid-report-censusshard names,state-matrix-6792/*/test) are all runner-side; the candidate-visible gaps the scan of e2emkdtempprefixes found arearm-<fixture>-<arm>-*(test/helpers/arm-benchmark-harness.ts),skill-e2e-benchmark-*(test/skill-e2e-deploy.test.ts), theskill-e2e-<id>-*roots oftest/skill-e2e-test-value.test.tswhose ids carrytest, andgstack-health-eval-*(test/skill-e2e-health.test.ts); the doc says that list is a scan, not a proof of completeness. No fixture is renamed in this PR.AGENTS.md validation discipline step 4, one sentence: "For any measured speedup, regression or eval delta, name the limiter that moved and the run-to-run variation; a gap smaller than that variation is no difference."
agents-digest/gstack-AGENTS.mdwas regenerated and is byte-identical (1,767 bytes): the digest is generated fromscripts/gen-agents-digest.tsandVERSION, not from AGENTS.md.NOTICE.md: one line appended to the existing pstack entry naming these files. CHANGELOG.md: entry under
## [Unreleased](the train stamps the version at the slot).Why
Garry asked on 2026-10-26 for a look at what pstack does and what gstack can take. These four items are the ones that cost no budget: ETHOS.md and the docs are free, and
/plan-tune(56,034 → 57,059 bytes) and/eval-plan(38,615 → 40,493 bytes) are unpinned skills. The observable-questions rule is the direct answer to prompts that reached Garry with answers a command could have produced; the blinding rules are what gstack's own paid cases already try to do, written down so a new preregistration cannot skip them.Approvals
Source: gstack-approvals record for gsta-124-absorb-pstack-c3 (display only; not an approval citation).
Budgets
test/fixtures/skill-md-size-allowlist.jsonunchanged. Measured at 27305c2:plan-tune/SKILL.md56,034 → 57,059 bytes,eval-plan/SKILL.md38,615 → 40,493 bytes, both unpinned;test/skill-md-size-guard.test.tsandtest/skill-size-budget.test.tsgreen./plan-tune's Important Rules and/eval-plan's Step 1c, read only when those skills run.agents-digest/gstack-AGENTS.md: 1,767 bytes, unchanged (budget 2,048).Summary
/plan-tuneImportant Rules anddocs/proactive.md, scoped to local, read-only, free observations./eval-planStep 1c candidate-side blinding and the matchingdocs/TESTING_INTERNALS.mdsection with the fixture-name audit.Test Coverage
All changes are prose (Markdown, SKILL.md templates and their generated output); no test was added and none was expected (Step 7: 1,480 test files before and after, 0 weak gaps, 0 extended, 0 rejected).
Tests ran: tests 911
Tests ran: typecheck count unavailable
Pre-Landing Review
Pass 1 (full diff,
review_scope frozen): core checklist, Testing, Maintainability, Simplification and State Machines specialists (NO FINDINGS), Red Team (4 INFORMATIONAL). 5 issues, 5 auto-fixed in 13a40c4: two ETHOS.md sentences too close to the credited source reworded; Credits line names both pstack sources; the TESTING_INTERNALS fixture-root claim corrected;/eval-planrule 1 scoped to what the preregistration controls, exempting the skill text an arm loads; the observable-questions rule limited to local, read-only, free observations with a pointer at the one-way-door rule. Pass 2 (range 92002dc..13a40c4): Testing and Maintainability NO FINDINGS, no Red Team (82-line range, no CRITICAL), QA probes revalidated. Pre-Landing Review: 5 issues — 5 auto-fixed, 0 asked, 0 deferred, 0 noted (the three notes below came from the Step 11 adversarial pass, after Step 9 had converged)REVIEW_LOOP: passes=2 blocking_found=0 deferred=0 noted=0 fixed=5 scope=frozen
Gate edits: none detected (0 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: Codex unavailable (CLI not installed on this machine); missing outside coverage. Native adversarial pass on the pass-2 range completed: 3 INFORMATIONAL findings, recorded below; Recommendation was to fix the fixture-root claim, which the documentation audit then corrected in 27305c2.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
docs/TESTING_INTERNALS.md:1535The 'two candidate-visible roots' claim is understated: test/skill-e2e-test-value.test.ts:131 creates skill-e2e-- roots whose ids carrytest(review-test-value, test-audit-report-only) and test/skill-e2e-health.test.ts:23 creates gstack-health-eval-; the sentence 'the other skill-e2e--* roots do not' is false. (Corrected afterwards by the Step 14.5 documentation audit in 27305c2, as a factual doc edit outside the review loop.)docs/proactive.md:66'as the one-way-door rule in /plan-tune already says' overstates the cited rule: the registry (scripts/one-way-doors.ts) covers destructive, architectural and security questions, not spend or third-party reach. (Corrected afterwards by the documentation audit in 27305c2; the matching clause inplan-tune/SKILL.md.tmplis a prompt change and stays as written.)eval-plan/SKILL.md.tmpl:108Step 1c rule 1 heading 'Nothing the candidate sees carries an eval word' is broader than its body after the skill-text exemption.Exploratory QA
Report-only smoke, 3 of 12 probes, 105 ms guarded command time, no browser surface (prose-only diff):
gstack-eval-plan prereg --checktolerates the extra## Blindingsection and names only the five required sections;bun scripts/gen-agents-digest.tsreproduces the committed digest byte for byte; the#candidate-side-blindinganchor, the eval-plan Step 1c heading, the plan-tune bullet, the CHANGELOG anchor link and the proactive.md heading each exist exactly once. All three probes re-run and passed at 13a40c4 after the pass-1 fixes. Report:.gstack/qa-reports/gsta-124-ship-20261026T212535Z/functional/report.md(local to the ship machine). No findings.Design Review
No frontend files changed — design review skipped.
Eval Results
Focused paid case
plan-tune-inspect(rule, gate; the one PR-profile case this diff selects): PASS 1/1, $0.12, 25 s, run locally at 92002dc (bin/gstack-detach … scripts/test-paid-shards.ts --tier gate --case plan-tune-inspect). The PR's E2E Evals lane plans in full-fallback mode (82 shards) becauseETHOS.mdandNOTICE.mdare not registered dependencies of any paid case (test/pr-dependencies.test.tspinsETHOS.mdas the "real unknown dependency" example); that whole-gate run at the train slot is the paid screen for the ETHOS change.eval-plan/SKILL.md.tmplis a known broad prompt whose checks the PR profile defers to release coverage.Greptile Review
No Greptile comments.
Plan Completion
plans/absorb-pstack.md§4 items 4, 6 (AGENTS.md sentence only), 7, 8 (ETHOS part): 4 of 4 DONE; nothing deferred.Verification Results
No Step 8.1 obligations (the plan carries no executable checks); Step 9's required smoke probes: 3 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN.
TODOS
No TODO items completed in this PR.
Documentation
Status: blocked. Two factual corrections applied to authored docs; one decision on a guarded file (ETHOS.md) is left for the parent and a protected-metadata/.tmpl item is reported as a decision.
Scope: base 576839c..head 13a40c4 plus the unstaged CHANGELOG.md edit, 10 selected files (all candidate hashes matched the working tree at audit start). Discovery covered the candidate's 129 documentation entries; read in full or by diff: AGENTS.md, CHANGELOG.md (new entry), ETHOS.md (diff and headings), NOTICE.md, docs/TESTING_INTERNALS.md (the new section and its cited sources; the rest of the 1.5k-line file was not re-read), docs/proactive.md, eval-plan/SKILL.md.tmpl, plan-tune/SKILL.md.tmpl, with cross-checks against README.md, CLAUDE.md, docs/skills.md and docs/PROJECT_STRUCTURE.md. Generated SKILL.md files were not edited or read in full. gstack-banned-terms: none. Tests: test/proactive-core-set.test.ts 18 pass / 0 fail after the edits.
Edits (edit mode):
Blocker (audit): ETHOS.md (committed in 92002dc/13a40c4: principles 5 to 8, How They Work Together lines, Credits section): CLAUDE.md "Community PR guardrails" item 1 and .github/PULL_REQUEST_TEMPLATE.md say ETHOS.md takes no edits from AI agents without an explicit owner decision; the audit could not confirm that decision from the repository. Parent disposition: the decision exists outside the repository. Garry approved plans/absorb-pstack.md item 8 (the four ETHOS principles) at full scope on 2026-10-26 with the words "Do it, send", relayed by GStack Minder (GSTA-36); it is recorded in the per-thread approval record (
gstack-approvals, a-67839f7229ec) and rendered under ## Approvals below. The status stays blocked as the audit reported it; the approved scope and this exact content are covered by that decision.Documentation health:
AGENTS.md Current (step 4 limiter sentence is accurate and consistent with ETHOS principle 8)
CHANGELOG.md Current (parent-owned; unstaged correction matches the verified facts; not edited by the audit)
ETHOS.md Reviewed, not edited (guarded file, see blocker)
NOTICE.md Current (credit line names the right files)
docs/TESTING_INTERNALS.md Updated (candidate-visible root list corrected; fixture-directory list and anchors verified)
docs/proactive.md Updated (one-way-door attribution corrected, line rewrapped)
eval-plan/SKILL.md.tmpl Current (Step 1c exists, word list matches TESTING_INTERNALS, prereg --check statement matches QA probe); generated SKILL.md not checked beyond the diff stat
plan-tune/SKILL.md.tmpl Reviewed, not edited (.tmpl is parent-owned; see decisions)
README.md, CLAUDE.md, docs/skills.md, docs/PROJECT_STRUCTURE.md Current for this change (no stale counts; ETHOS mentions are partial lists)
VERSION Not touched (1.91.256.0; CHANGELOG top entry is [Unreleased], stamped by the train)
Documentation coverage:
entity reference how-to tutorial explanation
ETHOS principles 5 to 8 yes n/a n/a yes (ETHOS.md itself)
/eval-plan Step 1c blinding yes (TESTING_INTERNALS) no (docs/skills.md /eval-plan lacks it) no yes (TESTING_INTERNALS)
/plan-tune observable-questions rule yes (proactive.md) no (docs/skills.md has no /plan-tune section; the table anchor #plan-tune has no heading) no yes (proactive.md)
AGENTS.md step 4 limiter sentence yes n/a n/a yes
Diagram drift: none found; no diagrams touched by this change.
Decisions left open (not edited): plan-tune/SKILL.md.tmpl's new "Observable questions" bullet calls spend and third-party reach "a one-way door ... (see the rule above)" while the rule above and scripts/one-way-doors.ts cover destructive, architectural and security questions; a .tmpl change is a prompt change and is recorded as a review note rather than fixed in this PR.
Documentation debt (reported, not filled): docs/skills.md /eval-plan section does not mention Step 1c or the Blinding section; docs/skills.md has no /plan-tune heading for the table's #plan-tune link (pre-existing).
Test plan
bun run typecheck: clean (gstack-evidence labeltypecheck, FRESH at 27305c2).bun test test/parity-suite.test.ts test/testing-internals-anchors.test.ts test/skill-validation.test.ts test/gen-skill-docs.test.ts test/changelog-merge-damage.test.ts test/claude-md-size.test.ts test/agents-digest.test.ts test/skill-md-size-guard.test.ts test/pr-dependencies.test.ts test/proactive-core-set.test.ts test/bun-entry-isolation.test.ts test/state-root-ratchet.test.ts test/module-size-ratchet.test.ts: 911 pass, 0 fail (gstack-evidence labeltests, FRESH at 27305c2).bun run gen:skill-docs --host allandbun scripts/gen-agents-digest.ts: no diff at 27305c2.bun run typecheck:test: 819 known diagnostics, none new (at 92002dc; no TypeScript changed since).gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commands(standard-8 VM): PREGATE_REMOTE tree=fe609fcd4742 tests=17157 failed=0 spent=$0.03; macOS (run 40407772426) and Windows (run 40407772234) lanes cleared from PR CI at 27305c2;gstack-pregate verify: ok.plan-tune-inspectPASS 1/1 ($0.12).🤖 Generated with Claude Code