loopforge 3.7.1 → 3.8.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 (144) hide show
  1. package/README.md +84 -130
  2. package/dist/audit.d.ts +53 -1
  3. package/dist/audit.d.ts.map +1 -1
  4. package/dist/audit.js +106 -22
  5. package/dist/audit.js.map +1 -1
  6. package/dist/canonical-state.d.ts +52 -67
  7. package/dist/canonical-state.d.ts.map +1 -1
  8. package/dist/canonical-state.js +134 -147
  9. package/dist/canonical-state.js.map +1 -1
  10. package/dist/cli.d.ts.map +1 -1
  11. package/dist/cli.js +103 -4
  12. package/dist/cli.js.map +1 -1
  13. package/dist/cognitive-facts.d.ts +13 -0
  14. package/dist/cognitive-facts.d.ts.map +1 -1
  15. package/dist/cognitive-facts.js +28 -13
  16. package/dist/cognitive-facts.js.map +1 -1
  17. package/dist/committed-round.d.ts +103 -21
  18. package/dist/committed-round.d.ts.map +1 -1
  19. package/dist/committed-round.js +188 -45
  20. package/dist/committed-round.js.map +1 -1
  21. package/dist/contract-items.d.ts +55 -0
  22. package/dist/contract-items.d.ts.map +1 -0
  23. package/dist/contract-items.js +180 -0
  24. package/dist/contract-items.js.map +1 -0
  25. package/dist/enforcement-gate.d.ts +20 -2
  26. package/dist/enforcement-gate.d.ts.map +1 -1
  27. package/dist/enforcement-gate.js +197 -386
  28. package/dist/enforcement-gate.js.map +1 -1
  29. package/dist/engine.d.ts +1 -1
  30. package/dist/engine.d.ts.map +1 -1
  31. package/dist/engine.js +53 -38
  32. package/dist/engine.js.map +1 -1
  33. package/dist/evidence-claims.d.ts +4 -4
  34. package/dist/evidence-claims.d.ts.map +1 -1
  35. package/dist/evidence-claims.js +16 -14
  36. package/dist/evidence-claims.js.map +1 -1
  37. package/dist/evidence-provider.d.ts +85 -89
  38. package/dist/evidence-provider.d.ts.map +1 -1
  39. package/dist/evidence-provider.js +328 -184
  40. package/dist/evidence-provider.js.map +1 -1
  41. package/dist/explain.d.ts +76 -0
  42. package/dist/explain.d.ts.map +1 -0
  43. package/dist/explain.js +127 -0
  44. package/dist/explain.js.map +1 -0
  45. package/dist/generate-schema.js +152 -16
  46. package/dist/generate-schema.js.map +1 -1
  47. package/dist/index.d.ts +6 -6
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +5 -5
  50. package/dist/index.js.map +1 -1
  51. package/dist/loop-compiler.d.ts +40 -53
  52. package/dist/loop-compiler.d.ts.map +1 -1
  53. package/dist/loop-compiler.js +229 -553
  54. package/dist/loop-compiler.js.map +1 -1
  55. package/dist/loop-extras-parser.d.ts +0 -1
  56. package/dist/loop-extras-parser.d.ts.map +1 -1
  57. package/dist/loop-extras-parser.js +0 -4
  58. package/dist/loop-extras-parser.js.map +1 -1
  59. package/dist/loop-projection.d.ts.map +1 -1
  60. package/dist/loop-projection.js +3 -1
  61. package/dist/loop-projection.js.map +1 -1
  62. package/dist/mcp/round-lifecycle.d.ts +30 -21
  63. package/dist/mcp/round-lifecycle.d.ts.map +1 -1
  64. package/dist/mcp/round-lifecycle.js +47 -103
  65. package/dist/mcp/round-lifecycle.js.map +1 -1
  66. package/dist/mcp/server.d.ts.map +1 -1
  67. package/dist/mcp/server.js +51 -7
  68. package/dist/mcp/server.js.map +1 -1
  69. package/dist/mcp/session.d.ts +39 -23
  70. package/dist/mcp/session.d.ts.map +1 -1
  71. package/dist/mcp/session.js +148 -163
  72. package/dist/mcp/session.js.map +1 -1
  73. package/dist/mcp/submission-boundary.d.ts +89 -0
  74. package/dist/mcp/submission-boundary.d.ts.map +1 -0
  75. package/dist/mcp/submission-boundary.js +203 -0
  76. package/dist/mcp/submission-boundary.js.map +1 -0
  77. package/dist/mcp/tools.d.ts.map +1 -1
  78. package/dist/mcp/tools.js +249 -128
  79. package/dist/mcp/tools.js.map +1 -1
  80. package/dist/policy-metrics.js +2 -2
  81. package/dist/policy-metrics.js.map +1 -1
  82. package/dist/policy.d.ts +55 -93
  83. package/dist/policy.d.ts.map +1 -1
  84. package/dist/policy.js +149 -38
  85. package/dist/policy.js.map +1 -1
  86. package/dist/prompt-assembler.d.ts +1 -32
  87. package/dist/prompt-assembler.d.ts.map +1 -1
  88. package/dist/prompt-assembler.js +282 -435
  89. package/dist/prompt-assembler.js.map +1 -1
  90. package/dist/prompt-policy.d.ts +1 -4
  91. package/dist/prompt-policy.d.ts.map +1 -1
  92. package/dist/prompt-policy.js +6 -7
  93. package/dist/prompt-policy.js.map +1 -1
  94. package/dist/protocol.d.ts +365 -142
  95. package/dist/protocol.d.ts.map +1 -1
  96. package/dist/protocol.js +21 -66
  97. package/dist/protocol.js.map +1 -1
  98. package/dist/replay.js +2 -2
  99. package/dist/replay.js.map +1 -1
  100. package/dist/round-contract.d.ts +69 -57
  101. package/dist/round-contract.d.ts.map +1 -1
  102. package/dist/round-contract.js +104 -64
  103. package/dist/round-contract.js.map +1 -1
  104. package/dist/round-coordinator.d.ts +36 -16
  105. package/dist/round-coordinator.d.ts.map +1 -1
  106. package/dist/round-coordinator.js +166 -102
  107. package/dist/round-coordinator.js.map +1 -1
  108. package/dist/round-driver.d.ts +3 -5
  109. package/dist/round-driver.d.ts.map +1 -1
  110. package/dist/round-driver.js +0 -1
  111. package/dist/round-driver.js.map +1 -1
  112. package/dist/round-facts.d.ts +96 -0
  113. package/dist/round-facts.d.ts.map +1 -0
  114. package/dist/round-facts.js +216 -0
  115. package/dist/round-facts.js.map +1 -0
  116. package/dist/round-transaction.d.ts +19 -9
  117. package/dist/round-transaction.d.ts.map +1 -1
  118. package/dist/round-transaction.js +90 -22
  119. package/dist/round-transaction.js.map +1 -1
  120. package/dist/self-eval.d.ts +87 -9
  121. package/dist/self-eval.d.ts.map +1 -1
  122. package/dist/self-eval.js +396 -27
  123. package/dist/self-eval.js.map +1 -1
  124. package/dist/subgoal-state.d.ts +77 -0
  125. package/dist/subgoal-state.d.ts.map +1 -0
  126. package/dist/subgoal-state.js +198 -0
  127. package/dist/subgoal-state.js.map +1 -0
  128. package/dist/token-utils.d.ts +52 -19
  129. package/dist/token-utils.d.ts.map +1 -1
  130. package/dist/token-utils.js +83 -72
  131. package/dist/token-utils.js.map +1 -1
  132. package/dist/verification-gate.d.ts +14 -31
  133. package/dist/verification-gate.d.ts.map +1 -1
  134. package/dist/verification-gate.js +178 -496
  135. package/dist/verification-gate.js.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.js +1 -1
  138. package/dist/workspace.d.ts +9 -0
  139. package/dist/workspace.d.ts.map +1 -1
  140. package/dist/workspace.js +17 -0
  141. package/dist/workspace.js.map +1 -1
  142. package/loop_policy.json +59 -83
  143. package/package.json +67 -67
  144. package/skills/perception/SKILL.md +218 -204
@@ -3,7 +3,11 @@
3
3
  * The canonical state is data, not Markdown. Prompt and state-file renderers
4
4
  * consume the same value so they cannot silently drift apart.
5
5
  */
6
- import type { ConstraintMeta, CriterionStatus, Lesson, LoopCompileRequest, LoopCompileResponse, MilestoneSummary, RoundContract, SubGoal, VerificationFlag } from "./protocol.js";
6
+ import type { ConstraintMeta, CriterionStatus, RecurringFlag, LoopCompileRequest, LoopCompileResponse, MilestoneSummary, SubGoal, VerificationFlag } from "./protocol.js";
7
+ import type { ActiveContractView } from "./round-contract.js";
8
+ import type { ContractItemStatusView } from "./contract-items.js";
9
+ import type { ConfiguredCapability, VerifiedSubGoalFact } from "./protocol.js";
10
+ import type { RoundFacts } from "./round-facts.js";
7
11
  export declare const CANONICAL_STATE_SCHEMA_VERSION: 1;
8
12
  /** v3.7.1: Presentation view of sub-goals shared by prompts and the state
9
13
  * file (one derivation, no second copy). Only ACTIVE items render as rows
@@ -18,31 +22,6 @@ export declare function activeSubGoalView(subGoals: SubGoal[], cap: number): {
18
22
  canceled: number;
19
23
  total: number;
20
24
  };
21
- /** v3.2: Durable snapshot of what an L1 prompt actually presented last round.
22
- * Used as the diff baseline for L1 collapse. Persisted inside the lineage
23
- * entry's loop_lineage (field extension — no new persistence format) and
24
- * carried on PromptArtifact for the compile-to-persist round-trip. */
25
- export interface PresentedStateSnapshot {
26
- /** Round whose presentation this snapshot describes (the baseline round). */
27
- round: number;
28
- /** Stable IDs (c-XXXXXXXX) of constraints rendered in the L1 Active
29
- * Constraints section (post-emphasize, non-hard). */
30
- constraintIds: string[];
31
- /** [sub-goal id, status] pairs rendered in the L1 Active Sub-Goals section
32
- * (in_progress + pending only). Statuses enable transition detection. */
33
- subGoals: Array<[string, string]>;
34
- /** [start, end] round ranges of all milestones at presentation time. */
35
- milestoneRanges: Array<[number, number]>;
36
- }
37
- /** v3.3: Per-round statistics for the display (files changed, rejected
38
- * attempts, self-reported progress delta). Compiler-derived from committed
39
- * entries — zero persistence. Optional: absent when no committed rounds. */
40
- export interface RoundStat {
41
- round: number;
42
- filesChangedCount: number | null;
43
- rejectedAttempts: number | null;
44
- progressDelta: number | null;
45
- }
46
25
  /** v3.3: Machine git-motion cross-check over the last committed rounds.
47
26
  * Display-only companion to the R4/R5 exculpatory signal. Optional:
48
27
  * absent when no committed rounds carry git snapshots — the object, when
@@ -73,9 +52,7 @@ export interface CanonicalLoopState {
73
52
  blockers: string[];
74
53
  verificationFlags: VerificationFlag[];
75
54
  discoveries: string[];
76
- nextAction: string;
77
55
  rollingOutcomes: string[];
78
- recurringIssues: string[];
79
56
  failedPatterns: string[];
80
57
  /** v2.1: Phase-boundary milestone summaries that survive window eviction. */
81
58
  milestones: MilestoneSummary[];
@@ -83,13 +60,10 @@ export interface CanonicalLoopState {
83
60
  subGoals: SubGoal[];
84
61
  /** v3.2: Derived per-criterion status (goal → criteria → evidence view). */
85
62
  criterionStatuses: CriterionStatus[];
86
- /** v3.2: Deterministic lessons learned (repeated violations / failures). */
87
- lessons: Lesson[];
88
- /** v2.5: Agent trust score [0, 1] from verification flags. */
89
- agentTrustScore: number | undefined;
90
- /** v2.5: Trust trend over last 10 rounds. */
91
- agentTrustTrend: number[];
92
- suggestedNextTask: string;
63
+ /** v3.8.1: THE repeated-fact list (see RecurringFlag). One derivation
64
+ * replaces the former Lessons list and the rolling summary's
65
+ * "recurring_issues" window; renderers filter it. */
66
+ recurringFlags: RecurringFlag[];
93
67
  externalContext: string;
94
68
  stateFilePath: string;
95
69
  progress: {
@@ -103,9 +77,6 @@ export interface CanonicalLoopState {
103
77
  skipped: number;
104
78
  } | null;
105
79
  };
106
- /** v3.3: Display-only round stats over the last committed rounds.
107
- * Conditional presence: absent when there are no committed rounds. */
108
- roundStats?: RoundStat[];
109
80
  /** v3.3: Machine git-motion cross-check for the progress dashboard.
110
81
  * Conditional presence: absent when no committed git snapshots exist. */
111
82
  machineStatus?: MachineStatus;
@@ -114,36 +85,42 @@ export interface CanonicalLoopState {
114
85
  * round_contract, which is a proposal for the NEXT round). Conditional
115
86
  * presence: absent without an active contract — keeps state hashes
116
87
  * byte-identical for contract-less rounds. */
117
- roundContract?: RoundContract;
88
+ roundContract?: ActiveContractView;
89
+ /** v3.8: The derived item statuses of the ACTIVE contract — the runtime's
90
+ * statement about what the agent claimed under it. Conditional presence:
91
+ * absent without an active contract. */
92
+ contractItemStatuses?: ContractItemStatusView;
93
+ /** v3.8: Sub-goals a verified contract item backs. DERIVED, never
94
+ * persisted — the machine's separate statement about a `done` sub-goal. */
95
+ verifiedSubGoals?: VerifiedSubGoalFact[];
96
+ /** v3.8: The static verification capability (policy-derived). Unconditional:
97
+ * it is part of the round's verification context, so every state hash
98
+ * changes once, deliberately. */
99
+ capability: ConfiguredCapability;
118
100
  }
119
101
  /** Deterministic JSON serialization used by state and prompt hashes. */
120
102
  export declare function stableStringify(value: unknown): string;
121
103
  export declare function hashCanonicalState(state: CanonicalLoopState): string;
122
- /** Human/Agent-readable materialized view. It is always reproducible from the
123
- * canonical state and is never consulted as transaction truth. */
124
- /** v3.3: Forward-looking "roadmap" view derived from existing state — loop
125
- * position, met/remaining criteria (with IDs), and sub-goal activity.
104
+ /** v3.8.1: the one-line phase position — which phase the loop is in, and how
105
+ * far the next boundary is.
106
+ *
107
+ * This is all that survives of v3.3's "roadmap": of its four lines, three
108
+ * (met/remaining criteria with ids, sub-goal activity) were already rendered
109
+ * in full by the sections that own them. Returns "" when no milestone exists,
110
+ * so the caller renders no section at all — bare position is already in the
111
+ * prompt header.
126
112
  *
127
- * Deliberately label-free: milestone labels/ranges are collapsed content in
128
- * L1 (the diff-collapse invariant) and are rendered in full by Phase
129
- * History everywhere else — the roadmap only reports "N rounds since the
130
- * last milestone boundary", never the boundary's identity. Next action is
131
- * likewise excluded: every level renders its own Next Action section.
132
- * Shared by the state-file and prompt renderers so they cannot silently
133
- * drift apart (module contract above). Returns [] — renders nothing —
134
- * when the state carries none of these. Presentation only; never feeds
135
- * enforcement. */
136
- export declare function buildRoadmap(state: CanonicalLoopState): string[];
113
+ * Shared by the state-file and prompt renderers so they cannot drift apart
114
+ * (module contract above). Presentation only; never feeds enforcement. */
115
+ export declare function buildPhaseLine(state: CanonicalLoopState): string;
137
116
  /** v3.3/v3.4: Render the ACTIVE Round Contract as the Current Task section
138
117
  * body — the single formatting source shared by prompts and the state
139
118
  * file (module contract above). The original objective is NOT here: it
140
119
  * lives in the Objective section. Empty arrays render no line. */
141
- export declare function formatRoundContract(contract: RoundContract): string;
142
- /** The trust bar line ("██████░░░░ 60%"). The L2 Agent Trust section and the
143
- * detailed L1 renderer used to carry private copies of this formula — shared
144
- * here so a formatting change is made once (module contract: renderers must
145
- * not silently drift apart). */
146
- export declare function trustBarLine(score: number): string;
120
+ export declare function formatRoundContract(contract: ActiveContractView,
121
+ /** v3.8: the derived item statuses. When given, each item renders with its
122
+ * machine status — the agent sees the verification debt in its own task. */
123
+ statuses?: ContractItemStatusView | null): string;
147
124
  /** Milestone heading line ("**🏁 Round 7** (Rounds 3–7, 60%)"). Shared by the
148
125
  * L2 Phase History and the detailed L1 renderer; the L1 copy previously
149
126
  * rendered the range as "R3–R7", a format only this heading used. */
@@ -156,17 +133,25 @@ export interface StateFileRenderOptions {
156
133
  attempt?: number;
157
134
  recoveryBrief?: string[];
158
135
  }
136
+ /** Human/Agent-readable materialized view. It is always reproducible from the
137
+ * canonical state and is never consulted as transaction truth.
138
+ *
139
+ * v3.8.1: this is where the diagnostics live — the progress dashboard, the
140
+ * criterion list, round stats, the FULL recurring-flag history and the phase
141
+ * history. The prompt carries only what the next round needs. */
159
142
  export declare function renderCanonicalStateMarkdown(state: CanonicalLoopState, options?: StateFileRenderOptions): string;
160
143
  export declare function createCanonicalLoopState(request: LoopCompileRequest, response: LoopCompileResponse, stateFilePath: string,
161
- /** v3.3: Display-only derived data (round stats, machine git-motion).
162
- * Optional 4th param — callers that predate v3.3 stay on 3-arg calls. */
144
+ /** v3.3: Display-only derived data. Optional 4th param — callers that
145
+ * predate v3.3 stay on 3-arg calls. */
163
146
  derived?: {
164
- roundStats?: RoundStat[];
165
147
  machineStatus?: MachineStatus;
166
- /** v3.4: ACTIVE Round Contract for this round (compile-derived from the
167
- * committed evals of earlier rounds — see loop-compiler). Drives the
168
- * Current Task. Never the submission's own round_contract field, which
169
- * is a proposal for the NEXT round. */
170
- roundContract?: RoundContract | null;
148
+ /** v3.8.1: the contract-fact bundle — the ACTIVE Round Contract (drives
149
+ * the Current Task; never the submission's own `round_contract` field,
150
+ * which is a proposal for the NEXT round), its derived item statuses, and
151
+ * the machine-verified sub-goal facts, all from ONE `deriveRoundFacts`
152
+ * call. Taking them as a bundle makes it structurally impossible to
153
+ * assemble a state out of values derived over different history windows —
154
+ * v3.4/v3.8 passed them as three independent options. */
155
+ roundFacts?: RoundFacts;
171
156
  }): CanonicalLoopState;
172
157
  //# sourceMappingURL=canonical-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"canonical-state.d.ts","sourceRoot":"","sources":["../src/canonical-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,MAAM,EACN,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,8BA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