@smthrs/gateway 1.0.0-rc.3 → 1.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/EngineTrace.d.ts.map +1 -1
  3. package/dist/cjs/EngineTrace.js +10 -2
  4. package/dist/cjs/EngineTrace.js.map +2 -2
  5. package/dist/cjs/GatewayProjection.d.ts.map +1 -1
  6. package/dist/cjs/GatewayProjection.js +10 -1
  7. package/dist/cjs/GatewayProjection.js.map +2 -2
  8. package/dist/cjs/HostBranchPresence.d.ts +7 -0
  9. package/dist/cjs/HostBranchPresence.d.ts.map +1 -1
  10. package/dist/cjs/HostBranchPresence.js.map +2 -2
  11. package/dist/cjs/RunTrace.d.ts.map +1 -1
  12. package/dist/cjs/RunTrace.js +3 -1
  13. package/dist/cjs/RunTrace.js.map +2 -2
  14. package/dist/cjs/internal/actionRenderings.d.ts +10 -0
  15. package/dist/cjs/internal/actionRenderings.d.ts.map +1 -1
  16. package/dist/cjs/internal/actionRenderings.js.map +2 -2
  17. package/dist/cjs/internal/inspectLabels.d.ts +5 -0
  18. package/dist/cjs/internal/inspectLabels.d.ts.map +1 -1
  19. package/dist/cjs/internal/inspectLabels.js.map +2 -2
  20. package/dist/esm/EngineTrace.d.ts.map +1 -1
  21. package/dist/esm/EngineTrace.js +19 -10
  22. package/dist/esm/EngineTrace.js.map +1 -1
  23. package/dist/esm/GatewayProjection.d.ts.map +1 -1
  24. package/dist/esm/GatewayProjection.js +7 -0
  25. package/dist/esm/GatewayProjection.js.map +1 -1
  26. package/dist/esm/HostBranchPresence.d.ts +7 -0
  27. package/dist/esm/HostBranchPresence.d.ts.map +1 -1
  28. package/dist/esm/HostBranchPresence.js +4 -1
  29. package/dist/esm/HostBranchPresence.js.map +1 -1
  30. package/dist/esm/RunTrace.d.ts.map +1 -1
  31. package/dist/esm/RunTrace.js +4 -3
  32. package/dist/esm/RunTrace.js.map +1 -1
  33. package/dist/esm/internal/actionRenderings.d.ts +10 -0
  34. package/dist/esm/internal/actionRenderings.d.ts.map +1 -1
  35. package/dist/esm/internal/actionRenderings.js +10 -0
  36. package/dist/esm/internal/actionRenderings.js.map +1 -1
  37. package/dist/esm/internal/inspectLabels.d.ts +5 -0
  38. package/dist/esm/internal/inspectLabels.d.ts.map +1 -1
  39. package/dist/esm/internal/inspectLabels.js +5 -0
  40. package/dist/esm/internal/inspectLabels.js.map +1 -1
  41. package/package.json +13 -13
  42. package/src/EngineTrace.ts +34 -12
  43. package/src/GatewayProjection.ts +17 -6
  44. package/src/HostBranchPresence.ts +5 -1
  45. package/src/RunTrace.ts +9 -6
  46. package/src/internal/actionRenderings.ts +11 -0
  47. package/src/internal/inspectLabels.ts +6 -1
@@ -1,2 +1,12 @@
1
+ /**
2
+ * The deterministic Inspect label of each kept action in .specs/product/actions.md
3
+ * Appendix C, keyed by action id; null marks an action whose Inspect shows no label.
4
+ *
5
+ * @since 1.0.0
6
+ */
7
+ /**
8
+ * @since 1.0.0
9
+ * @private
10
+ */
1
11
  export declare const ACTION_RENDERINGS: Readonly<Record<string, string | null>>;
2
12
  //# sourceMappingURL=actionRenderings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actionRenderings.d.ts","sourceRoot":"","sources":["../../../src/internal/actionRenderings.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAuMrE,CAAA"}
1
+ {"version":3,"file":"actionRenderings.d.ts","sourceRoot":"","sources":["../../../src/internal/actionRenderings.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAuMrE,CAAA"}
@@ -1,4 +1,14 @@
1
1
  // Generated by scripts/catalog-mvp.ts from Appendix C; do not edit.
2
+ /**
3
+ * The deterministic Inspect label of each kept action in .specs/product/actions.md
4
+ * Appendix C, keyed by action id; null marks an action whose Inspect shows no label.
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+ /**
9
+ * @since 1.0.0
10
+ * @private
11
+ */
2
12
  export const ACTION_RENDERINGS = {
3
13
  "<boundary:name>": null,
4
14
  "<park>/parked": null,
@@ -1 +1 @@
1
- {"version":3,"file":"actionRenderings.js","sourceRoot":"","sources":["../../../src/internal/actionRenderings.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,CAAC,MAAM,iBAAiB,GAA4C;IACxE,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,wBAAwB,EAAE,IAAI;IAC9B,aAAa,EAAE,IAAI;IACnB,kCAAkC,EAAE,IAAI;IACxC,gCAAgC,EAAE,qBAAqB;IACvD,4BAA4B,EAAE,uBAAuB;IACrD,sBAAsB,EAAE,gBAAgB;IACxC,kBAAkB,EAAE,eAAe;IACnC,WAAW,EAAE,eAAe;IAC5B,oBAAoB,EAAE,IAAI;IAC1B,wBAAwB,EAAE,IAAI;IAC9B,aAAa,EAAE,+CAA+C;IAC9D,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,2DAA2D;IACnE,aAAa,EAAE,mBAAmB;IAClC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,kBAAkB;IACjC,kBAAkB,EAAE,+BAA+B;IACnD,oBAAoB,EAAE,qBAAqB;IAC3C,yBAAyB,EAAE,oBAAoB;IAC/C,qBAAqB,EAAE,YAAY;IACnC,0BAA0B,EAAE,iBAAiB;IAC7C,oBAAoB,EAAE,uBAAuB;IAC7C,wBAAwB,EAAE,uBAAuB;IACjD,0BAA0B,EAAE,0BAA0B;IACtD,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,qBAAqB;IACxC,sBAAsB,EAAE,sBAAsB;IAC9C,uBA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AAI,EAAE,2DAA2D;IACjE,QAAQ,EAAE,wDAAwD;IAClE,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,eAAe;IAClC,MAAM,EAAE,2DAA2D;IACnE,QAAQ,EAAE,wDAAwD;IAClE,qBAAqB,EAAE,wDAAwD;IAC/E,UAAU,EAAE,kBAAkB;IAC9B,QAAQ,EAAE,qBAAqB;IAC/B,+BAA+B,EAAE,kBAAkB;IACnD,gCAAgC,EAAE,qBAAqB;IACvD,gCAAgC,EAAE,oBAAoB;IACtD,gCAAgC,EAAE,uBAAuB;IACzD,+BAA+B,EAAE,uBAAuB;IACxD,+BAA+B,EAAE,qBAAqB;IACtD,mCAAmC,EAAE,0BAA0B;IAC/D,4BAA4B,EAAE,mBAAmB;IACjD,6BAA6B,EAAE,oBAAoB;IACnD,gCAAgC,EAAE,mBAAmB;IACrD,8BAA8B,EAAE,mBAAmB;IACnD,0BAA0B,EAAE,oBAAoB;IAChD,eAAe,EAAE,oBAAoB;IACrC,iBAAiB,EAAE,qBAAqB;IACxC,eAAe,EAAE,wBAAwB;IACzC,mBAAmB,EAAE,wBAAwB;IAC7C,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,iEAAiE;IACzE,MAAM,EAAE,QAAQ;IAChB,oBAAoB,EAAE,sBAAsB;IAC5C,6BAA6B,EAAE,+BAA+B;IAC9D,sBAAsB,EAAE,mBAAmB;IAC3C,mBAAmB,EAAE,8BAA8B;IACnD,4BAA4B,EAAE,uBAAuB;IACrD,+BAA+B,EAAE,kBAAkB;IACnD,kBAAkB,EAAE,sBAAsB;IAC1C,6BAA6B,EAAE,iBAAiB;IAChD,sBAAsB,EAAE,qBAAqB;IAC7C,qBAAqB,EAAE,kBAAkB;IACzC,OAAO,EAAE,+CAA+C;CACzD,CAAA","sourcesContent":["// Generated by scripts/catalog-mvp.ts from Appendix C; do not edit.\nexport const ACTION_RENDERINGS: Readonly<Record<string, string | null>> = {\n \"<boundary:name>\": null,\n \"<park>/parked\": null,\n \"<quota-park>/<session>\": null,\n \"<seal-step>\": null,\n \"<structured-output-count>/<name>\": null,\n \"agent/capacity/<seat>/cool/<n>\": \"Waiting for a model\",\n \"agent/opening-instructions\": \"Read the instructions\",\n \"agent/opening-memory\": \"Loaded context\",\n \"agent/route-seat\": \"Chose a model\",\n \"agent/run\": \"Worked a turn\",\n \"agent/send (stamp)\": null,\n \"agent/trace/checkpoint\": null,\n \"apply_patch\": \"An attributed edit in the File and Diff cards\",\n \"ask\": \"Needs you\",\n \"bash\": \"Terminal card (agent session). Missing: no terminal today\",\n \"checks/lint\": \"Linted the change\",\n \"checks/review\": \"Reviewed the change\",\n \"checks/security\": \"Reviewed security\",\n \"checks/wiki\": \"Checked the wiki\",\n \"coding/AdmitVibe\": \"Opened the change for landing\",\n \"coding/ApplyNative\": \"Applied the changes\",\n \"coding/CleanVibeHistory\": \"Tidied the history\",\n \"coding/CommandCheck\": \"Ran checks\",\n \"coding/CoordinateRequest\": \"Worked the TODO\",\n \"coding/CorrectPlan\": \"Fixed review findings\",\n \"coding/CorrectionRound\": \"Fixed review findings\",\n \"coding/DescribeFinalAtom\": \"Wrote the commit message\",\n \"coding/Dispatch\": \"Ran an agent turn\",\n \"coding/FlowLoad\": \"Validated the flows\",\n \"coding/ImplementAtom\": \"Implemented one step\",\n \"coding/ImplementAtoms\": \"Implemented the plan\",\n \"coding/ImplementPlan\": \"Implemented the plan\",\n \"coding/JevCheck\": \"Checked rules\",\n \"coding/LandVibe\": \"Landed the change\",\n \"coding/ObservePlan\": \"Tracked progress\",\n \"coding/Poc\": \"Drafted a prototype\",\n \"coding/PreparePlan\": \"Planned the change\",\n \"coding/PrepareRequest\": \"Prepared the request\",\n \"coding/ProposeFinalHistory\": \"Reviewed the history\",\n \"coding/Prototype\": \"Drafted a prototype\",\n \"coding/PublishVibeSource\": \"Published the change\",\n \"coding/ReadNative\": \"Read the changes\",\n \"coding/RecheckCorrected\": \"Re-checked the fix\",\n \"coding/RecheckFinalHistory\": \"Re-checked the history\",\n \"coding/RefreshWiki\": \"Refreshed wiki pages\",\n \"coding/RepairPass\": \"Repaired the change\",\n \"coding/ReviewCapturedChange\": \"Reviewed the change\",\n \"coding/ReviewCapturedWiki\": \"Checked the wiki\",\n \"coding/ReviewCheck\": \"Reviewed the change\",\n \"coding/RewriteFinalHistory\": \"Tidied the history\",\n \"coding/SecurityAudit\": \"Audited security\",\n \"coding/SecurityReviewCheck\": \"Reviewed security\",\n \"coding/VerifyVibe\": \"Verified before landing\",\n \"coding/Wiki\": \"Refreshed the wiki\",\n \"coding/WikiCheck\": \"Checked the wiki\",\n \"coding/admit-retained-source\": \"Opened the source\",\n \"coding/admit-verify-source\": \"Opened the candidate\",\n \"coding/assess\": \"Assessed the change\",\n \"coding/audit-security\": \"Audited security\",\n \"coding/begin-correction\": \"Started a fix round\",\n \"coding/capture-poc-source\": \"Captured the source\",\n \"coding/capture-review-check\": \"Captured the change\",\n \"coding/capture-wiki-check\": \"Captured the wiki\",\n \"coding/check\": \"Ran checks\",\n \"coding/check-command\": \"Ran checks\",\n \"coding/check-jev-rules\": \"Checked rules\",\n \"coding/configure-planning-wiki\": \"Chose wiki pages\",\n \"coding/confirm-final-description\": \"Confirmed the commit message\",\n \"coding/create-stack-base\": \"Created the stack base\",\n \"coding/create-vibe-landing\": \"Added to the stack\",\n \"coding/decline-request\": \"Declined the request\",\n \"coding/dispatch-turn\": \"Worked a turn\",\n \"coding/draft-plan\": \"Drafted the plan\",\n \"coding/draft-poc\": \"Drafted a prototype\",\n \"coding/edit-atom\": \"Edited the files\",\n \"coding/fast-forward-vibe\": \"Moved the branch forward\",\n \"coding/fast-gate\": \"Ran quick checks\",\n \"coding/fence-vibe-source\": \"Pinned the change\",\n \"coding/finalize-plan\": \"Finalized the plan\",\n \"coding/find-planning-wiki-review\": \"Found wiki notes\",\n \"coding/finish-correction\": \"Finished the fix round\",\n \"coding/finish-final-history\": \"Finished the history\",\n \"coding/finish-review-check\": \"Collected review findings\",\n \"coding/finish-wiki-check\": \"Checked the wiki\",\n \"coding/gather-planning-context\": \"Gathered context\",\n \"coding/implement-change\": \"Implemented the change\",\n \"coding/import-dependency-docs\": \"Imported dependency docs\",\n \"coding/install-dependency-pages\": \"Added dependency pages\",\n \"coding/load-flows\": \"Validated the flows\",\n \"coding/materialize-poc\": \"Applied the prototype\",\n \"coding/merge-request-feedback\": \"Took in your steer\",\n \"coding/merge-vibe-local-pull\": \"Merged the change\",\n \"coding/observe-atom\": \"Saved the edit\",\n \"coding/observe-dispatch\": \"Saved the turn\",\n \"coding/observe-vibe-append\": \"Added to the stack\",\n \"coding/observe-vibe-pull-checks\": \"Watched PR checks\",\n \"coding/open-vibe-local-pull\": \"Opened the pull request\",\n \"coding/open-vibe-pull\": \"Opened the pull request\",\n \"coding/prepare-atom\": \"Opened the working copy\",\n \"coding/prepare-atom-mutation\": \"Prepared to edit\",\n \"coding/prepare-final-description\": \"Drafted the commit message\",\n \"coding/prepare-owner-repair\": \"Prepared the repair\",\n \"coding/prepare-repair-context\": \"Gathered repair context\",\n \"coding/prepare-return-mythical-tip\": \"Returned to the stack tip\",\n \"coding/prepare-stack-base\": \"Prepared the stack\",\n \"coding/prepare-vibe-append\": \"Prepared to add to the stack\",\n \"coding/prepare-vibe-candidate\": \"Prepared the change\",\n \"coding/publish-vibe-source\": \"Published the change\",\n \"coding/queue-vibe-append\": \"Queued for the stack\",\n \"coding/read-correction-history\": \"Read earlier fixes\",\n \"coding/read-feedback-cancellation\": \"Read your steer\",\n \"coding/read-published-wiki\": \"Read the wiki\",\n \"coding/read-vibe-delivery\": \"Read delivery status\",\n \"coding/read-vibe-lander\": \"Read landing state\",\n \"coding/read-vibe-request\": \"Read the request\",\n \"coding/read-vibe-stack\": \"Read the stack\",\n \"coding/receive-request-feedback\": \"Waited for your steer\",\n \"coding/record-fast-gated-progress\": \"Recorded progress\",\n \"coding/record-learning\": \"Saved a lesson\",\n \"coding/record-slow-feedback\": \"Recorded feedback\",\n \"coding/refresh-final-history\": \"Refreshed the history\",\n \"coding/refresh-planning-wiki\": \"Refreshed wiki pages\",\n \"coding/refresh-restacked-evidence\": \"Refreshed evidence\",\n \"coding/refuse-plan-approval\": \"Refused a plan approval\",\n \"coding/repair-final-history\": \"Corrected the history\",\n \"coding/retain-poc\": \"Saved the prototype\",\n \"coding/review-final-history\": \"Reviewed the history\",\n \"coding/review-lens\": \"Reviewed through one lens\",\n \"coding/review-poc\": \"Reviewed the prototype\",\n \"coding/review-request\": \"Reviewed the request\",\n \"coding/review-security\": \"Reviewed security\",\n \"coding/run-correction-round\": \"Fixed review findings\",\n \"coding/select-owner-repair\": \"Chose what to fix\",\n \"coding/submit-vibe-lane\": \"Queued the change\",\n \"coding/todo-boundary\": null,\n \"coding/todo-delivery\": \"Prepared the delivery\",\n \"coding/todo-pause-requested\": null,\n \"coding/todo-resume\": null,\n \"coding/todo-review\": null,\n \"coding/todo-review-input\": null,\n \"coding/validate-final-history\": \"Checked the history\",\n \"coding/validate-plan\": \"Checked the plan\",\n \"coding/verify-planning-context\": \"Checked the context\",\n \"coding/verify-vibe-landed\": \"Confirmed it landed\",\n \"create-flow\": \"Created a flow\",\n \"create-flow/clarify\": \"Asked what the flow should do\",\n \"create-flow/design\": \"Designed the flow\",\n \"create-flow/document\": \"Documented the flow\",\n \"create-flow/fix\": \"Fixed the flow\",\n \"create-flow/provision\": \"Set up the flow\",\n \"create-flow/scaffold\": \"Wrote the flow\",\n \"edit\": \"An attributed edit in the File and Diff cards\",\n \"factory/Todo\": \"Routed the TODO\",\n \"factory/route-todo\": \"Chose how to start\",\n \"factory/stamp-route\": \"Declined the TODO\",\n \"glob\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"grep\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"jev\": \"Inspect only: \\\"Decided <question>\\\"\",\n \"ls\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"memory\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"memory/mine\": \"Saved lessons\",\n \"memory/mine/run\": \"Saved lessons\",\n \"read\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"recall\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"recall (namespaced)\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"remember\": \"Learning receipt\",\n \"review\": \"Reviewed the change\",\n \"smithers-review/ApplyVerdicts\": \"Settled findings\",\n \"smithers-review/FinalizeReview\": \"Finished the review\",\n \"smithers-review/MergeFileBatch\": \"Collected findings\",\n \"smithers-review/NarrateChanges\": \"Wrote the walkthrough\",\n \"smithers-review/NarrateReview\": \"Wrote the walkthrough\",\n \"smithers-review/PrepareReview\": \"Prepared the review\",\n \"smithers-review/RenderWalkthrough\": \"Rendered the walkthrough\",\n \"smithers-review/ReviewFile\": \"Reviewed one file\",\n \"smithers-review/ReviewFiles\": \"Reviewed the files\",\n \"smithers-review/VerifyFindings\": \"Verified findings\",\n \"smithers-review/VerifyReview\": \"Verified findings\",\n \"smithers/IncrementalWiki\": \"Refreshed the wiki\",\n \"smithers/Wiki\": \"Refreshed the wiki\",\n \"stack.candidate\": \"Saved the candidate\",\n \"stack.propose\": \"Proposed the candidate\",\n \"system/human-task\": \"Waited for your answer\",\n \"system/sleep\": null,\n \"system/wait-for\": null,\n \"test\": \"Terminal card plus checks. Missing: needs SMITHERS_TEST_COMMAND\",\n \"wait\": \"Waited\",\n \"wiki/assess-review\": \"Assessed a wiki page\",\n \"wiki/bind-review-provenance\": \"Linked a review to its source\",\n \"wiki/check-citations\": \"Checked citations\",\n \"wiki/collect-page\": \"Collected sources for a page\",\n \"wiki/load-recorded-reviews\": \"Found earlier reviews\",\n \"wiki/publish-recorded-reviews\": \"Saved wiki pages\",\n \"wiki/review-page\": \"Reviewed a wiki page\",\n \"wiki/select-recorded-review\": \"Reused a review\",\n \"wiki/validate-review\": \"Checked a wiki page\",\n \"wiki/write-snapshot\": \"Saved wiki pages\",\n \"write\": \"An attributed edit in the File and Diff cards\"\n}\n"]}
1
+ {"version":3,"file":"actionRenderings.js","sourceRoot":"","sources":["../../../src/internal/actionRenderings.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE;;;;;GAKG;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4C;IACxE,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,wBAAwB,EAAE,IAAI;IAC9B,aAAa,EAAE,IAAI;IACnB,kCAAkC,EAAE,IAAI;IACxC,gCAAgC,EAAE,qBAAqB;IACvD,4BAA4B,EAAE,uBAAuB;IACrD,sBAAsB,EAAE,gBAAgB;IACxC,kBAAkB,EAAE,eAAe;IACnC,WAAW,EAAE,eAAe;IAC5B,oBAAoB,EAAE,IAAI;IAC1B,wBAAwB,EAAE,IAAI;IAC9B,aAAa,EAAE,+CAA+C;IAC9D,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,2DAA2D;IACnE,aAAa,EAAE,mBAAmB;IAClC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,kBAAkB;IACjC,kBAAkB,EAAE,+BAA+B;IACnD,oBAAoB,EAAE,qBAAqB;IAC3C,yBAAyB,EAAE,oBAAoB;IAC/C,qBAAqB,EAAE,YAAY;IACnC,0BAA0B,EAAE,iBAAiB;IAC7C,oBAAoB,EAAE,uBAAuB;IAC7C,wBAAwB,EAAE,uBAAuB;IACjD,0BAA0B,EAAE,0BAA0B;IACtD,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,qBAAqB;IACxC,sBAAsB,EAAE,sBAAsB;IAC9C,uBAAuB,EAAE,sBAAsB;IAC/C,sBAAsB,EAAE,sBAAsB;IAC9C,iBAAiB,EAAE,eAAe;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,oBAAoB,EAAE,kBAAkB;IACxC,YAAY,EAAE,qBAAqB;IACnC,oBAAoB,EAAE,oBAAoB;IAC1C,uBAAuB,E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B;IAC9B,QAAQ,EAAE,qBAAqB;IAC/B,+BAA+B,EAAE,kBAAkB;IACnD,gCAAgC,EAAE,qBAAqB;IACvD,gCAAgC,EAAE,oBAAoB;IACtD,gCAAgC,EAAE,uBAAuB;IACzD,+BAA+B,EAAE,uBAAuB;IACxD,+BAA+B,EAAE,qBAAqB;IACtD,mCAAmC,EAAE,0BAA0B;IAC/D,4BAA4B,EAAE,mBAAmB;IACjD,6BAA6B,EAAE,oBAAoB;IACnD,gCAAgC,EAAE,mBAAmB;IACrD,8BAA8B,EAAE,mBAAmB;IACnD,0BAA0B,EAAE,oBAAoB;IAChD,eAAe,EAAE,oBAAoB;IACrC,iBAAiB,EAAE,qBAAqB;IACxC,eAAe,EAAE,wBAAwB;IACzC,mBAAmB,EAAE,wBAAwB;IAC7C,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,iEAAiE;IACzE,MAAM,EAAE,QAAQ;IAChB,oBAAoB,EAAE,sBAAsB;IAC5C,6BAA6B,EAAE,+BAA+B;IAC9D,sBAAsB,EAAE,mBAAmB;IAC3C,mBAAmB,EAAE,8BAA8B;IACnD,4BAA4B,EAAE,uBAAuB;IACrD,+BAA+B,EAAE,kBAAkB;IACnD,kBAAkB,EAAE,sBAAsB;IAC1C,6BAA6B,EAAE,iBAAiB;IAChD,sBAAsB,EAAE,qBAAqB;IAC7C,qBAAqB,EAAE,kBAAkB;IACzC,OAAO,EAAE,+CAA+C;CACzD,CAAA","sourcesContent":["// Generated by scripts/catalog-mvp.ts from Appendix C; do not edit.\n/**\n * The deterministic Inspect label of each kept action in .specs/product/actions.md\n * Appendix C, keyed by action id; null marks an action whose Inspect shows no label.\n *\n * @since 1.0.0\n */\n\n/**\n * @since 1.0.0\n * @private\n */\nexport const ACTION_RENDERINGS: Readonly<Record<string, string | null>> = {\n \"<boundary:name>\": null,\n \"<park>/parked\": null,\n \"<quota-park>/<session>\": null,\n \"<seal-step>\": null,\n \"<structured-output-count>/<name>\": null,\n \"agent/capacity/<seat>/cool/<n>\": \"Waiting for a model\",\n \"agent/opening-instructions\": \"Read the instructions\",\n \"agent/opening-memory\": \"Loaded context\",\n \"agent/route-seat\": \"Chose a model\",\n \"agent/run\": \"Worked a turn\",\n \"agent/send (stamp)\": null,\n \"agent/trace/checkpoint\": null,\n \"apply_patch\": \"An attributed edit in the File and Diff cards\",\n \"ask\": \"Needs you\",\n \"bash\": \"Terminal card (agent session). Missing: no terminal today\",\n \"checks/lint\": \"Linted the change\",\n \"checks/review\": \"Reviewed the change\",\n \"checks/security\": \"Reviewed security\",\n \"checks/wiki\": \"Checked the wiki\",\n \"coding/AdmitVibe\": \"Opened the change for landing\",\n \"coding/ApplyNative\": \"Applied the changes\",\n \"coding/CleanVibeHistory\": \"Tidied the history\",\n \"coding/CommandCheck\": \"Ran checks\",\n \"coding/CoordinateRequest\": \"Worked the TODO\",\n \"coding/CorrectPlan\": \"Fixed review findings\",\n \"coding/CorrectionRound\": \"Fixed review findings\",\n \"coding/DescribeFinalAtom\": \"Wrote the commit message\",\n \"coding/Dispatch\": \"Ran an agent turn\",\n \"coding/FlowLoad\": \"Validated the flows\",\n \"coding/ImplementAtom\": \"Implemented one step\",\n \"coding/ImplementAtoms\": \"Implemented the plan\",\n \"coding/ImplementPlan\": \"Implemented the plan\",\n \"coding/JevCheck\": \"Checked rules\",\n \"coding/LandVibe\": \"Landed the change\",\n \"coding/ObservePlan\": \"Tracked progress\",\n \"coding/Poc\": \"Drafted a prototype\",\n \"coding/PreparePlan\": \"Planned the change\",\n \"coding/PrepareRequest\": \"Prepared the request\",\n \"coding/ProposeFinalHistory\": \"Reviewed the history\",\n \"coding/Prototype\": \"Drafted a prototype\",\n \"coding/PublishVibeSource\": \"Published the change\",\n \"coding/ReadNative\": \"Read the changes\",\n \"coding/RecheckCorrected\": \"Re-checked the fix\",\n \"coding/RecheckFinalHistory\": \"Re-checked the history\",\n \"coding/RefreshWiki\": \"Refreshed wiki pages\",\n \"coding/RepairPass\": \"Repaired the change\",\n \"coding/ReviewCapturedChange\": \"Reviewed the change\",\n \"coding/ReviewCapturedWiki\": \"Checked the wiki\",\n \"coding/ReviewCheck\": \"Reviewed the change\",\n \"coding/RewriteFinalHistory\": \"Tidied the history\",\n \"coding/SecurityAudit\": \"Audited security\",\n \"coding/SecurityReviewCheck\": \"Reviewed security\",\n \"coding/VerifyVibe\": \"Verified before landing\",\n \"coding/Wiki\": \"Refreshed the wiki\",\n \"coding/WikiCheck\": \"Checked the wiki\",\n \"coding/admit-retained-source\": \"Opened the source\",\n \"coding/admit-verify-source\": \"Opened the candidate\",\n \"coding/assess\": \"Assessed the change\",\n \"coding/audit-security\": \"Audited security\",\n \"coding/begin-correction\": \"Started a fix round\",\n \"coding/capture-poc-source\": \"Captured the source\",\n \"coding/capture-review-check\": \"Captured the change\",\n \"coding/capture-wiki-check\": \"Captured the wiki\",\n \"coding/check\": \"Ran checks\",\n \"coding/check-command\": \"Ran checks\",\n \"coding/check-jev-rules\": \"Checked rules\",\n \"coding/configure-planning-wiki\": \"Chose wiki pages\",\n \"coding/confirm-final-description\": \"Confirmed the commit message\",\n \"coding/create-stack-base\": \"Created the stack base\",\n \"coding/create-vibe-landing\": \"Added to the stack\",\n \"coding/decline-request\": \"Declined the request\",\n \"coding/dispatch-turn\": \"Worked a turn\",\n \"coding/draft-plan\": \"Drafted the plan\",\n \"coding/draft-poc\": \"Drafted a prototype\",\n \"coding/edit-atom\": \"Edited the files\",\n \"coding/fast-forward-vibe\": \"Moved the branch forward\",\n \"coding/fast-gate\": \"Ran quick checks\",\n \"coding/fence-vibe-source\": \"Pinned the change\",\n \"coding/finalize-plan\": \"Finalized the plan\",\n \"coding/find-planning-wiki-review\": \"Found wiki notes\",\n \"coding/finish-correction\": \"Finished the fix round\",\n \"coding/finish-final-history\": \"Finished the history\",\n \"coding/finish-review-check\": \"Collected review findings\",\n \"coding/finish-wiki-check\": \"Checked the wiki\",\n \"coding/gather-planning-context\": \"Gathered context\",\n \"coding/implement-change\": \"Implemented the change\",\n \"coding/import-dependency-docs\": \"Imported dependency docs\",\n \"coding/install-dependency-pages\": \"Added dependency pages\",\n \"coding/load-flows\": \"Validated the flows\",\n \"coding/materialize-poc\": \"Applied the prototype\",\n \"coding/merge-request-feedback\": \"Took in your steer\",\n \"coding/merge-vibe-local-pull\": \"Merged the change\",\n \"coding/observe-atom\": \"Saved the edit\",\n \"coding/observe-dispatch\": \"Saved the turn\",\n \"coding/observe-vibe-append\": \"Added to the stack\",\n \"coding/observe-vibe-pull-checks\": \"Watched PR checks\",\n \"coding/open-vibe-local-pull\": \"Opened the pull request\",\n \"coding/open-vibe-pull\": \"Opened the pull request\",\n \"coding/prepare-atom\": \"Opened the working copy\",\n \"coding/prepare-atom-mutation\": \"Prepared to edit\",\n \"coding/prepare-final-description\": \"Drafted the commit message\",\n \"coding/prepare-owner-repair\": \"Prepared the repair\",\n \"coding/prepare-repair-context\": \"Gathered repair context\",\n \"coding/prepare-return-mythical-tip\": \"Returned to the stack tip\",\n \"coding/prepare-stack-base\": \"Prepared the stack\",\n \"coding/prepare-vibe-append\": \"Prepared to add to the stack\",\n \"coding/prepare-vibe-candidate\": \"Prepared the change\",\n \"coding/publish-vibe-source\": \"Published the change\",\n \"coding/queue-vibe-append\": \"Queued for the stack\",\n \"coding/read-correction-history\": \"Read earlier fixes\",\n \"coding/read-feedback-cancellation\": \"Read your steer\",\n \"coding/read-published-wiki\": \"Read the wiki\",\n \"coding/read-vibe-delivery\": \"Read delivery status\",\n \"coding/read-vibe-lander\": \"Read landing state\",\n \"coding/read-vibe-request\": \"Read the request\",\n \"coding/read-vibe-stack\": \"Read the stack\",\n \"coding/receive-request-feedback\": \"Waited for your steer\",\n \"coding/record-fast-gated-progress\": \"Recorded progress\",\n \"coding/record-learning\": \"Saved a lesson\",\n \"coding/record-slow-feedback\": \"Recorded feedback\",\n \"coding/refresh-final-history\": \"Refreshed the history\",\n \"coding/refresh-planning-wiki\": \"Refreshed wiki pages\",\n \"coding/refresh-restacked-evidence\": \"Refreshed evidence\",\n \"coding/refuse-plan-approval\": \"Refused a plan approval\",\n \"coding/repair-final-history\": \"Corrected the history\",\n \"coding/retain-poc\": \"Saved the prototype\",\n \"coding/review-final-history\": \"Reviewed the history\",\n \"coding/review-lens\": \"Reviewed through one lens\",\n \"coding/review-poc\": \"Reviewed the prototype\",\n \"coding/review-request\": \"Reviewed the request\",\n \"coding/review-security\": \"Reviewed security\",\n \"coding/run-correction-round\": \"Fixed review findings\",\n \"coding/select-owner-repair\": \"Chose what to fix\",\n \"coding/submit-vibe-lane\": \"Queued the change\",\n \"coding/todo-boundary\": null,\n \"coding/todo-delivery\": \"Prepared the delivery\",\n \"coding/todo-pause-requested\": null,\n \"coding/todo-resume\": null,\n \"coding/todo-review\": null,\n \"coding/todo-review-input\": null,\n \"coding/validate-final-history\": \"Checked the history\",\n \"coding/validate-plan\": \"Checked the plan\",\n \"coding/verify-planning-context\": \"Checked the context\",\n \"coding/verify-vibe-landed\": \"Confirmed it landed\",\n \"create-flow\": \"Created a flow\",\n \"create-flow/clarify\": \"Asked what the flow should do\",\n \"create-flow/design\": \"Designed the flow\",\n \"create-flow/document\": \"Documented the flow\",\n \"create-flow/fix\": \"Fixed the flow\",\n \"create-flow/provision\": \"Set up the flow\",\n \"create-flow/scaffold\": \"Wrote the flow\",\n \"edit\": \"An attributed edit in the File and Diff cards\",\n \"factory/Todo\": \"Routed the TODO\",\n \"factory/route-todo\": \"Chose how to start\",\n \"factory/stamp-route\": \"Declined the TODO\",\n \"glob\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"grep\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"jev\": \"Inspect only: \\\"Decided <question>\\\"\",\n \"ls\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"memory\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"memory/mine\": \"Saved lessons\",\n \"memory/mine/run\": \"Saved lessons\",\n \"read\": \"A \\\"read\\\" line in branch activity, opening the File card\",\n \"recall\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"recall (namespaced)\": \"The \\\"Context\\\" line and the preflight cell in Inspect\",\n \"remember\": \"Learning receipt\",\n \"review\": \"Reviewed the change\",\n \"smithers-review/ApplyVerdicts\": \"Settled findings\",\n \"smithers-review/FinalizeReview\": \"Finished the review\",\n \"smithers-review/MergeFileBatch\": \"Collected findings\",\n \"smithers-review/NarrateChanges\": \"Wrote the walkthrough\",\n \"smithers-review/NarrateReview\": \"Wrote the walkthrough\",\n \"smithers-review/PrepareReview\": \"Prepared the review\",\n \"smithers-review/RenderWalkthrough\": \"Rendered the walkthrough\",\n \"smithers-review/ReviewFile\": \"Reviewed one file\",\n \"smithers-review/ReviewFiles\": \"Reviewed the files\",\n \"smithers-review/VerifyFindings\": \"Verified findings\",\n \"smithers-review/VerifyReview\": \"Verified findings\",\n \"smithers/IncrementalWiki\": \"Refreshed the wiki\",\n \"smithers/Wiki\": \"Refreshed the wiki\",\n \"stack.candidate\": \"Saved the candidate\",\n \"stack.propose\": \"Proposed the candidate\",\n \"system/human-task\": \"Waited for your answer\",\n \"system/sleep\": null,\n \"system/wait-for\": null,\n \"test\": \"Terminal card plus checks. Missing: needs SMITHERS_TEST_COMMAND\",\n \"wait\": \"Waited\",\n \"wiki/assess-review\": \"Assessed a wiki page\",\n \"wiki/bind-review-provenance\": \"Linked a review to its source\",\n \"wiki/check-citations\": \"Checked citations\",\n \"wiki/collect-page\": \"Collected sources for a page\",\n \"wiki/load-recorded-reviews\": \"Found earlier reviews\",\n \"wiki/publish-recorded-reviews\": \"Saved wiki pages\",\n \"wiki/review-page\": \"Reviewed a wiki page\",\n \"wiki/select-recorded-review\": \"Reused a review\",\n \"wiki/validate-review\": \"Checked a wiki page\",\n \"wiki/write-snapshot\": \"Saved wiki pages\",\n \"write\": \"An attributed edit in the File and Diff cards\"\n}\n"]}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Inspect labels for recorded actions, read from the generated Appendix C table.
3
+ *
4
+ * @since 1.0.0
5
+ */
1
6
  /**
2
7
  * The recorded action's Appendix C label, with unknown historical tags retained.
3
8
  * Dynamic cell-call wrappers name the tool they recorded, never a new action.
@@ -1 +1 @@
1
- {"version":3,"file":"inspectLabels.d.ts","sourceRoot":"","sources":["../../../src/internal/inspectLabels.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAG1C,CAAA"}
1
+ {"version":3,"file":"inspectLabels.d.ts","sourceRoot":"","sources":["../../../src/internal/inspectLabels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAG1C,CAAA"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Inspect labels for recorded actions, read from the generated Appendix C table.
3
+ *
4
+ * @since 1.0.0
5
+ */
1
6
  import { ACTION_RENDERINGS } from "./actionRenderings.js";
2
7
  /**
3
8
  * The recorded action's Appendix C label, with unknown historical tags retained.
@@ -1 +1 @@
1
- {"version":3,"file":"inspectLabels.js","sourceRoot":"","sources":["../../../src/internal/inspectLabels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,GAAW,EAAU,EAAE;IAClD,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAA;IACvD,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import { ACTION_RENDERINGS } from \"./actionRenderings.ts\"\n\n/**\n * The recorded action's Appendix C label, with unknown historical tags retained.\n * Dynamic cell-call wrappers name the tool they recorded, never a new action.\n * @category utilities\n * @since 1.0.0\n */\nexport const inspectLabel = (tag: string): string => {\n const tool = /^<cell-call:(.+)>$/.exec(tag)?.[1] ?? tag\n return ACTION_RENDERINGS[tool] ?? tool\n}\n\n"]}
1
+ {"version":3,"file":"inspectLabels.js","sourceRoot":"","sources":["../../../src/internal/inspectLabels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,GAAW,EAAU,EAAE;IAClD,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAA;IACvD,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["/**\n * Inspect labels for recorded actions, read from the generated Appendix C table.\n *\n * @since 1.0.0\n */\n\nimport { ACTION_RENDERINGS } from \"./actionRenderings.ts\"\n\n/**\n * The recorded action's Appendix C label, with unknown historical tags retained.\n * Dynamic cell-call wrappers name the tool they recorded, never a new action.\n * @category utilities\n * @since 1.0.0\n */\nexport const inspectLabel = (tag: string): string => {\n const tool = /^<cell-call:(.+)>$/.exec(tag)?.[1] ?? tag\n return ACTION_RENDERINGS[tool] ?? tool\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@smthrs/gateway",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.3",
4
+ "version": "1.0.0-rc.4",
5
5
  "license": "MIT",
6
6
  "smthrs": {
7
7
  "group": "agent",
@@ -223,12 +223,12 @@
223
223
  "tag": "next"
224
224
  },
225
225
  "dependencies": {
226
- "@smthrs/control": "1.0.0-rc.3",
227
- "@smthrs/engine-store": "1.0.0-rc.3",
228
- "@smthrs/flow": "1.0.0-rc.3",
229
- "@smthrs/journal": "1.0.0-rc.3",
230
- "@smthrs/registry": "1.0.0-rc.3",
231
- "@smthrs/sync": "1.0.0-rc.3",
226
+ "@smthrs/control": "1.0.0-rc.4",
227
+ "@smthrs/engine-store": "1.0.0-rc.4",
228
+ "@smthrs/flow": "1.0.0-rc.4",
229
+ "@smthrs/journal": "1.0.0-rc.4",
230
+ "@smthrs/registry": "1.0.0-rc.4",
231
+ "@smthrs/sync": "1.0.0-rc.4",
232
232
  "undici": "8.10.2",
233
233
  "redis": "6.2.1",
234
234
  "@types/ws": "8.18.1",
@@ -239,12 +239,12 @@
239
239
  "@effect/platform-node": "4.0.0-rc.115",
240
240
  "@effect/vitest": "4.0.0-rc.115",
241
241
  "@eslint/js": "9.39.5",
242
- "@smthrs/database": "1.0.0-rc.3",
243
- "@smthrs/flows": "1.0.0-rc.3",
244
- "@smthrs/kernel": "1.0.0-rc.3",
245
- "@smthrs/notifications": "1.0.0-rc.3",
246
- "@smthrs/platform-node": "1.0.0-rc.3",
247
- "@smthrs/run-store": "1.0.0-rc.3",
242
+ "@smthrs/database": "1.0.0-rc.4",
243
+ "@smthrs/flows": "1.0.0-rc.4",
244
+ "@smthrs/kernel": "1.0.0-rc.4",
245
+ "@smthrs/notifications": "1.0.0-rc.4",
246
+ "@smthrs/platform-node": "1.0.0-rc.4",
247
+ "@smthrs/run-store": "1.0.0-rc.4",
248
248
  "@types/node": "26.4.1",
249
249
  "@vitest/coverage-v8": "5.0.0",
250
250
  "dprint": "0.57.1",
@@ -109,7 +109,9 @@ export interface EngineExecutionEvidence {
109
109
  readonly graph?: EngineEvent.NodeGraph | undefined
110
110
  readonly status: string
111
111
  /** Recorded clock and deferred registrations and their explicit settlements. */
112
- readonly waits: ReadonlyArray<{ readonly id: string; readonly kind: "sleep" | "signal"; readonly since: number; readonly settledAt?: number }>
112
+ readonly waits: ReadonlyArray<
113
+ { readonly id: string; readonly kind: "sleep" | "signal"; readonly since: number; readonly settledAt?: number }
114
+ >
113
115
  readonly result?: { readonly value: unknown; readonly sequence: number } | undefined
114
116
  /** Original classified failure bytes, never parsed from rendered detail. */
115
117
  readonly failure?: {
@@ -267,34 +269,48 @@ const foldEngineJournal = (records: ReadonlyArray<JournalRecord>) => {
267
269
  }
268
270
  return current
269
271
  }
270
- if (envelope.eventType === EngineEvent.nodeEventTypes.planRecorded || envelope.eventType === EngineEvent.nodeEventTypes.subgraphAppended) {
272
+ if (
273
+ envelope.eventType === EngineEvent.nodeEventTypes.planRecorded ||
274
+ envelope.eventType === EngineEvent.nodeEventTypes.subgraphAppended
275
+ ) {
271
276
  const payload = envelope.payload as { graph?: unknown }
272
277
  const graph = decodeGraph(payload?.graph)
273
278
  if (Option.isSome(graph)) {
274
- const nodes = new Map(execution.graph?.nodes.map(node => [node.id, node]))
279
+ const nodes = new Map(execution.graph?.nodes.map((node) => [node.id, node]))
275
280
  for (const node of graph.value.nodes) nodes.set(node.id, node)
276
281
  execution.graph = { ...graph.value, nodes: [...nodes.values()] }
277
282
  }
278
283
  generic()
279
284
  continue
280
285
  }
281
- if (envelope.eventType === EngineEvent.nodeEventTypes.nodeScheduled || envelope.eventType === EngineEvent.nodeEventTypes.nodeSettled) {
286
+ if (
287
+ envelope.eventType === EngineEvent.nodeEventTypes.nodeScheduled ||
288
+ envelope.eventType === EngineEvent.nodeEventTypes.nodeSettled
289
+ ) {
282
290
  const scheduled = envelope.eventType === EngineEvent.nodeEventTypes.nodeScheduled
283
- ? decodeScheduled(envelope.payload) : Option.none()
291
+ ? decodeScheduled(envelope.payload) :
292
+ Option.none()
284
293
  const settled = envelope.eventType === EngineEvent.nodeEventTypes.nodeSettled
285
- ? decodeSettled(envelope.payload) : Option.none()
294
+ ? decodeSettled(envelope.payload) :
295
+ Option.none()
286
296
  const recorded = Option.isSome(scheduled) ? scheduled.value : Option.isSome(settled) ? settled.value : undefined
287
297
  if (recorded === undefined) {
288
298
  generic()
289
299
  continue
290
300
  }
291
301
  const nodeKey = identity(key, recorded.nodeId)
292
- const action = recorded.action ?? execution.graph?.nodes.find(node => node.id === recorded.nodeId)?.action
302
+ const action = recorded.action ?? execution.graph?.nodes.find((node) => node.id === recorded.nodeId)?.action
293
303
  let node = nodes.get(nodeKey)
294
304
  if (node === undefined || Option.isSome(scheduled)) {
295
305
  const instance = (instances.get(nodeKey) ?? 0) + 1
296
306
  instances.set(nodeKey, instance)
297
- node = span(`engine-node:${nodeKey}#${instance}`, "call", inspectLabel(action ?? recorded.nodeId), envelope.emittedAtMs, detail(row, envelope))
307
+ node = span(
308
+ `engine-node:${nodeKey}#${instance}`,
309
+ "call",
310
+ inspectLabel(action ?? recorded.nodeId),
311
+ envelope.emittedAtMs,
312
+ detail(row, envelope)
313
+ )
298
314
  nodes.set(nodeKey, node)
299
315
  execution.span.children.push(node)
300
316
  }
@@ -304,9 +320,13 @@ const foldEngineJournal = (records: ReadonlyArray<JournalRecord>) => {
304
320
  node.status = "running"
305
321
  } else {
306
322
  const value = Option.getOrThrow(settled)
307
- node.status = value.outcome === "failed" ? "failed"
308
- : value.outcome === "deferred" ? "waiting"
309
- : value.outcome === "skipped" ? "skipped" : "completed"
323
+ node.status = value.outcome === "failed" ?
324
+ "failed"
325
+ : value.outcome === "deferred" ?
326
+ "waiting"
327
+ : value.outcome === "skipped"
328
+ ? "skipped"
329
+ : "completed"
310
330
  if (value.outcome !== "deferred") node.endedAt = envelope.emittedAtMs
311
331
  // The redacted preview is evidence, including when truncated. Never
312
332
  // evaluate it, or mistake a JSON prefix for a complete return value.
@@ -379,7 +399,9 @@ const foldEngineJournal = (records: ReadonlyArray<JournalRecord>) => {
379
399
  else if (kind === "sleep") existing.kind = kind
380
400
  }
381
401
  if (recorded.value.event._tag === "Execution" && recorded.value.event.lifecycle.state !== "completed") {
382
- for (const wait of recorded.value.event.lifecycle.waits) registerWait(wait.waitId, wait._tag === "Clock" ? "sleep" : "signal")
402
+ for (const wait of recorded.value.event.lifecycle.waits) {
403
+ registerWait(wait.waitId, wait._tag === "Clock" ? "sleep" : "signal")
404
+ }
383
405
  }
384
406
  if (recorded.value.event._tag === "ClockScheduled") {
385
407
  registerWait(recorded.value.event.waitId, "sleep")
@@ -324,12 +324,15 @@ export const runSummary = (
324
324
  outputTokens: facts.outputTokens,
325
325
  verdict: Diagnosis.verdict(facts),
326
326
  diagnosis: Diagnosis.render({ runId: run.runId, ...optional("flowId", run.flowId) }, facts),
327
- ...optional("finalOutput", Diagnosis.resolvedOutput(facts) ?? (
328
- run.status === "failed" && facts.fault?.tag.endsWith("/source_refused") &&
329
- facts.cause?.match(/source_refused: ([a-z_]+)/)
330
- ? JSON.stringify({ message: facts.cause.match(/source_refused: ([a-z_]+)/)![0] })
331
- : undefined
332
- )) ,
327
+ ...optional(
328
+ "finalOutput",
329
+ Diagnosis.resolvedOutput(facts) ?? (
330
+ run.status === "failed" && facts.fault?.tag.endsWith("/source_refused") &&
331
+ facts.cause?.match(/source_refused: ([a-z_]+)/)
332
+ ? JSON.stringify({ message: facts.cause.match(/source_refused: ([a-z_]+)/)![0] })
333
+ : undefined
334
+ )
335
+ ),
333
336
  ...(run.status === "failed" ? optional("failureFault", facts.fault?.class) : {}),
334
337
  ...(run.status === "failed" ? optional("failureTag", facts.fault?.tag) : {})
335
338
  }
@@ -624,7 +627,15 @@ export const approvals = (
624
627
  run?: ControlSchema.RunSummary | undefined
625
628
  ): ReadonlyArray<ApprovalRow> => {
626
629
  const native = run === undefined ? undefined : ExecutionFact.foldControl(events, run.runId, run.executionView)
630
+ const grantFacts = events.filter((event) =>
631
+ event.kind === "control.approval.requested" && Schema.is(ControlFacts.ApprovalRequestFact)(event.payload)
632
+ )
633
+ const grants = ControlFacts.fold(grantFacts).approvals
627
634
  const observed = run?.pendingWaits?.map((wait) => {
635
+ // An agent ask parks on its registered grant token, not a HumanTask answer.
636
+ // Preserve the committed target instead of inventing an answer-only target.
637
+ const grant = grants.find((row) => row.runId === run.runId && row.requestId === wait.token)
638
+ if (grant !== undefined) return grant
628
639
  const projected = native?.provenance.humanWaits === "events" ?
629
640
  native.view?.humanWaits?.find((candidate) =>
630
641
  candidate.executionId === wait.runId && candidate.waiting?.tokenDigest === wait.tokenDigest
@@ -1,7 +1,11 @@
1
- /** Host-only adapter of the existing branch protocol and lease roster.
1
+ /**
2
+ * Host-only adapter of the existing branch protocol and lease roster.
2
3
  * The Go authorizer resolves branch, actor and socket session before forwarding.
3
4
  * The runtime bearer is required on every RPC; participant IDs confer no rights.
5
+ *
6
+ * @since 1.0.0
4
7
  */
8
+
5
9
  import * as BranchPresence from "@smthrs/sync/BranchPresence"
6
10
  import type { Announcement, LeaveRequest, RosterRequest } from "@smthrs/sync/BranchProtocol"
7
11
  import { BranchRpcs } from "@smthrs/sync/BranchRpcs"
package/src/RunTrace.ts CHANGED
@@ -2671,7 +2671,7 @@ export const monitorFromJournal = (run: TraceRun, records: ReadonlyArray<Journal
2671
2671
  )
2672
2672
  // Engine bookkeeping stays in the Engine row. Its dependency edges still
2673
2673
  // order the visible steps, including across several hidden boundaries.
2674
- const visibleDeps = (id: string, seen: ReadonlySet<string>): string[] => {
2674
+ const visibleDeps = (id: string, seen: ReadonlySet<string>): Array<string> => {
2675
2675
  const node = hidden.get(id)
2676
2676
  if (node === undefined) return [prefix + encodeURIComponent(id)]
2677
2677
  if (seen.has(id)) return []
@@ -2719,13 +2719,16 @@ export const monitorFromJournal = (run: TraceRun, records: ReadonlyArray<Journal
2719
2719
  // The machine records its declared custom view as data. Only the shipped
2720
2720
  // text renderer is supported; module paths, HTML and executable data never
2721
2721
  // cross this seam. Replay selects the last declaration in its own prefix.
2722
- const custom = [...journal].reverse().find(row => (row.runId === undefined || row.runId === run.runId) &&
2723
- row.kind === "control.engine.event" && asRecord(row.payload).eventType === "flows.run.presentation")
2722
+ const custom = [...journal].reverse().find((row) =>
2723
+ (row.runId === undefined || row.runId === run.runId) &&
2724
+ row.kind === "control.engine.event" && asRecord(row.payload).eventType === "flows.run.presentation"
2725
+ )
2724
2726
  const presentation = asRecord(asRecord(custom?.payload).payload)
2725
2727
  const text = asString(presentation.text)
2726
2728
  const customView = presentation.kind === "text" && text !== undefined && text.length <= 65536 &&
2727
- Object.keys(presentation).every(key => key === "kind" || key === "text")
2728
- ? { presentation: { kind: "text" as const, text } } : {}
2729
+ Object.keys(presentation).every((key) => key === "kind" || key === "text")
2730
+ ? { presentation: { kind: "text" as const, text } } :
2731
+ {}
2729
2732
  return {
2730
2733
  ...customView,
2731
2734
  id: run.runId,
@@ -2751,7 +2754,7 @@ export const monitorFromJournal = (run: TraceRun, records: ReadonlyArray<Journal
2751
2754
  : row.status === "waiting"
2752
2755
  ? "waiting" as const
2753
2756
  : "current" as const,
2754
- deps: [] as string[]
2757
+ deps: [] as Array<string>
2755
2758
  }))
2756
2759
  }],
2757
2760
  waits: [
@@ -1,4 +1,15 @@
1
1
  // Generated by scripts/catalog-mvp.ts from Appendix C; do not edit.
2
+ /**
3
+ * The deterministic Inspect label of each kept action in .specs/product/actions.md
4
+ * Appendix C, keyed by action id; null marks an action whose Inspect shows no label.
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+
9
+ /**
10
+ * @since 1.0.0
11
+ * @private
12
+ */
2
13
  export const ACTION_RENDERINGS: Readonly<Record<string, string | null>> = {
3
14
  "<boundary:name>": null,
4
15
  "<park>/parked": null,
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Inspect labels for recorded actions, read from the generated Appendix C table.
3
+ *
4
+ * @since 1.0.0
5
+ */
6
+
1
7
  import { ACTION_RENDERINGS } from "./actionRenderings.ts"
2
8
 
3
9
  /**
@@ -10,4 +16,3 @@ export const inspectLabel = (tag: string): string => {
10
16
  const tool = /^<cell-call:(.+)>$/.exec(tag)?.[1] ?? tag
11
17
  return ACTION_RENDERINGS[tool] ?? tool
12
18
  }
13
-