Repository navigation
v1.91.101.0 Close the field wave's residual gaps (v1.91.101.0) - #3173
Merged
Merged
Conversation
- `all` leaves items recommended b pending; answer --by names the author (ANSWER_BY_REQUIRED unattended), decisions.jsonl records answered_by - every later autoplan phase carries every closed predecessor's consensus - install-scoped workflow lease (bin/gstack-lease, bin/gstack-harness-pid.sh); gstack-upgrade refuses UPGRADE_BUSY while a foreign live lease exists - bin/gstack-capy-session fast-forwards a checkout behind origin above the GSTACK_MIN_REVISION floor (SELF_UPGRADE: lines); --check reports it - lib/ and bin/*.ts spawn process.execPath, never the PATH bun - tests hand every spawned bin a per-run GSTACK_LEASE_DIR 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>
|
😎 This pull request was merged. |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
E2E Evals: ✅ PASS107 executed, 14 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $90.62 rule/judge cost | reconcile exit: 0 Profile: pr / mode Full gate restored by:
Derived dependents (scripts/pr-dependencies.ts):
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. |
ship-exploratory-plan-checks failed in the PR gate: the caller read qa/sections/exploratory.md and started the smoke guard, tests and captures without reading scope.md or system-functional.md. The preflight is now an ordered list (entrypoint, scope, each listed method, each in its own response) and names the guard start, captures and plan checks as probes that wait for them. Review stays lazy (no method file is named in the caller); parity size caps hold. 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>
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.
Stamp-at-merge PATCH under GSTA-25 (
STAMP_VERSION=1.91.101.0, base main15ebd85). Closes the gaps that running v1.91.96.0–v1.91.100.0 (the field wave,docs/designs/GSTACK_FIELD_WAVE_2026_10_12.md) on a Capy machine left open. Every item lands with a test that failed first on 1.91.100.0.Gate answers
gstack-autoplan answer <rev> allresolves only the items the reviewers recommend keeping. An item recommendedbstays pending withGATE_PENDING: <ids> unanswered …and the render lineall does not answer <id> (recommended b changes the plan); reply <id>a or <id>b yourself;all except <id>bstill works (lib/gate-list.tsheldFromAll/resolveAll/pendingHint,lib/autoplan-gate.ts).answertakes--by <human|agent:<id>>. An unattended run refuses an answer without it (ANSWER_BY_REQUIRED, exit 3, troubleshooting anchor);decisions.jsonlrows carryanswered_by, and the owner brief's answer command includes--by human.openPhasepasses every closed predecessor's consensus to every later phase (DX and Design now see CEO's, not only Eng), so a reopened CEO decision reaches the phases that depend on it (lib/autoplan-run.ts).Shared installation under concurrent sessions
bin/gstack-lease(touch|live|list): an install-scoped lease at<git dir>/gstack-leases/<harness pid>(GSTACK_LEASE_DIRoverrides), pruned after 120 minutes.bin/gstack-skill-starttouches it on every start and the/autoplandriver renews it on every mutating command (touchInstallLease, fail-open).bin/gstack-harness-pid.shis the one harness-pid derivation both writers source; theif [ -z "$PARENT_PID" ]formtest/docsync-lifecycle-interface.test.tspins is kept.bin/gstack-upgraderefuses withUPGRADE_BUSY(exit 3) while a lease whose pid is alive and outside its own process chain exists;GSTACK_UPGRADE_FORCE=1overrides. New--ff-only-no-reinstallmode for a caller about to run the installer itself.Always current on Capy
GSTACK_MIN_REVISIONis the floor (trailer fails, frozen bootstrapper fast-forwards below it). Above it,bin/gstack-capy-sessionfast-forwards any clean, unpinned checkout behind origin at install-mode session start viagstack-upgrade --ff-only-no-reinstall, printsSELF_UPGRADE: done <old> -> <new>and re-execs the new checkout's wrapper so the install runs from the new revision; a refusal printsSELF_UPGRADE: skipped (<reason>)and the session continues.--checknever moves the checkout and printsgstack-capy-session: behind origin/<branch>: … fix: ….GSTACK_CAPY_SELF_UPGRADE=offdisables only this;GSTACK_CAPY_AUTO_UPGRADE=0disables every fast-forward. The frozen bootstrapper is untouched.capy/skill/gstack/SKILL.md,capy/support.env,docs/capy-install.mddescribe the floor-vs-tip split; the vendored SKILL.md stays under its context-budget ceiling.Bun honesty
lib/autoplan-prompts.ts,lib/restamp.ts(two sites) andbin/gstack-gbrain-sync.tsspawnprocess.execPathinstead of the PATHbun.lib/autoplan-admission.tskeeps probing the PATH Bun on purpose and is the one exemption in the new rule test.Tests
test/autoplan-residuals.test.ts(theallrule, carried consensus, theprocess.execPathrule overlib/andbin/*.ts,--by),test/gstack-lease.test.ts;UPGRADE_BUSYandSELF_UPGRADE:cases intest/gstack-upgrade-bin.test.tsandtest/capy-skill-wrapper.test.ts;--by humanadded to existing answer calls.test-setup.ts),test/helpers/hermetic-env.ts,test/helpers/capy-host.tsand the remaining scrubbed-env fixtures hand every spawned bin a per-runGSTACK_LEASE_DIR, so no test leases the developer's checkout (verified:.git/gstack-leasesempty after the quick suite). Both new test files are auto-excluded from the Windows subset bydetectWindowsFragility.Verification
bun run typecheckclean;typecheck:testratchet 865 known, none new;gstack-regen check --allow-repo-commandsfresh;format:cso:checkclean; context-budget ratchet green; secret scan 0 high.bun run test:quickon the integrated tree fails only intest/cso-witness.test.ts,test/gstack-retro-metrics.test.tsandtest/gstack-docs-candidate.test.ts, each of which fails identically on clean main15ebd85on this machine (baseline run), so CI is the arbiter for those.