mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 22:45:02 +01:00
docs(ship-budget): reconcile records a child's used= as child_used; only meter=estimate adds it to the parent's used
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
7792577daf
commit
3e819f17d1
1 file changed
+3
-1
+3
-1
@@ -144,7 +144,9 @@ line prints `call`, `call_floor` and `above_floor`, so each verdict can be check
|
|||||||
3. The child runs `verify-handoff` first; a moved pin refuses
|
3. The child runs `verify-handoff` first; a moved pin refuses
|
||||||
([HANDOFF_PIN_MOVED](troubleshooting.md#handoff-pin-moved)). It admits against its sub-cap
|
([HANDOFF_PIN_MOVED](troubleshooting.md#handoff-pin-moved)). It admits against its sub-cap
|
||||||
with child_used = its own counter's reading − its reading at `verify-handoff` and is the only
|
with child_used = its own counter's reading − its reading at `verify-handoff` and is the only
|
||||||
writer of the record; `reconcile` charges the `BUDGET used=` its return prints. The
|
writer of the record; `reconcile` records the `BUDGET used=` its return prints as the
|
||||||
|
handoff's child_used and settles its reservation (only `meter=estimate` adds it to the
|
||||||
|
parent's used; the Capy and Claude Code meters already hold it, step 4). The
|
||||||
context rule never stops a child. When it fires at one of the child's boundaries:
|
context rule never stops a child. When it fires at one of the child's boundaries:
|
||||||
- once the child has completed a step since `verify-handoff`, `verdict=delegate` hands its
|
- once the child has completed a step since `verify-handoff`, `verdict=delegate` hands its
|
||||||
remaining steps (the next step through the end of its segment) to a fresh grandchild
|
remaining steps (the next step through the end of its segment) to a fresh grandchild
|
||||||
|
|||||||
Reference in new issue
Block a user