@sabaiway/agent-workflow-kit 5.11.0 → 5.11.2

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 (65) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/SKILL.md +1 -1
  3. package/capability.json +1 -1
  4. package/package.json +1 -1
  5. package/references/hooks/gate-approve.mjs +13 -2
  6. package/references/hooks/state-block-guard.mjs +14 -2
  7. package/references/scripts/archive-changelog.mjs +14 -3
  8. package/references/scripts/archive-decisions.mjs +14 -3
  9. package/references/scripts/archive-issues.mjs +14 -3
  10. package/references/scripts/check-docs-size.mjs +14 -3
  11. package/references/scripts/migrate-gates.mjs +13 -2
  12. package/tools/ack-write.mjs +3 -3
  13. package/tools/autonomy-doctor.mjs +2 -3
  14. package/tools/bridge-settings.mjs +2 -3
  15. package/tools/cheap-agents.mjs +3 -3
  16. package/tools/commands.mjs +2 -3
  17. package/tools/commit-guard.mjs +3 -3
  18. package/tools/core-evidence.mjs +2 -3
  19. package/tools/coverage-check.mjs +2 -3
  20. package/tools/delegation.mjs +2 -3
  21. package/tools/detect-backends.mjs +2 -3
  22. package/tools/dispatch-record.mjs +1 -1
  23. package/tools/doc-parity.mjs +2 -3
  24. package/tools/family-registry.mjs +3 -3
  25. package/tools/flow-adoption-mint.mjs +70 -0
  26. package/tools/flow-append.mjs +309 -0
  27. package/tools/flow-chain-state.mjs +91 -0
  28. package/tools/flow-check.mjs +2 -3
  29. package/tools/flow-delta-proof.mjs +307 -0
  30. package/tools/flow-finding-manifest.mjs +70 -0
  31. package/tools/flow-legality.mjs +248 -0
  32. package/tools/flow-record-identity.mjs +115 -0
  33. package/tools/flow-record-shape.mjs +283 -0
  34. package/tools/flow-record.mjs +49 -789
  35. package/tools/flow-store-read.mjs +3 -3
  36. package/tools/flow-store.mjs +35 -812
  37. package/tools/flow-subset-budget.mjs +81 -0
  38. package/tools/flow-vocabulary.mjs +96 -0
  39. package/tools/flow-writer.mjs +3 -3
  40. package/tools/gate-hook.mjs +3 -3
  41. package/tools/gates-init.mjs +3 -3
  42. package/tools/grounding.mjs +2 -3
  43. package/tools/hide-footprint.mjs +2 -3
  44. package/tools/inject-methodology.mjs +2 -3
  45. package/tools/lens-region.mjs +2 -3
  46. package/tools/manifest/validate.mjs +2 -3
  47. package/tools/migrate-adr-store.mjs +3 -3
  48. package/tools/path-inventory.mjs +2 -3
  49. package/tools/procedures.mjs +3 -3
  50. package/tools/receipt-deadline.mjs +2 -3
  51. package/tools/recipes.mjs +2 -3
  52. package/tools/recommendations.mjs +3 -3
  53. package/tools/release-scan.mjs +2 -3
  54. package/tools/repo-search.mjs +2 -3
  55. package/tools/review-state.mjs +3 -3
  56. package/tools/run-gates.mjs +2 -3
  57. package/tools/sandbox-masks.mjs +3 -3
  58. package/tools/set-autonomy.mjs +2 -3
  59. package/tools/set-flow.mjs +3 -3
  60. package/tools/set-recipe.mjs +2 -3
  61. package/tools/setup-backends.mjs +3 -3
  62. package/tools/store-append.mjs +2 -2
  63. package/tools/uninstall.mjs +2 -3
  64. package/tools/velocity-profile.mjs +3 -3
  65. package/tools/worktrees.mjs +3 -3
@@ -1,8 +1,8 @@
1
1
  // flow-store-read.mjs — the read half of the flow store (flow-orchestration, Plan 3 Phase 3):
2
2
  // common-dir path resolution, the fail-closed reader, the race-free no-follow file read, and the
3
3
  // canonical owning-worktree identity. This module OWNS no write API: the append surface and the
4
- // lock/CAS stay behind flow-store.mjs (which imports and RE-EXPORTS everything here, so every
5
- // existing consumer keeps its import site), and the procedures advisor imports ONLY this module.
4
+ // lock/CAS discipline live in flow-append.mjs; flow-store.mjs re-exports the EIGHT store-surface
5
+ // names below (never everything here), and the procedures advisor imports ONLY this module.
6
6
  // The no-follow read primitive lives in the fs-read-nofollow.mjs LEAF (re-exported here under the
7
7
  // same idiom); the transitive read graph is pinned write-module-free and acyclic by
8
8
  // test/read-graph-purity.test.mjs (FLOW-READ-GRAPH-PURITY).
@@ -17,7 +17,7 @@ import { readRegularFileNoFollow } from './fs-read-nofollow.mjs';
17
17
  export { lstatNoFollowRead, describeNonRegular, readRegularFileNoFollow, readFileBytesNoFollow } from './fs-read-nofollow.mjs';
18
18
 
19
19
  export const FLOW_STORE_STOP = 'FLOW_STORE_STOP';
20
- // The ONE typed-STOP factory for the store's read AND write halves (flow-store.mjs imports it).
20
+ // The ONE typed-STOP factory for the store's read AND write halves (the write leaves import it).
21
21
  export const flowStoreStop = (message) => Object.assign(new Error(`[agent-workflow-kit] ${message}`), { name: 'FlowStoreStop', code: FLOW_STORE_STOP });
22
22
 
23
23
  export const FLOW_STORE_BASENAME = 'agent-workflow-flow.jsonl';