@ijfw/memory-server 1.4.4 → 1.5.1
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.
- package/bin/ijfw-memorize +14 -7
- package/fixtures/team/book.json +6 -6
- package/fixtures/team/business.json +146 -20
- package/fixtures/team/content.json +6 -6
- package/fixtures/team/design.json +148 -20
- package/fixtures/team/mixed.json +206 -27
- package/fixtures/team/research.json +146 -20
- package/fixtures/team/software.json +148 -20
- package/fixtures/truncation-corpus/_generate-corpus.js +367 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-01/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-01/intent-journal.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-01/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-01/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-02/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-02/intent-journal.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-02/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-02/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-03/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-03/intent-journal.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-03/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-03/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-04/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-04/intent-journal.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-04/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-04/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-05/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-05/intent-journal.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-05/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-01-clean-exit-05/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/snapshots/v-midO-1-advance.json +11 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/snapshots/v-midO-2-advance.json +11 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/snapshots/v-midO-3-advance.json +11 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/snapshots/v-midO-4-advance.json +11 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/snapshots/v-midO-5-advance.json +11 -0
- package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-01/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-01/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-01/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-01/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-02/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-02/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-02/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-02/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-03/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-03/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-03/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-03/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-04/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-04/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-04/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-04/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-05/events.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-05/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-05/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-03-mid-append-05/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-01/events.jsonl +0 -0
- package/fixtures/truncation-corpus/fx-04-no-events-01/intent-journal.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-01/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-04-no-events-01/snapshots/v-noEv-1-set-phase.json +11 -0
- package/fixtures/truncation-corpus/fx-04-no-events-01/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-02/events.jsonl +0 -0
- package/fixtures/truncation-corpus/fx-04-no-events-02/intent-journal.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-02/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-04-no-events-02/snapshots/v-noEv-2-set-phase.json +11 -0
- package/fixtures/truncation-corpus/fx-04-no-events-02/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-03/events.jsonl +0 -0
- package/fixtures/truncation-corpus/fx-04-no-events-03/intent-journal.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-03/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-04-no-events-03/snapshots/v-noEv-3-set-phase.json +11 -0
- package/fixtures/truncation-corpus/fx-04-no-events-03/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-04/events.jsonl +0 -0
- package/fixtures/truncation-corpus/fx-04-no-events-04/intent-journal.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-04/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-04-no-events-04/snapshots/v-noEv-4-set-phase.json +11 -0
- package/fixtures/truncation-corpus/fx-04-no-events-04/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-05/events.jsonl +0 -0
- package/fixtures/truncation-corpus/fx-04-no-events-05/intent-journal.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-04-no-events-05/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-04-no-events-05/snapshots/v-noEv-5-set-phase.json +11 -0
- package/fixtures/truncation-corpus/fx-04-no-events-05/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-01/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-01/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-01/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-01/snapshots/v-errT-1-partial.json +11 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-01/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-02/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-02/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-02/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-02/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-03/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-03/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-03/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-03/snapshots/v-errT-3-partial.json +11 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-03/target/.ijfw/state/workflow.json +1 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-04/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-04/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-04/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-04/target/.ijfw/blackboard/decisions.jsonl +1 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-05/events.jsonl +2 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-05/intent-journal.jsonl +3 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-05/meta.json +18 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-05/snapshots/v-errT-5-partial.json +11 -0
- package/fixtures/truncation-corpus/fx-05-error-terminated-05/target/.ijfw/state/workflow.json +1 -0
- package/package.json +6 -3
- package/src/active-extension-writer.js +144 -64
- package/src/api-client.js +43 -5
- package/src/audit-roster.js +80 -5
- package/src/blackboard.js +298 -6
- package/src/cli-run.js +33 -5
- package/src/codex-agents.js +96 -5
- package/src/cost/aggregator.js +39 -9
- package/src/cost/pricing.js +57 -0
- package/src/cost/readers/gemini.js +1 -1
- package/src/cross-audit-chunker.js +189 -0
- package/src/cross-dispatcher.js +124 -21
- package/src/cross-orchestrator-cli.js +754 -159
- package/src/cross-orchestrator.js +1065 -17
- package/src/cross-project-search.js +195 -9
- package/src/dashboard-client-waves.html +304 -0
- package/src/dashboard-client.html +5 -1
- package/src/dashboard-server.js +73 -0
- package/src/deploy-alerts.js +150 -0
- package/src/design/iframe-bridge.js +242 -0
- package/src/design-companion.js +144 -0
- package/src/dispatch/checkpoint-cli.js +97 -0
- package/src/dispatch/colon-syntax.js +81 -1
- package/src/dispatch/extension.js +26 -2
- package/src/dispatch/registry-cli.js +4 -1
- package/src/dispatch/wave-cli.js +201 -6
- package/src/dispatch/worktree-cli.js +40 -0
- package/src/dispatch-planner.js +97 -2
- package/src/dream/runner.mjs +47 -11
- package/src/dream/stage-runner.js +40 -0
- package/src/dream/state-file.js +102 -0
- package/src/extension-installer.js +70 -24
- package/src/extension-quota-tracker.js +4 -2
- package/src/extension-registry.js +289 -35
- package/src/feedback-detector.js +26 -0
- package/src/fs-lock.js +259 -7
- package/src/gate-result.js +95 -1
- package/src/hardware-signer.js +4 -2
- package/src/hero-line.js +86 -5
- package/src/intent-router.js +35 -0
- package/src/lib/a11y-contract.js +117 -0
- package/src/lib/atomic-io.js +29 -8
- package/src/lib/cache-keepalive.js +150 -0
- package/src/lib/jsonl-rotation.js +104 -0
- package/src/lib/lighthouse-pillar.js +121 -0
- package/src/lib/llm-call.js +121 -0
- package/src/lib/playwright-baseline.js +205 -0
- package/src/lib/rekor-bridge.js +221 -0
- package/src/lib/repo-map.js +392 -0
- package/src/lib/shasum-verify.js +164 -0
- package/src/lib/sketches-gc.js +132 -0
- package/src/lib/tmp-suffix.js +62 -0
- package/src/lib/ui-review-runner.js +595 -0
- package/src/lib/uispec-drift.js +301 -0
- package/src/lib/uispec-intake.js +381 -0
- package/src/lib/worktree-guards.js +118 -0
- package/src/lib/worktree-recovery.js +100 -0
- package/src/memory/auto-linker.js +267 -0
- package/src/memory/benchmark.js +498 -0
- package/src/memory/dedup.js +126 -0
- package/src/memory/embedding-cache.js +136 -0
- package/src/memory/fact-extractor.js +168 -0
- package/src/memory/fts5.js +65 -1
- package/src/memory/migration-runner.js +6 -1
- package/src/memory/migrations/004-bitemporal.js +91 -0
- package/src/memory/migrations/005-vector-cache.js +61 -0
- package/src/memory/migrations/006-obsidian-graph.js +46 -0
- package/src/memory/migrations/007-skill-telemetry.js +24 -0
- package/src/memory/migrations/008-write-provenance.js +41 -0
- package/src/memory/migrations/009-obsidian-backfill.js +50 -0
- package/src/memory/obsidian-parser.js +152 -0
- package/src/memory/query-dataview.js +86 -0
- package/src/memory/search.js +46 -15
- package/src/memory/temporal.js +529 -0
- package/src/memory/tokenize.js +10 -0
- package/src/memory-facts-handler.js +37 -0
- package/src/memory-feedback.js +260 -2
- package/src/model-refresh.js +292 -0
- package/src/observability/cost-anomaly.js +166 -0
- package/src/observability/evaluator-checkpoint-contract.js +117 -0
- package/src/observability/trace-id.js +163 -0
- package/src/orchestrator/agents-md-blackboard.js +152 -0
- package/src/orchestrator/checkpoint-contract.md +140 -0
- package/src/orchestrator/debug-trident-trigger.js +374 -0
- package/src/orchestrator/debug-trident.js +570 -0
- package/src/orchestrator/merge-block-aware.js +350 -0
- package/src/orchestrator/plan-checker.js +475 -0
- package/src/orchestrator/post-done-runner.js +277 -0
- package/src/orchestrator/review.js +38 -3
- package/src/orchestrator/skill-telemetry-sink.js +29 -0
- package/src/orchestrator/skill-telemetry.js +37 -0
- package/src/orchestrator/state-events.js +459 -0
- package/src/orchestrator/state-sdk.js +1932 -0
- package/src/orchestrator/status-protocol.js +84 -17
- package/src/orchestrator/subagent-telemetry.js +471 -0
- package/src/orchestrator/termination.js +160 -0
- package/src/orchestrator/verification-gate.js +200 -16
- package/src/orchestrator/wave-state.js +332 -23
- package/src/orchestrator/worktree-provision.js +77 -0
- package/src/override-resolver.js +5 -3
- package/src/override-use-registry.js +111 -5
- package/src/receipts.js +36 -4
- package/src/recovery/checkpoint.js +56 -3
- package/src/recovery/code-fixer.js +961 -0
- package/src/recovery/truncation.js +317 -0
- package/src/redactor.js +75 -6
- package/src/runtime-mediator.js +15 -1
- package/src/sanitizer.js +10 -0
- package/src/search-hybrid.js +139 -0
- package/src/server.js +795 -112
- package/src/swarm/worktree.js +27 -4
- package/src/swarm-config.js +102 -17
- package/src/team/domain-templates/book.json +51 -0
- package/src/team/domain-templates/business.json +44 -0
- package/src/team/domain-templates/content.json +50 -0
- package/src/team/domain-templates/design.json +44 -0
- package/src/team/domain-templates/research.json +44 -0
- package/src/team/domain-templates/software.json +40 -0
- package/src/team/generator.js +440 -3
- package/src/team/modify.js +203 -0
- package/src/team/schemas.js +48 -0
- package/src/update-apply.js +19 -3
- package/src/dashboard-charts.js +0 -239
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-02-mid-overwrite-03",
|
|
3
|
+
"category": "mid-overwrite",
|
|
4
|
+
"waveId": "W20-midO-3",
|
|
5
|
+
"subId": "midO3",
|
|
6
|
+
"notes": "overwrite verb partial — snapshot-rollback restores wfBefore",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"midO-pre-3\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"midO-HALF-3","partial":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"workflow.set-phase","subagentId":"midO4","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midO-4-set-phase","outcome":"ok","payloadDigest":"sha256-fixture-v-midO-4-set-phase"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-midO-4-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-midO-4-set-phase","kind":"overwrite"}
|
|
2
|
+
{"verb":"workflow.set-phase","verbId":"v-midO-4-set-phase","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midO-4-set-phase","kind":"overwrite"}
|
|
3
|
+
{"verb":"wave.advance","verbId":"v-midO-4-advance","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-midO-4-advance","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-02-mid-overwrite-04",
|
|
3
|
+
"category": "mid-overwrite",
|
|
4
|
+
"waveId": "W20-midO-4",
|
|
5
|
+
"subId": "midO4",
|
|
6
|
+
"notes": "overwrite verb partial — snapshot-rollback restores wfBefore",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"midO-pre-4\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"midO-HALF-4","partial":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"workflow.set-phase","subagentId":"midO5","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midO-5-set-phase","outcome":"ok","payloadDigest":"sha256-fixture-v-midO-5-set-phase"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-midO-5-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-midO-5-set-phase","kind":"overwrite"}
|
|
2
|
+
{"verb":"workflow.set-phase","verbId":"v-midO-5-set-phase","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midO-5-set-phase","kind":"overwrite"}
|
|
3
|
+
{"verb":"wave.advance","verbId":"v-midO-5-advance","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-midO-5-advance","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-02-mid-overwrite-05",
|
|
3
|
+
"category": "mid-overwrite",
|
|
4
|
+
"waveId": "W20-midO-5",
|
|
5
|
+
"subId": "midO5",
|
|
6
|
+
"notes": "overwrite verb partial — snapshot-rollback restores wfBefore",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"midO-pre-5\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"midO-HALF-5","partial":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"midA1","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midA-1-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-midA-1-ckpt"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-1-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-midA-1/subagent-midA1.checkpoint.json"],"payloadDigest":"sha256-fixture-v-midA-1-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-1"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-1-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midA-1-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-1"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-midA-1-decision-add","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-midA-1-decision-add","kind":"append","dedupKey":"dk-midA-1"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-03-mid-append-01",
|
|
3
|
+
"category": "mid-append",
|
|
4
|
+
"waveId": "W20-midA-1",
|
|
5
|
+
"subId": "midA1",
|
|
6
|
+
"notes": "append verb partial — sealed in place; durable append preserved",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-1\",\"text\":\"decision 1\",\"dedupKey\":\"dk-midA-1\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-03-mid-append-01/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-1","text":"decision 1","dedupKey":"dk-midA-1"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"midA2","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midA-2-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-midA-2-ckpt"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-2-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-midA-2/subagent-midA2.checkpoint.json"],"payloadDigest":"sha256-fixture-v-midA-2-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-2"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-2-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midA-2-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-2"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-midA-2-decision-add","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-midA-2-decision-add","kind":"append","dedupKey":"dk-midA-2"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-03-mid-append-02",
|
|
3
|
+
"category": "mid-append",
|
|
4
|
+
"waveId": "W20-midA-2",
|
|
5
|
+
"subId": "midA2",
|
|
6
|
+
"notes": "append verb partial — sealed in place; durable append preserved",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-2\",\"text\":\"decision 2\",\"dedupKey\":\"dk-midA-2\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-03-mid-append-02/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-2","text":"decision 2","dedupKey":"dk-midA-2"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"midA3","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midA-3-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-midA-3-ckpt"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-3-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-midA-3/subagent-midA3.checkpoint.json"],"payloadDigest":"sha256-fixture-v-midA-3-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-3"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-3-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midA-3-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-3"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-midA-3-decision-add","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-midA-3-decision-add","kind":"append","dedupKey":"dk-midA-3"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-03-mid-append-03",
|
|
3
|
+
"category": "mid-append",
|
|
4
|
+
"waveId": "W20-midA-3",
|
|
5
|
+
"subId": "midA3",
|
|
6
|
+
"notes": "append verb partial — sealed in place; durable append preserved",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-3\",\"text\":\"decision 3\",\"dedupKey\":\"dk-midA-3\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-03-mid-append-03/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-3","text":"decision 3","dedupKey":"dk-midA-3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"midA4","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midA-4-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-midA-4-ckpt"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-4-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-midA-4/subagent-midA4.checkpoint.json"],"payloadDigest":"sha256-fixture-v-midA-4-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-4"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-4-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midA-4-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-4"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-midA-4-decision-add","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-midA-4-decision-add","kind":"append","dedupKey":"dk-midA-4"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-03-mid-append-04",
|
|
3
|
+
"category": "mid-append",
|
|
4
|
+
"waveId": "W20-midA-4",
|
|
5
|
+
"subId": "midA4",
|
|
6
|
+
"notes": "append verb partial — sealed in place; durable append preserved",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-4\",\"text\":\"decision 4\",\"dedupKey\":\"dk-midA-4\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-03-mid-append-04/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-4","text":"decision 4","dedupKey":"dk-midA-4"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"midA5","ts":"2026-05-20T12:00:00.000Z","verbId":"v-midA-5-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-midA-5-ckpt"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-5-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-midA-5/subagent-midA5.checkpoint.json"],"payloadDigest":"sha256-fixture-v-midA-5-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-5"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-midA-5-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-midA-5-ckpt","kind":"append","dedupKey":"dk-ckpt-midA-5"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-midA-5-decision-add","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-midA-5-decision-add","kind":"append","dedupKey":"dk-midA-5"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-03-mid-append-05",
|
|
3
|
+
"category": "mid-append",
|
|
4
|
+
"waveId": "W20-midA-5",
|
|
5
|
+
"subId": "midA5",
|
|
6
|
+
"notes": "append verb partial — sealed in place; durable append preserved",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "open-partial",
|
|
9
|
+
"reasonContains": "open begin"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-5\",\"text\":\"decision 5\",\"dedupKey\":\"dk-midA-5\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-03-mid-append-05/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-5","text":"decision 5","dedupKey":"dk-midA-5"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-noEv-1-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-noEv-1-set-phase","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-04-no-events-01",
|
|
3
|
+
"category": "no-events",
|
|
4
|
+
"waveId": "W20-noEv-1",
|
|
5
|
+
"subId": "noEv1",
|
|
6
|
+
"notes": "subagent emitted no events; recovery rolls back open begin",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "no-events-open-begin",
|
|
9
|
+
"reasonContains": "no events"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"noEv-pre-1\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"noEv-PARTIAL-1"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-noEv-2-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-noEv-2-set-phase","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-04-no-events-02",
|
|
3
|
+
"category": "no-events",
|
|
4
|
+
"waveId": "W20-noEv-2",
|
|
5
|
+
"subId": "noEv2",
|
|
6
|
+
"notes": "subagent emitted no events; recovery rolls back open begin",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "no-events-open-begin",
|
|
9
|
+
"reasonContains": "no events"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"noEv-pre-2\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"noEv-PARTIAL-2"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-noEv-3-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-noEv-3-set-phase","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-04-no-events-03",
|
|
3
|
+
"category": "no-events",
|
|
4
|
+
"waveId": "W20-noEv-3",
|
|
5
|
+
"subId": "noEv3",
|
|
6
|
+
"notes": "subagent emitted no events; recovery rolls back open begin",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "no-events-open-begin",
|
|
9
|
+
"reasonContains": "no events"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"noEv-pre-3\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"noEv-PARTIAL-3"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-noEv-4-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-noEv-4-set-phase","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-04-no-events-04",
|
|
3
|
+
"category": "no-events",
|
|
4
|
+
"waveId": "W20-noEv-4",
|
|
5
|
+
"subId": "noEv4",
|
|
6
|
+
"notes": "subagent emitted no events; recovery rolls back open begin",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "no-events-open-begin",
|
|
9
|
+
"reasonContains": "no events"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"noEv-pre-4\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"noEv-PARTIAL-4"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-noEv-5-set-phase","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-noEv-5-set-phase","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-04-no-events-05",
|
|
3
|
+
"category": "no-events",
|
|
4
|
+
"waveId": "W20-noEv-5",
|
|
5
|
+
"subId": "noEv5",
|
|
6
|
+
"notes": "subagent emitted no events; recovery rolls back open begin",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "no-events-open-begin",
|
|
9
|
+
"reasonContains": "no events"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"noEv-pre-5\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"noEv-PARTIAL-5"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"seq":1,"verb":"workflow.set-phase","subagentId":"errT1","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-1-ok","outcome":"ok","payloadDigest":"sha256-fixture-v-errT-1-ok"}
|
|
2
|
+
{"seq":2,"verb":"wave.advance","subagentId":"errT1","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-1-partial","outcome":"error","payloadDigest":"sha256-fixture-v-errT-1-partial"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-errT-1-ok","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-errT-1-ok","kind":"overwrite"}
|
|
2
|
+
{"verb":"workflow.set-phase","verbId":"v-errT-1-ok","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-errT-1-ok","kind":"overwrite"}
|
|
3
|
+
{"verb":"wave.advance","verbId":"v-errT-1-partial","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-errT-1-partial","kind":"overwrite"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-05-error-terminated-01",
|
|
3
|
+
"category": "error-terminated",
|
|
4
|
+
"waveId": "W20-errT-1",
|
|
5
|
+
"subId": "errT1",
|
|
6
|
+
"notes": "error-terminated with overwrite partial — rollback restores baseline",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "error-terminated",
|
|
9
|
+
"reasonContains": "outcome='error'"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/state/workflow.json": "{\"phase\":\"errT-pre-1\"}"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"phase":"errT-PARTIAL-1"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"seq":1,"verb":"subagent.checkpoint","subagentId":"errT2","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-2-ckpt","outcome":"ok","payloadDigest":"sha256-fixture-v-errT-2-ckpt"}
|
|
2
|
+
{"seq":2,"verb":"decision.add","subagentId":"errT2","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-2-partial","outcome":"error","payloadDigest":"sha256-fixture-v-errT-2-partial"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"subagent.checkpoint","verbId":"v-errT-2-ckpt","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/wave-W20-errT-2/subagent-errT2.checkpoint.json"],"payloadDigest":"sha256-fixture-v-errT-2-ckpt","kind":"append","dedupKey":"dk-ckpt-errT-2"}
|
|
2
|
+
{"verb":"subagent.checkpoint","verbId":"v-errT-2-ckpt","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-errT-2-ckpt","kind":"append","dedupKey":"dk-ckpt-errT-2"}
|
|
3
|
+
{"verb":"decision.add","verbId":"v-errT-2-partial","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/blackboard/decisions.jsonl"],"payloadDigest":"sha256-fixture-v-errT-2-partial","kind":"append","dedupKey":"dk-errT-2"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fx-05-error-terminated-02",
|
|
3
|
+
"category": "error-terminated",
|
|
4
|
+
"waveId": "W20-errT-2",
|
|
5
|
+
"subId": "errT2",
|
|
6
|
+
"notes": "error-terminated with append partial — seal-in-place preserves record",
|
|
7
|
+
"expectedDetection": {
|
|
8
|
+
"truncated": "error-terminated",
|
|
9
|
+
"reasonContains": "outcome='error'"
|
|
10
|
+
},
|
|
11
|
+
"expectedRecovery": {
|
|
12
|
+
"recovered": true
|
|
13
|
+
},
|
|
14
|
+
"expectedFinalState": {
|
|
15
|
+
".ijfw/blackboard/decisions.jsonl": "{\"id\":\"d-errT-2\",\"text\":\"errT 2\",\"dedupKey\":\"dk-errT-2\"}\n"
|
|
16
|
+
},
|
|
17
|
+
"expectedTerminalVerb": "subagent.post-done"
|
|
18
|
+
}
|
package/fixtures/truncation-corpus/fx-05-error-terminated-02/target/.ijfw/blackboard/decisions.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"d-errT-2","text":"errT 2","dedupKey":"dk-errT-2"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"seq":1,"verb":"workflow.set-phase","subagentId":"errT3","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-3-ok","outcome":"ok","payloadDigest":"sha256-fixture-v-errT-3-ok"}
|
|
2
|
+
{"seq":2,"verb":"wave.advance","subagentId":"errT3","ts":"2026-05-20T12:00:00.000Z","verbId":"v-errT-3-partial","outcome":"error","payloadDigest":"sha256-fixture-v-errT-3-partial"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"verb":"workflow.set-phase","verbId":"v-errT-3-ok","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-errT-3-ok","kind":"overwrite"}
|
|
2
|
+
{"verb":"workflow.set-phase","verbId":"v-errT-3-ok","phase":"commit","ts":"2026-05-20T12:00:00.000Z","payloadDigest":"sha256-fixture-v-errT-3-ok","kind":"overwrite"}
|
|
3
|
+
{"verb":"wave.advance","verbId":"v-errT-3-partial","phase":"begin","ts":"2026-05-20T12:00:00.000Z","targets":[".ijfw/state/workflow.json"],"payloadDigest":"sha256-fixture-v-errT-3-partial","kind":"overwrite"}
|