mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 03:44:38 +01:00
First versions open with the owner's own words, and the try-it check follows his exact steps (GST-3608) (#4759)
When we hand someone the first version of something, the approval page and the try-it message now open with their own quoted requests, each marked "does it" or a lettered choice. Before they're asked to try it, gstack-first-use has an agent from another model family follow the exact numbered steps on their real setup, and holds the message until no step is broken, wrong or needs a lookup. Nothing to do: this changes /autoplan's first-version gate, gstack-first-use and the guides that point to it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/red-team#1 reader=red-team Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p1/red-team#3 reader=red-team Review-Finding: p1/specialist-batched#1 reader=testing Review-Finding: p2/outside-voice#1 reader=outside-voice Review-Finding: p3/red-team#1 reader=red-team Review-Finding: gsta825-ship2/p1/outside-voice#2 reader=outside-voice Review-Finding: gsta825-ship2/p1/outside-voice#3 reader=outside-voice Review-Finding: p1/specialist-batched#1 reader=state-machines
This commit is contained in:
1 parent
40986b7c76
commit
e78a1bfe32
38 files changed
+1126
-342
No files matched your search
+59
-32
@@ -1,63 +1,88 @@
|
||||
# Check an app build before its owner tries it
|
||||
# Check a first version before its owner tries it
|
||||
|
||||
When an agent builds an app for someone, every review can pass and the first thing the owner taps can still be broken. `gstack-first-use` closes that gap. Before a build reaches its owner as "ready to try", a fresh agent from a **different model family** than the one that built it plays that exact build cold, on the same kind of device and account the owner uses. It does the first five things the plan says the owner will do on day one, saves a screenshot or short video of each, checks that every link in the message is live, and predicts the owner's score from 1 to 10. Only when all of that passes does the tool print the "try this build" message.
|
||||
When an agent builds the first version of something for a person, every review can pass and the first thing the owner tries can still be broken, or do less than he asked. Six first versions in November 2026 all drew a complaint first: in at least four the gap was written down before he touched it, and in none did anyone run the exact steps we then asked him to do on his real setup. Two things close that gap.
|
||||
|
||||
It gates two things: the message that asks the owner to try a build, and any "v1 is ready" report. It does not gate `/ship`: code review and the first-use check answer different questions.
|
||||
1. **The plan and the try-it message start from the owner's own words.** A first version's plan quotes each message of the owner's that states the job, with its time, and gives each one a line: it does it, or it leaves it as a lettered choice. Nothing his words asked for sits under "What it won't do yet". The five things he'll do on day one cite those quotes.
|
||||
2. **An agent runs his exact try-it steps on the real target first.** Before a build reaches its owner as "ready to try", a fresh agent from a **different model family** than the one that built it follows the exact message we're about to send, step by step, on the real target, and records a verdict and one line per step. Only when nothing is broken, wrong or asks him for something an agent could look up does `gstack-first-use` print the message.
|
||||
|
||||
It gates two things: the message that asks the owner to try a build, and any "v1 is ready" report. It does not gate `/ship`: code review and the first-use check answer different questions. Any report of a passing test on a build the owner doesn't hold yet also names the build he does hold and its known defects.
|
||||
|
||||
## The owner's words and the day-one table
|
||||
|
||||
A plan is a first version when it has a `Day one` section or the run passes `--first-version` (on `gstack-autoplan next` or in the plan's scope marker). Both kinds of plan use the same two sections: the plan `/autoplan` puts on its approval page, and the one-page list of the first five things the owner does on day one.
|
||||
|
||||
```markdown
|
||||
### Owner's words
|
||||
|
||||
- Ada Example, 2026-11-18 09:12Z: "I keep forgetting which plant needs water" → does it
|
||||
- Ada Example, 2026-11-18 09:14Z: "and tell my partner when I'm away" → choice; size: two days; leave out: needs a second account
|
||||
```
|
||||
|
||||
Each bullet is who, when, the words in quotes, then an arrow (`→` or `->`) and the line:
|
||||
|
||||
| Line | Meaning | At the gate |
|
||||
|---|---|---|
|
||||
| `does it` | this version does what the words ask | a reviewer who finds it does less files a `narrows_quote` finding, and the gate asks |
|
||||
| `choice` | this version doesn't fully do it yet | one lettered choice quoting the words: a) build it in this version, b) leave it out. It recommends a, unless the line says `leave out: <reason>`, shown on the choice. `size: <n>` is shown as the cost |
|
||||
|
||||
A cut under `### What it won't do yet` that drops a quoted line becomes that quote's choice and leaves the list. On a first version every other cut gets its own letter. The owner brief shows the quotes and their lines first, then the day-one table, then the remaining cuts.
|
||||
|
||||
The day-one table needs a heading named `Day one` (any level; `Day-one page` also works) followed by a table with these seven columns, in any order:
|
||||
|
||||
| action | frequency | source | feature | route | first build | check |
|
||||
|---|---|---|---|---|---|---|
|
||||
| sees which plant needs water today | daily | owner words 1 | Today list | root screen | build 1 | the plant due today is at the top, marked due |
|
||||
|
||||
The table needs at least five rows, and every cell of the first five needs a value; the check freezes those five in table order. Each of the five cites a quote with `owner words <n>`. A row whose source starts with `assumed` must be confirmed with the owner first; once he confirms it, add his answer to Owner's words and cite it. `test/first-use.test.ts` pins this format, so a change to the parser fails that test instead of quietly changing what gets checked.
|
||||
|
||||
## The steps
|
||||
|
||||
Run these from the thread that owns the build (on Capy, a Captain or the agent building the app).
|
||||
Run these from the thread that owns the build (on Capy, a Captain or the agent building it).
|
||||
|
||||
1. **Freeze the five actions and the build.**
|
||||
1. **Freeze the steps, the build and what the owner holds now.**
|
||||
|
||||
```bash
|
||||
gstack-first-use start --app plantpal --plan plan.md --play play.json \
|
||||
--platform ios --commit <full commit sha> --testflight 17 \
|
||||
--holding "TestFlight build 16" --holding-defects "the care card shows yesterday's date" \
|
||||
--builder anthropic/claude-opus-5-5 --checker openai/gpt-6.2-sol
|
||||
```
|
||||
|
||||
It reads the first five rows of the plan's day-one table, records their hash, the play spec and the build fingerprint (the commit plus the TestFlight build number, or `--deploy <version>` for a web or Android build) in a write-once `manifest.json`, and prints `FIRST_USE_RUN: <dir>`. It refuses when the table is missing or malformed, has fewer than five rows, has an empty cell in its first five rows or still has a row marked `assumed` among them, when the play spec misses a part, or when the checker's model family is the builder's.
|
||||
Platforms are `ios`, `android`, `web`, `macos` (a Mac app or helper) and `server` (software on the owner's box); give `--deploy <version>` for anything not on TestFlight. `--holding none --holding-defects none` marks a first build. `start` freezes the owner's quotes, the play spec's numbered steps followed by the five day-one actions, and the try-it text into a write-once `manifest.json`, with a hash over the rows and the text of every quote, and prints `FIRST_USE_RUN: <dir>`. It refuses a plan whose table or quotes are missing or malformed, a play spec that misses a part, and a checker from the builder's model family.
|
||||
|
||||
2. **Hand the checker its brief.** `gstack-first-use brief --run <dir>` prints everything the checker gets: the device and account, the play text, and the five frozen actions with the commands to record each. Give it to one fresh agent on the `--checker` model and nothing else about the build: no plan, no code, no notes. Every value the brief puts into a command is shell-quoted, so the checker can paste the lines as they are. On Capy, start a subagent with that model on `machine: "fresh"`; it attaches a cloud phone with `tools.capy.phone` (`attach`, then `install` with the build from `tools.mobile.build`) and drives the screen with `tools.capy.computer`, or opens a web build in the browser. It runs its own gstack install check first.
|
||||
2. **Hand the checker its brief.** `gstack-first-use brief --run <dir>` prints everything the checker gets: the target and its rules, the exact try-it message, and each step with what it writes and the commands to record it. Give it to one fresh agent on the `--checker` model and nothing else about the build: no plan, no code, no notes. On Capy, start a subagent with that model on `machine: "fresh"`. For a phone build it attaches a cloud phone (`tools.capy.phone`) pointed at the target; for a Mac build on the owner's own Mac it drives Aside over Tailscale; for a server build it works over the box's shell. It runs its own gstack install check first.
|
||||
|
||||
3. **The checker records each action and predicts the score.**
|
||||
3. **The checker records each step and predicts the score.**
|
||||
|
||||
```bash
|
||||
gstack-first-use record --run <dir> --action 1 --verdict pass --evidence today.png \
|
||||
--device "iPhone 17 Pro (cloud)" --account "fresh Apple ID" --by openai/gpt-6.2-sol
|
||||
gstack-first-use record --run <dir> --step 3 --verdict useful --line "three plants show with their names" \
|
||||
--evidence today.png --device "iPhone 17 Pro (cloud)" --account "a fresh Apple ID" \
|
||||
--target "the Plantpal test account" --by openai/gpt-6.2-sol
|
||||
gstack-first-use predict --run <dir> --score 6 --why "reminders work, adding plants is slow" --by openai/gpt-6.2-sol
|
||||
```
|
||||
|
||||
The evidence file (PNG, JPEG, GIF, WebP, HEIC, MP4, MOV or WebM, up to 100 MB) is copied into the run and recorded with its hash and size. A fail needs `--note` saying what happened. Only the checker's family may record, and `--account` must be the play spec's owner-equivalent account exactly (the brief prints it), so a pass on a developer or admin account doesn't count. Replaying an action adds a new result; the newest one counts.
|
||||
A verdict is `useful` (does what he asked, well), `thin` (works but does little), `wrong` (does something other than what he asked) or `broken` (fails). `--needs-lookup <what>` marks a step that asks the owner for something an agent could look up or do; `--notice <text>` marks a system notice or prompt the message doesn't warn about. Evidence is a screenshot, short video or terminal capture (PNG, JPEG, GIF, WebP, HEIC, MP4, MOV, WebM, TXT or LOG, up to 100 MB), copied into the run with its hash. Only the checker's family may record, and `--account` and `--target` must match the play spec exactly. The checker's text is kept to one plain line. Replaying a step adds a new result; the newest one counts.
|
||||
|
||||
4. **Check the links right before sending.** `gstack-first-use links --run <dir> --account "<the play spec's account>" --device-class ios` opens every link in the play spec and writes a dated receipt for each, bound to that audience: the owner-equivalent account and the build's device class. It refuses any other audience, and the gate counts only receipts for this one. A link passes on a 2xx or 3xx answer. A 401 or 403 passes only when the play spec marks the link `"login_gated": true`. The request itself carries no sign-in, so for a login-gated link the receipt proves the link is up and gated; the checker's played results on that account prove the sign-in works.
|
||||
4. **Check the links right before sending.** `gstack-first-use links --run <dir> --account "<the play spec's account>" --device-class ios` opens every link and writes a dated receipt bound to that audience. A link passes on a 2xx or 3xx answer; a 401 or 403 passes only when the play spec marks it `"login_gated": true`.
|
||||
|
||||
5. **Print the message.** `gstack-first-use message --run <dir> --platform ios --commit <sha> --testflight 17` prints the "try this build" text only when every check below passes, and refuses otherwise, printing nothing on stdout. Send that text as it is. For a "v1 is ready" report, run `gstack-first-use check` with the same flags and paste its `FIRST_USE: pass …` line.
|
||||
5. **Print the message.** `gstack-first-use message --run <dir> --platform ios --commit <sha> --testflight 17` prints the try-it message only when every check below passes, and refuses otherwise, printing nothing on stdout. It opens with the owner's quotes and what this version does with each, then the ten play parts with the numbered steps, then "What you'll notice" (every thin step and notice), "The build on your device now" (its known defects, or that this is his first build) and one verdict line per step. Send it as it is. For a "v1 is ready" report, run `gstack-first-use check` with the same flags and paste its `FIRST_USE: pass …` line.
|
||||
|
||||
6. **Save the owner's reaction.** When the owner replies, `gstack-first-use score --run <dir> --score 4 --words "4, Talk is slow" --by "<who relayed it>"`. `gstack-first-use show --run <dir>` prints the predicted score, the owner's score and words, and the gap between them.
|
||||
6. **Save the owner's reaction.** When the owner replies, `gstack-first-use score --run <dir> --score 4 --words "4, Talk is slow" --by "<who relayed it>"`. `gstack-first-use show --run <dir>` prints each step's verdict, the predicted score, the owner's score and words, and the gap between them.
|
||||
|
||||
## What the gate refuses
|
||||
|
||||
`check` and `message` pass only when all of these hold. Each failure is listed in the `FIRST_USE_REFUSED` line ([troubleshooting](troubleshooting.md#first-use-refused)).
|
||||
|
||||
- The build you're about to send is the one that was checked (`build_mismatch`).
|
||||
- The plan's first five day-one rows haven't changed since `start` (`source_changed`, `source_missing`). An edit elsewhere in the plan doesn't count.
|
||||
- Every frozen action's newest result, from the checker's family on the owner-equivalent account, is a pass, and its evidence file still matches its hash (`action_<n>_not_played`, `action_<n>_failed`, `action_<n>_evidence_stale`).
|
||||
- Every link has a live receipt from the last 15 minutes, checked as the owner-equivalent account and device class (`link_unchecked`, `link_down`, `link_stale`).
|
||||
- The first five day-one rows and the owner's quotes haven't changed since `start` (`source_changed`, `source_missing`), and neither has the frozen try-it text (`try_text_changed`). An edit elsewhere in the plan doesn't count.
|
||||
- Every step's newest result, from the checker's family on the owner-equivalent account and the play spec's target, has intact evidence (`step_<n>_not_played`, `step_<n>_evidence_stale`) and is not `wrong` or `broken` (`step_<n>_wrong`, `step_<n>_broken`).
|
||||
- No step asks the owner for something an agent could look up or do (`step_<n>_needs_lookup`).
|
||||
- No day-one action is `thin` (`step_<n>_thin`): each one comes from his words. A thin play step passes and is named in the message.
|
||||
- Every link has a live receipt from the last 15 minutes (`link_unchecked`, `link_down`, `link_stale`).
|
||||
- The checker predicted a score (`no_predicted_score`).
|
||||
|
||||
The message never shows the predicted score, so it can't anchor the owner's own.
|
||||
|
||||
## The day-one table
|
||||
|
||||
Both kinds of plan feed the check in one format: the day-one table that `/autoplan` puts on the plan-approval page, and the one-page list of the first five things the owner does on day one. Either one needs a heading named `Day one` (any level; `Day-one page` also works) followed by a table with these seven columns, in any order:
|
||||
|
||||
| action | frequency | source | feature | route | first build | check |
|
||||
|---|---|---|---|---|---|---|
|
||||
| sees which plant needs water today | daily | owner words 1 | Today list | root screen | build 1 | the plant due today is at the top, marked due |
|
||||
|
||||
The table needs at least five rows, and every cell of the first five needs a value; the check freezes those five in table order. A row whose source starts with `assumed` must be confirmed with the owner before `start` will freeze it. `test/first-use.test.ts` pins this format with one fixture of each kind, so a change to the table parser fails that test instead of quietly changing what gets checked.
|
||||
|
||||
<a id="play-spec"></a>
|
||||
## Play-message requirements
|
||||
|
||||
@@ -66,9 +91,9 @@ Every ask to play or try a build carries full play instructions in the same mess
|
||||
| Part | Field | Notes |
|
||||
|---|---|---|
|
||||
| 1. The links | `links`: `[{ "label", "url", "login_gated"? }]` | http or https; each checked live within 15 minutes of sending |
|
||||
| 2. Device and setup | `device`, `setup`, `account` | the owner's device kind and account kind; the checker plays on the same kind, and results and link receipts are bound to `account` and the build's platform |
|
||||
| 2. Device and setup | `device`, `setup`, `account`, `target` | `target` is `{ "kind": "realistic-copy", "name", "data" }` (the default kind: a copy loaded with realistic data, named) or `{ "kind": "real", "name" }` for the owner's own setup |
|
||||
| 3. What it is, in a sentence | `what` | |
|
||||
| 4. How to start | `start` | |
|
||||
| 4. How to start | `start`, `steps` | `steps` is `[{ "text", "writes", "approved_write"? }]`: what the owner does, and what it writes (`"none"` or what). A step that writes on a `real` target needs `approved_write` naming the owner's lettered approval for that write. On a `real` target `action_writes` is also required: five `{ "writes", "approved_write"? }` entries, one per day-one row in table order, under the same rule; on a copy an action without one is briefed as `unknown, so treat it as a write` |
|
||||
| 5. Controls | `controls` | |
|
||||
| 6. How long to play | `minutes` | a whole number from 1 to 240 |
|
||||
| 7. What we want to learn | `learn` | |
|
||||
@@ -76,18 +101,20 @@ Every ask to play or try a build carries full play instructions in the same mess
|
||||
| 9. Known quirks | `quirks` | "none" is fine; empty isn't |
|
||||
| 10. Reply word | `reply_word` | one word |
|
||||
|
||||
On the owner's real setup the checker only reads: the brief forbids sending anything as the owner, writing to his setup except an approved write, and raising a prompt on his machine while he is using it. It also tells the checker that what it reads goes to its model provider.
|
||||
|
||||
## Where the record lives
|
||||
|
||||
The record holds the owner's own scores and words, so it stays private. On Capy it lives in the owner's user-level Capy Drive folder (`~/.capy/drive/user-*/first-use/<app>/<run>/`), which every thread the owner has opened can read and nobody else's can. If none or several such folders are mounted, the tool refuses rather than fall back to the machine's throwaway folder. Off Capy it lives under the gstack state root (`first-use/`). `GSTACK_FIRST_USE_DIR` overrides both. Nothing from a run belongs in a public repository or a PR body.
|
||||
|
||||
A run directory holds `manifest.json`, `results/`, `evidence/`, `links/`, `prediction.json` and `owner/`. Every file is written once; to check again (a new build, changed day-one rows, a new prediction), start a new run.
|
||||
A run directory holds `manifest.json`, `results/`, `evidence/`, `links/`, `prediction.json` and `owner/`. Every file is written once; to check again (a new build, changed day-one rows or quotes, a new prediction), start a new run. Runs started before the try-it steps were checked (schema 1) refuse with a line saying to start a new one.
|
||||
|
||||
## How we'll know it helps
|
||||
|
||||
With a handful of builds, this is a case series, not an eval. For each build, keep the pass count, the owner's score and words, the predicted score, and any escape: a day-one action that failed on the owner's device after the check passed it. The targets are zero escapes and a median owner score of 7 or more across the next three app builds. `gstack-first-use show --json` prints each run's numbers.
|
||||
With a handful of builds, this is a case series, not an eval. For each first version, keep the step verdicts, the owner's score and his first words, the predicted score, and any escape: a step that failed or disappointed him after the check passed it, or a first reply that names something his quoted words asked for. The targets are zero escapes and a median owner score of 7 or more across the next three first versions; the factory's weekly first-use table tracks them. If two of the next three still draw a complaint about something the check passed or the quotes covered, the check goes back for a "Why null?" review.
|
||||
|
||||
## What it doesn't do yet
|
||||
|
||||
- It doesn't drive the owner's own phone; it plays on a cloud device of the same kind.
|
||||
- It doesn't prove the target is real: the checker declares it, as it declares the account, and the record names it.
|
||||
- It doesn't dispatch the checker by itself; the thread that owns the build starts it with the brief.
|
||||
- It doesn't check the wording of other messages sent to the owner.
|
||||
@@ -2500,12 +2500,12 @@ whose Plan line differs from the PR body's current line.
|
||||
<a id="first-use-plan-unready"></a>
|
||||
### `gstack-first-use start: ... (FIRST_USE_PLAN_UNREADY)`
|
||||
|
||||
**Meaning.** `start` could not freeze the day-one actions: the plan has no `### Day one` table, the table is missing a column or has fewer than five rows, one of its first five rows has an empty cell, or one of them is still marked `assumed`. Exit 3; nothing is written. **Fix.** Give the plan the pinned table ([first-use-check.md](first-use-check.md#the-day-one-table)) and confirm every assumed row with the owner, then rerun `start`.
|
||||
**Meaning.** `start` could not freeze the steps: the plan has no `### Day one` table, the table is missing a column or has fewer than five rows, one of its first five rows has an empty cell, is still marked `assumed` or cites none of the owner's quotes (`owner words <n>`), or the plan has no `### Owner's words` section, or a quote there has no time or no line (`does it` or `choice`). Exit 3; nothing is written. **Fix.** Quote the owner's messages that state the job and cite them from the table ([first-use-check.md](first-use-check.md#the-owners-words-and-the-day-one-table)); a row the owner confirmed at the gate cites his answer, added to Owner's words. Then rerun `start`.
|
||||
|
||||
<a id="first-use-play-spec-incomplete"></a>
|
||||
### `gstack-first-use start: ... (FIRST_USE_PLAY_SPEC_INCOMPLETE)`
|
||||
|
||||
**Meaning.** The play spec JSON misses one of the ten parts every ask to play or try a build carries (links, device and setup, what it is, how to start, controls, how long, what we want to learn, how to report back, known quirks, reply word). The line names each missing part and field. Exit 3. **Fix.** Fill them in ([first-use-check.md](first-use-check.md#play-spec)); "none" is a fine value for known quirks.
|
||||
**Meaning.** The play spec JSON misses one of the ten parts every ask to play or try a build carries (links, device and setup with its `target`, what it is, how to start with its numbered `steps`, controls, how long, what we want to learn, how to report back, known quirks, reply word), or a step writes on the owner's real setup with no `approved_write` naming his approval. The line names each missing part and field. Exit 3. **Fix.** Fill them in ([first-use-check.md](first-use-check.md#play-spec)); "none" is a fine value for known quirks and for a step's writes. Run a step that writes on a realistic copy, or get the owner's lettered approval for that write first.
|
||||
|
||||
<a id="first-use-same-family"></a>
|
||||
### `gstack-first-use start|record|predict: ... (FIRST_USE_SAME_FAMILY)`
|
||||
@@ -2520,12 +2520,12 @@ whose Plan line differs from the PR body's current line.
|
||||
<a id="first-use-record-invalid"></a>
|
||||
### `gstack-first-use: ... (FIRST_USE_RECORD_INVALID)`
|
||||
|
||||
**Meaning.** A value or file is invalid: a bad `--commit`, `--action`, `--verdict` or score, an `--account` or `--device-class` that isn't the run's owner-equivalent audience, a run directory outside the record root, evidence that is not a screenshot or short video (or is empty, a link, or over 100 MB), an unreadable manifest, or a second prediction on a run. Exit 1. **Fix.** Correct the value. Run files are written once; to redo a check, start a new run.
|
||||
**Meaning.** A value or file is invalid: a bad `--commit`, `--platform`, `--step`, `--verdict`, `--line` or score, missing `--holding` or `--holding-defects`, an `--account`, `--target` or `--device-class` that isn't the run's owner-equivalent audience and target, a run directory outside the record root, evidence that is not a screenshot, short video or terminal capture (or is empty, a link, or over 100 MB), an unreadable manifest or a schema-1 run from before the try-it steps were checked, or a second prediction on a run. Exit 1. **Fix.** Correct the value. Run files are written once; to redo a check, or to continue from a schema-1 run, start a new run.
|
||||
|
||||
<a id="first-use-refused"></a>
|
||||
### `gstack-first-use check|message: ... (FIRST_USE_REFUSED)`
|
||||
|
||||
**Meaning.** The build has not cleared its first-use check, so `message` prints no "try this build" text and `check` prints no `FIRST_USE: pass` line. The detail lists every reason: `build_mismatch`, `source_changed`, `source_missing`, `action_<n>_not_played`, `action_<n>_failed`, `action_<n>_evidence_stale`, `link_unchecked`, `link_down`, `link_stale` (over 15 minutes old), `no_predicted_score`, `record_unreadable`. Exit 3. **Fix.** Fix the build and replay failed actions, rerun `links` right before sending, or start a new run for a new build or changed day-one rows.
|
||||
**Meaning.** The build has not cleared its first-use check, so `message` prints no try-it message and `check` prints no `FIRST_USE: pass` line. The detail lists every reason: `build_mismatch`, `source_changed` (the day-one rows or the owner's quotes changed), `source_missing`, `try_text_changed`, `step_<n>_not_played`, `step_<n>_broken`, `step_<n>_wrong`, `step_<n>_needs_lookup` (the step asks the owner for something an agent could look up or do), `step_<n>_thin` (only for a day-one action, which comes from the owner's words), `step_<n>_evidence_stale`, `link_unchecked`, `link_down`, `link_stale` (over 15 minutes old), `no_predicted_score`, `record_unreadable`. Exit 3. **Fix.** Fix the build or the step and replay it, rerun `links` right before sending, or start a new run for a new build, changed day-one rows or changed quotes.
|
||||
|
||||
## /ship token budget and fresh-context handoffs (gstack-ship-budget)
|
||||
|
||||
|
||||
+12
-5
@@ -610,8 +610,14 @@ The example above is the full run. The first `next` also takes `--kind`:
|
||||
one-voice challenge keeps it. An earlier round's open challenge stays until
|
||||
answered or marked fixed (`resolves`). `### Day one` and `### What it won't
|
||||
do yet` add `day_one` and `cut` approval items (a missing day-one page on a
|
||||
UI plan, each `assumed` row, each cut that drops a day-one row or quoted
|
||||
owner line) and one `cuts` auto item for the rest.
|
||||
UI plan, each `assumed` row, each cut that drops a day-one row) and one
|
||||
`cuts` auto item for the rest. A first version (a `### Day one` section or
|
||||
`--first-version`) letters every cut instead, and adds `owner_words` items
|
||||
for a missing Owner's words section or a quote with no time or line. Each
|
||||
quote this version doesn't fully do (its line says `choice`, a cut drops it,
|
||||
or a reviewer's `narrows_quote` finding says the plan narrows it) is one
|
||||
`owner_choice` approval item: a) build it, recommended unless the line says
|
||||
`leave out: <reason>`, b) leave it out ([first-use-check.md](first-use-check.md#the-owners-words-and-the-day-one-table)).
|
||||
4. **Answer the gate** with the reply grammar and the revision you read:
|
||||
```bash
|
||||
$AP answer --out <dir> --gate-rev 1 --reply "rec" --by human # every recommendation, plan changes included (APPLY: ...; amend_pending)
|
||||
@@ -957,7 +963,7 @@ predictions with his answers.
|
||||
- **The record.** `shadow/ceo-only.r<rev>.jsonl`, one row per gate item: the
|
||||
frozen item, `item_class` (`challenge2`, `challenge1`, `disagree`, `agent`,
|
||||
`cap_deferred`, `cap_blocker`, `cap_delta`, `finding`, `proposal`,
|
||||
`confirm_direction`, `day_one`, `cut`, `cuts`, `p1`), `ceo_eligible`
|
||||
`confirm_direction`, `day_one`, `cut`, `cuts`, `owner_words`, `owner_choice`, `p1`), `ceo_eligible`
|
||||
(false for a `finding` item, which a CEO-only run leaves to the owner), the
|
||||
prediction, `rule_pick` (the driver's keep-direction pick, the free
|
||||
baseline), `rec_hash`, the plan and prompt hashes, the model, the gstack
|
||||
@@ -988,8 +994,9 @@ predictions with his answers.
|
||||
gate, interactive or unattended: one page built from `gate.json`,
|
||||
`decisions.jsonl` and `findings.jsonl` (`BRIEF_INPUT_MISSING` when one is
|
||||
absent). It opens with the `URGENT, outside this plan` block, then the
|
||||
plan's `### Day one` table, its `### What it won't do yet` cuts and the
|
||||
owner's words it follows (each only when the plan has it), then a
|
||||
owner's words it follows with each quote's line, the plan's `### Day one`
|
||||
table and its remaining `### What it won't do yet` cuts (each only when the
|
||||
plan has it; a cut that drops a quote is asked beside that quote), then a
|
||||
plain-language summary (phases closed, findings accepted, how many decisions
|
||||
take their default, the cycle time; `--summary <file>` or `<dir>/summary.md`
|
||||
replaces the generated sentence with the run's own), then the numbered
|
||||
|
||||
Reference in new issue
Block a user