@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
package/bin/ijfw-memorize
CHANGED
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
// payload on stdin (Stop-hook json), produces structured memory entries,
|
|
5
5
|
// and appends them to .ijfw/memory/knowledge.md via the existing store helpers.
|
|
6
6
|
//
|
|
7
|
-
// Deterministic by default: feedback/signals promote 1:1
|
|
8
|
-
//
|
|
9
|
-
//
|
|
7
|
+
// Deterministic by default: feedback/signals promote 1:1 directly into
|
|
8
|
+
// knowledge.md -- this is the fully-functional production path. When
|
|
9
|
+
// IJFW_AUTOMEM_MODEL is set, an additional LLM-synthesis path runs: it
|
|
10
|
+
// appends a {pending:true} record to .ijfw/.automem-llm-queue.jsonl for
|
|
11
|
+
// later batch processing. That is a deliberate deferred-queue design (the
|
|
12
|
+
// queue decouples session-end from the LLM call) -- NOT an unimplemented
|
|
13
|
+
// stub. It never writes literal TODO text into user memory.
|
|
10
14
|
//
|
|
11
15
|
// Consent: reads .ijfw/.automem-consent. If absent or consented=false, exits 0
|
|
12
16
|
// silently. User sets consent via `/ijfw memory consent yes|no|ask`.
|
|
@@ -241,11 +245,14 @@ async function main() {
|
|
|
241
245
|
thisRunSummaries.add(capped.summary);
|
|
242
246
|
}
|
|
243
247
|
|
|
244
|
-
//
|
|
245
|
-
//
|
|
248
|
+
// LLM-synthesis path (IJFW_AUTOMEM_MODEL). When a model is configured,
|
|
249
|
+
// enqueue a {pending:true} record onto .ijfw/.automem-llm-queue.jsonl for
|
|
250
|
+
// batch processing by the LLM-synthesis worker. This is a deliberate
|
|
251
|
+
// deferred-queue design -- the queue decouples the latency-sensitive
|
|
252
|
+
// session-end hook from the LLM round-trip -- not an unimplemented stub.
|
|
253
|
+
// Nothing here is written into user memory (knowledge.md); the queue file
|
|
254
|
+
// is a separate, internal work list.
|
|
246
255
|
if (process.env.IJFW_AUTOMEM_MODEL && process.env.IJFW_AUTOMEM_MODEL !== 'off') {
|
|
247
|
-
// Wiring point -- Phase 5+ connects this to Anthropic SDK / Ollama.
|
|
248
|
-
// For now, record the opportunity.
|
|
249
256
|
try {
|
|
250
257
|
mkdirSync(IJFW_DIR, { recursive: true });
|
|
251
258
|
appendFileSync(join(IJFW_DIR, '.automem-llm-queue.jsonl'),
|
package/fixtures/team/book.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"project_archetypes": ["book"],
|
|
6
6
|
"roles": [
|
|
7
7
|
{
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "ijfw-line-editor",
|
|
9
9
|
"role_type": "book",
|
|
10
10
|
"model": "sonnet",
|
|
11
11
|
"effort": "medium",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": ["manuscript/chapters/**"]}
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"name": "continuity-
|
|
19
|
+
"name": "ijfw-narrative-continuity-checker",
|
|
20
20
|
"role_type": "review",
|
|
21
21
|
"model": "sonnet",
|
|
22
22
|
"effort": "medium",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"schema_version": "team-workflow/v1",
|
|
33
33
|
"project_archetypes": ["book"],
|
|
34
34
|
"artifacts": [
|
|
35
|
-
{"id": "chapter-draft", "type": "chapter", "paths": ["manuscript/chapters/ch01.md"], "owner": "
|
|
36
|
-
{"id": "continuity-notes", "type": "continuity_notes", "paths": ["manuscript/notes/continuity.md"], "owner": "continuity-
|
|
35
|
+
{"id": "chapter-draft", "type": "chapter", "paths": ["manuscript/chapters/ch01.md"], "owner": "ijfw-line-editor", "reviewers": ["ijfw-narrative-continuity-checker"], "depends_on": [], "verification": ["continuity review"]},
|
|
36
|
+
{"id": "continuity-notes", "type": "continuity_notes", "paths": ["manuscript/notes/continuity.md"], "owner": "ijfw-narrative-continuity-checker", "reviewers": ["ijfw-line-editor"], "depends_on": ["chapter-draft"], "verification": ["open thread audit"]}
|
|
37
37
|
],
|
|
38
38
|
"waves": [
|
|
39
39
|
{"id": "w1", "mode": "parallel", "artifact_ids": ["chapter-draft"]},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"blackboard": {
|
|
44
|
-
"tasks": [{"id": "task-chapter", "title": "Draft chapter one", "status": "ready", "artifact_ids": ["chapter-draft"], "owner": "
|
|
45
|
-
"claims": [{"id": "claim-chapter", "artifact_id": "chapter-draft", "agent": "
|
|
44
|
+
"tasks": [{"id": "task-chapter", "title": "Draft chapter one", "status": "ready", "artifact_ids": ["chapter-draft"], "owner": "ijfw-line-editor"}],
|
|
45
|
+
"claims": [{"id": "claim-chapter", "artifact_id": "chapter-draft", "agent": "ijfw-line-editor", "status": "active", "paths": ["manuscript/chapters/ch01.md"]}]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -2,46 +2,172 @@
|
|
|
2
2
|
"charter": {
|
|
3
3
|
"schema_version": "team-charter/v1",
|
|
4
4
|
"team_name": "strategy-operations-team",
|
|
5
|
-
"project_archetypes": [
|
|
5
|
+
"project_archetypes": [
|
|
6
|
+
"business"
|
|
7
|
+
],
|
|
6
8
|
"roles": [
|
|
7
9
|
{
|
|
8
|
-
"name": "strategy-lead",
|
|
10
|
+
"name": "ijfw-strategy-lead",
|
|
9
11
|
"role_type": "business",
|
|
10
12
|
"model": "sonnet",
|
|
11
13
|
"effort": "medium",
|
|
12
|
-
"phase_scope": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"phase_scope": [
|
|
15
|
+
"diagnose",
|
|
16
|
+
"plan",
|
|
17
|
+
"decide"
|
|
18
|
+
],
|
|
19
|
+
"owns": [
|
|
20
|
+
{
|
|
21
|
+
"artifact_type": "strategy_doc",
|
|
22
|
+
"paths": [
|
|
23
|
+
"strategy/**"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"reviews": [
|
|
28
|
+
{
|
|
29
|
+
"artifact_type": "risk_register",
|
|
30
|
+
"criteria": [
|
|
31
|
+
"assumptions",
|
|
32
|
+
"decision-quality"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"handoff": {
|
|
37
|
+
"format": "markdown",
|
|
38
|
+
"required_sections": [
|
|
39
|
+
"recommendation",
|
|
40
|
+
"assumptions",
|
|
41
|
+
"tradeoffs"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"coordination": {
|
|
45
|
+
"parallel_safe": true,
|
|
46
|
+
"claim_required": true,
|
|
47
|
+
"conflicts_with": []
|
|
48
|
+
}
|
|
17
49
|
},
|
|
18
50
|
{
|
|
19
|
-
"name": "risk-reviewer",
|
|
51
|
+
"name": "ijfw-risk-reviewer",
|
|
20
52
|
"role_type": "review",
|
|
21
53
|
"model": "sonnet",
|
|
22
54
|
"effort": "medium",
|
|
23
|
-
"phase_scope": [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
55
|
+
"phase_scope": [
|
|
56
|
+
"review",
|
|
57
|
+
"verify"
|
|
58
|
+
],
|
|
59
|
+
"owns": [
|
|
60
|
+
{
|
|
61
|
+
"artifact_type": "risk_register",
|
|
62
|
+
"paths": [
|
|
63
|
+
"strategy/risks/**"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"reviews": [
|
|
68
|
+
{
|
|
69
|
+
"artifact_type": "strategy_doc",
|
|
70
|
+
"criteria": [
|
|
71
|
+
"feasibility",
|
|
72
|
+
"downside",
|
|
73
|
+
"metrics"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"handoff": {
|
|
78
|
+
"format": "markdown",
|
|
79
|
+
"required_sections": [
|
|
80
|
+
"risks",
|
|
81
|
+
"mitigations",
|
|
82
|
+
"decision_points"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"coordination": {
|
|
86
|
+
"parallel_safe": true,
|
|
87
|
+
"claim_required": true,
|
|
88
|
+
"conflicts_with": []
|
|
89
|
+
}
|
|
28
90
|
}
|
|
29
91
|
]
|
|
30
92
|
},
|
|
31
93
|
"workflow": {
|
|
32
94
|
"schema_version": "team-workflow/v1",
|
|
33
|
-
"project_archetypes": [
|
|
95
|
+
"project_archetypes": [
|
|
96
|
+
"business"
|
|
97
|
+
],
|
|
34
98
|
"artifacts": [
|
|
35
|
-
{
|
|
36
|
-
|
|
99
|
+
{
|
|
100
|
+
"id": "operating-plan",
|
|
101
|
+
"type": "strategy_doc",
|
|
102
|
+
"paths": [
|
|
103
|
+
"strategy/operating-plan.md"
|
|
104
|
+
],
|
|
105
|
+
"owner": "ijfw-strategy-lead",
|
|
106
|
+
"reviewers": [
|
|
107
|
+
"ijfw-risk-reviewer"
|
|
108
|
+
],
|
|
109
|
+
"depends_on": [],
|
|
110
|
+
"verification": [
|
|
111
|
+
"decision review"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "risk-register",
|
|
116
|
+
"type": "risk_register",
|
|
117
|
+
"paths": [
|
|
118
|
+
"strategy/risks/register.md"
|
|
119
|
+
],
|
|
120
|
+
"owner": "ijfw-risk-reviewer",
|
|
121
|
+
"reviewers": [
|
|
122
|
+
"ijfw-strategy-lead"
|
|
123
|
+
],
|
|
124
|
+
"depends_on": [
|
|
125
|
+
"operating-plan"
|
|
126
|
+
],
|
|
127
|
+
"verification": [
|
|
128
|
+
"assumption audit"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
37
131
|
],
|
|
38
132
|
"waves": [
|
|
39
|
-
{
|
|
40
|
-
|
|
133
|
+
{
|
|
134
|
+
"id": "w1",
|
|
135
|
+
"mode": "sequential",
|
|
136
|
+
"artifact_ids": [
|
|
137
|
+
"operating-plan"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "w2",
|
|
142
|
+
"mode": "review",
|
|
143
|
+
"artifact_ids": [
|
|
144
|
+
"risk-register"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
41
147
|
]
|
|
42
148
|
},
|
|
43
149
|
"blackboard": {
|
|
44
|
-
"tasks": [
|
|
45
|
-
|
|
150
|
+
"tasks": [
|
|
151
|
+
{
|
|
152
|
+
"id": "task-plan",
|
|
153
|
+
"title": "Draft operating plan",
|
|
154
|
+
"status": "ready",
|
|
155
|
+
"artifact_ids": [
|
|
156
|
+
"operating-plan"
|
|
157
|
+
],
|
|
158
|
+
"owner": "ijfw-strategy-lead"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"claims": [
|
|
162
|
+
{
|
|
163
|
+
"id": "claim-plan",
|
|
164
|
+
"artifact_id": "operating-plan",
|
|
165
|
+
"agent": "ijfw-strategy-lead",
|
|
166
|
+
"status": "active",
|
|
167
|
+
"paths": [
|
|
168
|
+
"strategy/operating-plan.md"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
]
|
|
46
172
|
}
|
|
47
173
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"project_archetypes": ["content"],
|
|
6
6
|
"roles": [
|
|
7
7
|
{
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "ijfw-campaign-strategist",
|
|
9
9
|
"role_type": "content",
|
|
10
10
|
"model": "sonnet",
|
|
11
11
|
"effort": "medium",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": []}
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"name": "
|
|
19
|
+
"name": "ijfw-copy-reviewer",
|
|
20
20
|
"role_type": "review",
|
|
21
21
|
"model": "sonnet",
|
|
22
22
|
"effort": "medium",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"schema_version": "team-workflow/v1",
|
|
33
33
|
"project_archetypes": ["content"],
|
|
34
34
|
"artifacts": [
|
|
35
|
-
{"id": "campaign-brief", "type": "brief", "paths": ["content/briefs/campaign.md"], "owner": "
|
|
36
|
-
{"id": "article-draft", "type": "article", "paths": ["content/posts/*.mdx"], "owner": "
|
|
35
|
+
{"id": "campaign-brief", "type": "brief", "paths": ["content/briefs/campaign.md"], "owner": "ijfw-campaign-strategist", "reviewers": ["ijfw-copy-reviewer"], "depends_on": [], "verification": ["brand voice review"]},
|
|
36
|
+
{"id": "article-draft", "type": "article", "paths": ["content/posts/*.mdx"], "owner": "ijfw-copy-reviewer", "reviewers": ["ijfw-campaign-strategist"], "depends_on": ["campaign-brief"], "verification": ["seo checklist"]}
|
|
37
37
|
],
|
|
38
38
|
"waves": [
|
|
39
39
|
{"id": "w1", "mode": "sequential", "artifact_ids": ["campaign-brief"]},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"blackboard": {
|
|
44
|
-
"tasks": [{"id": "task-brief", "title": "Prepare campaign brief", "status": "ready", "artifact_ids": ["campaign-brief"], "owner": "
|
|
45
|
-
"claims": [{"id": "claim-brief", "artifact_id": "campaign-brief", "agent": "
|
|
44
|
+
"tasks": [{"id": "task-brief", "title": "Prepare campaign brief", "status": "ready", "artifact_ids": ["campaign-brief"], "owner": "ijfw-campaign-strategist"}],
|
|
45
|
+
"claims": [{"id": "claim-brief", "artifact_id": "campaign-brief", "agent": "ijfw-campaign-strategist", "status": "active", "paths": ["content/briefs/campaign.md"]}]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -2,46 +2,174 @@
|
|
|
2
2
|
"charter": {
|
|
3
3
|
"schema_version": "team-charter/v1",
|
|
4
4
|
"team_name": "design-studio-team",
|
|
5
|
-
"project_archetypes": [
|
|
5
|
+
"project_archetypes": [
|
|
6
|
+
"design"
|
|
7
|
+
],
|
|
6
8
|
"roles": [
|
|
7
9
|
{
|
|
8
|
-
"name": "
|
|
10
|
+
"name": "ijfw-design-critic",
|
|
9
11
|
"role_type": "design",
|
|
10
12
|
"model": "sonnet",
|
|
11
13
|
"effort": "medium",
|
|
12
|
-
"phase_scope": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"phase_scope": [
|
|
15
|
+
"discovery",
|
|
16
|
+
"shape",
|
|
17
|
+
"execute"
|
|
18
|
+
],
|
|
19
|
+
"owns": [
|
|
20
|
+
{
|
|
21
|
+
"artifact_type": "screen",
|
|
22
|
+
"paths": [
|
|
23
|
+
"design/screens/**"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"reviews": [
|
|
28
|
+
{
|
|
29
|
+
"artifact_type": "prototype",
|
|
30
|
+
"criteria": [
|
|
31
|
+
"usability",
|
|
32
|
+
"accessibility"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"handoff": {
|
|
37
|
+
"format": "markdown",
|
|
38
|
+
"required_sections": [
|
|
39
|
+
"rationale",
|
|
40
|
+
"changed_artifacts",
|
|
41
|
+
"open_questions"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"coordination": {
|
|
45
|
+
"parallel_safe": true,
|
|
46
|
+
"claim_required": true,
|
|
47
|
+
"conflicts_with": [
|
|
48
|
+
"design/tokens/**"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
17
51
|
},
|
|
18
52
|
{
|
|
19
|
-
"name": "
|
|
53
|
+
"name": "ijfw-accessibility-reviewer",
|
|
20
54
|
"role_type": "review",
|
|
21
55
|
"model": "sonnet",
|
|
22
56
|
"effort": "low",
|
|
23
|
-
"phase_scope": [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
57
|
+
"phase_scope": [
|
|
58
|
+
"review",
|
|
59
|
+
"verify"
|
|
60
|
+
],
|
|
61
|
+
"owns": [
|
|
62
|
+
{
|
|
63
|
+
"artifact_type": "audit",
|
|
64
|
+
"paths": [
|
|
65
|
+
"design/reviews/**"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"reviews": [
|
|
70
|
+
{
|
|
71
|
+
"artifact_type": "screen",
|
|
72
|
+
"criteria": [
|
|
73
|
+
"layout",
|
|
74
|
+
"contrast",
|
|
75
|
+
"responsive-fit"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"handoff": {
|
|
80
|
+
"format": "markdown",
|
|
81
|
+
"required_sections": [
|
|
82
|
+
"findings",
|
|
83
|
+
"severity",
|
|
84
|
+
"recommendations"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"coordination": {
|
|
88
|
+
"parallel_safe": true,
|
|
89
|
+
"claim_required": true,
|
|
90
|
+
"conflicts_with": []
|
|
91
|
+
}
|
|
28
92
|
}
|
|
29
93
|
]
|
|
30
94
|
},
|
|
31
95
|
"workflow": {
|
|
32
96
|
"schema_version": "team-workflow/v1",
|
|
33
|
-
"project_archetypes": [
|
|
97
|
+
"project_archetypes": [
|
|
98
|
+
"design"
|
|
99
|
+
],
|
|
34
100
|
"artifacts": [
|
|
35
|
-
{
|
|
36
|
-
|
|
101
|
+
{
|
|
102
|
+
"id": "screen-system",
|
|
103
|
+
"type": "screen",
|
|
104
|
+
"paths": [
|
|
105
|
+
"design/screens/**"
|
|
106
|
+
],
|
|
107
|
+
"owner": "ijfw-design-critic",
|
|
108
|
+
"reviewers": [
|
|
109
|
+
"ijfw-accessibility-reviewer"
|
|
110
|
+
],
|
|
111
|
+
"depends_on": [],
|
|
112
|
+
"verification": [
|
|
113
|
+
"visual audit"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "design-review",
|
|
118
|
+
"type": "audit",
|
|
119
|
+
"paths": [
|
|
120
|
+
"design/reviews/**"
|
|
121
|
+
],
|
|
122
|
+
"owner": "ijfw-accessibility-reviewer",
|
|
123
|
+
"reviewers": [
|
|
124
|
+
"ijfw-design-critic"
|
|
125
|
+
],
|
|
126
|
+
"depends_on": [
|
|
127
|
+
"screen-system"
|
|
128
|
+
],
|
|
129
|
+
"verification": [
|
|
130
|
+
"accessibility checklist"
|
|
131
|
+
]
|
|
132
|
+
}
|
|
37
133
|
],
|
|
38
134
|
"waves": [
|
|
39
|
-
{
|
|
40
|
-
|
|
135
|
+
{
|
|
136
|
+
"id": "w1",
|
|
137
|
+
"mode": "parallel",
|
|
138
|
+
"artifact_ids": [
|
|
139
|
+
"screen-system"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "w2",
|
|
144
|
+
"mode": "review",
|
|
145
|
+
"artifact_ids": [
|
|
146
|
+
"design-review"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
41
149
|
]
|
|
42
150
|
},
|
|
43
151
|
"blackboard": {
|
|
44
|
-
"tasks": [
|
|
45
|
-
|
|
152
|
+
"tasks": [
|
|
153
|
+
{
|
|
154
|
+
"id": "task-screens",
|
|
155
|
+
"title": "Draft core screens",
|
|
156
|
+
"status": "ready",
|
|
157
|
+
"artifact_ids": [
|
|
158
|
+
"screen-system"
|
|
159
|
+
],
|
|
160
|
+
"owner": "ijfw-design-critic"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"claims": [
|
|
164
|
+
{
|
|
165
|
+
"id": "claim-screens",
|
|
166
|
+
"artifact_id": "screen-system",
|
|
167
|
+
"agent": "ijfw-design-critic",
|
|
168
|
+
"status": "active",
|
|
169
|
+
"paths": [
|
|
170
|
+
"design/screens/**"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
]
|
|
46
174
|
}
|
|
47
175
|
}
|