@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.
Files changed (245) hide show
  1. package/bin/ijfw-memorize +14 -7
  2. package/fixtures/team/book.json +6 -6
  3. package/fixtures/team/business.json +146 -20
  4. package/fixtures/team/content.json +6 -6
  5. package/fixtures/team/design.json +148 -20
  6. package/fixtures/team/mixed.json +206 -27
  7. package/fixtures/team/research.json +146 -20
  8. package/fixtures/team/software.json +148 -20
  9. package/fixtures/truncation-corpus/_generate-corpus.js +367 -0
  10. package/fixtures/truncation-corpus/fx-01-clean-exit-01/events.jsonl +2 -0
  11. package/fixtures/truncation-corpus/fx-01-clean-exit-01/intent-journal.jsonl +2 -0
  12. package/fixtures/truncation-corpus/fx-01-clean-exit-01/meta.json +18 -0
  13. package/fixtures/truncation-corpus/fx-01-clean-exit-01/target/.ijfw/state/workflow.json +1 -0
  14. package/fixtures/truncation-corpus/fx-01-clean-exit-02/events.jsonl +2 -0
  15. package/fixtures/truncation-corpus/fx-01-clean-exit-02/intent-journal.jsonl +2 -0
  16. package/fixtures/truncation-corpus/fx-01-clean-exit-02/meta.json +18 -0
  17. package/fixtures/truncation-corpus/fx-01-clean-exit-02/target/.ijfw/state/workflow.json +1 -0
  18. package/fixtures/truncation-corpus/fx-01-clean-exit-03/events.jsonl +2 -0
  19. package/fixtures/truncation-corpus/fx-01-clean-exit-03/intent-journal.jsonl +2 -0
  20. package/fixtures/truncation-corpus/fx-01-clean-exit-03/meta.json +18 -0
  21. package/fixtures/truncation-corpus/fx-01-clean-exit-03/target/.ijfw/state/workflow.json +1 -0
  22. package/fixtures/truncation-corpus/fx-01-clean-exit-04/events.jsonl +2 -0
  23. package/fixtures/truncation-corpus/fx-01-clean-exit-04/intent-journal.jsonl +2 -0
  24. package/fixtures/truncation-corpus/fx-01-clean-exit-04/meta.json +18 -0
  25. package/fixtures/truncation-corpus/fx-01-clean-exit-04/target/.ijfw/state/workflow.json +1 -0
  26. package/fixtures/truncation-corpus/fx-01-clean-exit-05/events.jsonl +2 -0
  27. package/fixtures/truncation-corpus/fx-01-clean-exit-05/intent-journal.jsonl +2 -0
  28. package/fixtures/truncation-corpus/fx-01-clean-exit-05/meta.json +18 -0
  29. package/fixtures/truncation-corpus/fx-01-clean-exit-05/target/.ijfw/state/workflow.json +1 -0
  30. package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/events.jsonl +1 -0
  31. package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/intent-journal.jsonl +3 -0
  32. package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/meta.json +18 -0
  33. package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/snapshots/v-midO-1-advance.json +11 -0
  34. package/fixtures/truncation-corpus/fx-02-mid-overwrite-01/target/.ijfw/state/workflow.json +1 -0
  35. package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/events.jsonl +1 -0
  36. package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/intent-journal.jsonl +3 -0
  37. package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/meta.json +18 -0
  38. package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/snapshots/v-midO-2-advance.json +11 -0
  39. package/fixtures/truncation-corpus/fx-02-mid-overwrite-02/target/.ijfw/state/workflow.json +1 -0
  40. package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/events.jsonl +1 -0
  41. package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/intent-journal.jsonl +3 -0
  42. package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/meta.json +18 -0
  43. package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/snapshots/v-midO-3-advance.json +11 -0
  44. package/fixtures/truncation-corpus/fx-02-mid-overwrite-03/target/.ijfw/state/workflow.json +1 -0
  45. package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/events.jsonl +1 -0
  46. package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/intent-journal.jsonl +3 -0
  47. package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/meta.json +18 -0
  48. package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/snapshots/v-midO-4-advance.json +11 -0
  49. package/fixtures/truncation-corpus/fx-02-mid-overwrite-04/target/.ijfw/state/workflow.json +1 -0
  50. package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/events.jsonl +1 -0
  51. package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/intent-journal.jsonl +3 -0
  52. package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/meta.json +18 -0
  53. package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/snapshots/v-midO-5-advance.json +11 -0
  54. package/fixtures/truncation-corpus/fx-02-mid-overwrite-05/target/.ijfw/state/workflow.json +1 -0
  55. package/fixtures/truncation-corpus/fx-03-mid-append-01/events.jsonl +1 -0
  56. package/fixtures/truncation-corpus/fx-03-mid-append-01/intent-journal.jsonl +3 -0
  57. package/fixtures/truncation-corpus/fx-03-mid-append-01/meta.json +18 -0
  58. package/fixtures/truncation-corpus/fx-03-mid-append-01/target/.ijfw/blackboard/decisions.jsonl +1 -0
  59. package/fixtures/truncation-corpus/fx-03-mid-append-02/events.jsonl +1 -0
  60. package/fixtures/truncation-corpus/fx-03-mid-append-02/intent-journal.jsonl +3 -0
  61. package/fixtures/truncation-corpus/fx-03-mid-append-02/meta.json +18 -0
  62. package/fixtures/truncation-corpus/fx-03-mid-append-02/target/.ijfw/blackboard/decisions.jsonl +1 -0
  63. package/fixtures/truncation-corpus/fx-03-mid-append-03/events.jsonl +1 -0
  64. package/fixtures/truncation-corpus/fx-03-mid-append-03/intent-journal.jsonl +3 -0
  65. package/fixtures/truncation-corpus/fx-03-mid-append-03/meta.json +18 -0
  66. package/fixtures/truncation-corpus/fx-03-mid-append-03/target/.ijfw/blackboard/decisions.jsonl +1 -0
  67. package/fixtures/truncation-corpus/fx-03-mid-append-04/events.jsonl +1 -0
  68. package/fixtures/truncation-corpus/fx-03-mid-append-04/intent-journal.jsonl +3 -0
  69. package/fixtures/truncation-corpus/fx-03-mid-append-04/meta.json +18 -0
  70. package/fixtures/truncation-corpus/fx-03-mid-append-04/target/.ijfw/blackboard/decisions.jsonl +1 -0
  71. package/fixtures/truncation-corpus/fx-03-mid-append-05/events.jsonl +1 -0
  72. package/fixtures/truncation-corpus/fx-03-mid-append-05/intent-journal.jsonl +3 -0
  73. package/fixtures/truncation-corpus/fx-03-mid-append-05/meta.json +18 -0
  74. package/fixtures/truncation-corpus/fx-03-mid-append-05/target/.ijfw/blackboard/decisions.jsonl +1 -0
  75. package/fixtures/truncation-corpus/fx-04-no-events-01/events.jsonl +0 -0
  76. package/fixtures/truncation-corpus/fx-04-no-events-01/intent-journal.jsonl +1 -0
  77. package/fixtures/truncation-corpus/fx-04-no-events-01/meta.json +18 -0
  78. package/fixtures/truncation-corpus/fx-04-no-events-01/snapshots/v-noEv-1-set-phase.json +11 -0
  79. package/fixtures/truncation-corpus/fx-04-no-events-01/target/.ijfw/state/workflow.json +1 -0
  80. package/fixtures/truncation-corpus/fx-04-no-events-02/events.jsonl +0 -0
  81. package/fixtures/truncation-corpus/fx-04-no-events-02/intent-journal.jsonl +1 -0
  82. package/fixtures/truncation-corpus/fx-04-no-events-02/meta.json +18 -0
  83. package/fixtures/truncation-corpus/fx-04-no-events-02/snapshots/v-noEv-2-set-phase.json +11 -0
  84. package/fixtures/truncation-corpus/fx-04-no-events-02/target/.ijfw/state/workflow.json +1 -0
  85. package/fixtures/truncation-corpus/fx-04-no-events-03/events.jsonl +0 -0
  86. package/fixtures/truncation-corpus/fx-04-no-events-03/intent-journal.jsonl +1 -0
  87. package/fixtures/truncation-corpus/fx-04-no-events-03/meta.json +18 -0
  88. package/fixtures/truncation-corpus/fx-04-no-events-03/snapshots/v-noEv-3-set-phase.json +11 -0
  89. package/fixtures/truncation-corpus/fx-04-no-events-03/target/.ijfw/state/workflow.json +1 -0
  90. package/fixtures/truncation-corpus/fx-04-no-events-04/events.jsonl +0 -0
  91. package/fixtures/truncation-corpus/fx-04-no-events-04/intent-journal.jsonl +1 -0
  92. package/fixtures/truncation-corpus/fx-04-no-events-04/meta.json +18 -0
  93. package/fixtures/truncation-corpus/fx-04-no-events-04/snapshots/v-noEv-4-set-phase.json +11 -0
  94. package/fixtures/truncation-corpus/fx-04-no-events-04/target/.ijfw/state/workflow.json +1 -0
  95. package/fixtures/truncation-corpus/fx-04-no-events-05/events.jsonl +0 -0
  96. package/fixtures/truncation-corpus/fx-04-no-events-05/intent-journal.jsonl +1 -0
  97. package/fixtures/truncation-corpus/fx-04-no-events-05/meta.json +18 -0
  98. package/fixtures/truncation-corpus/fx-04-no-events-05/snapshots/v-noEv-5-set-phase.json +11 -0
  99. package/fixtures/truncation-corpus/fx-04-no-events-05/target/.ijfw/state/workflow.json +1 -0
  100. package/fixtures/truncation-corpus/fx-05-error-terminated-01/events.jsonl +2 -0
  101. package/fixtures/truncation-corpus/fx-05-error-terminated-01/intent-journal.jsonl +3 -0
  102. package/fixtures/truncation-corpus/fx-05-error-terminated-01/meta.json +18 -0
  103. package/fixtures/truncation-corpus/fx-05-error-terminated-01/snapshots/v-errT-1-partial.json +11 -0
  104. package/fixtures/truncation-corpus/fx-05-error-terminated-01/target/.ijfw/state/workflow.json +1 -0
  105. package/fixtures/truncation-corpus/fx-05-error-terminated-02/events.jsonl +2 -0
  106. package/fixtures/truncation-corpus/fx-05-error-terminated-02/intent-journal.jsonl +3 -0
  107. package/fixtures/truncation-corpus/fx-05-error-terminated-02/meta.json +18 -0
  108. package/fixtures/truncation-corpus/fx-05-error-terminated-02/target/.ijfw/blackboard/decisions.jsonl +1 -0
  109. package/fixtures/truncation-corpus/fx-05-error-terminated-03/events.jsonl +2 -0
  110. package/fixtures/truncation-corpus/fx-05-error-terminated-03/intent-journal.jsonl +3 -0
  111. package/fixtures/truncation-corpus/fx-05-error-terminated-03/meta.json +18 -0
  112. package/fixtures/truncation-corpus/fx-05-error-terminated-03/snapshots/v-errT-3-partial.json +11 -0
  113. package/fixtures/truncation-corpus/fx-05-error-terminated-03/target/.ijfw/state/workflow.json +1 -0
  114. package/fixtures/truncation-corpus/fx-05-error-terminated-04/events.jsonl +2 -0
  115. package/fixtures/truncation-corpus/fx-05-error-terminated-04/intent-journal.jsonl +3 -0
  116. package/fixtures/truncation-corpus/fx-05-error-terminated-04/meta.json +18 -0
  117. package/fixtures/truncation-corpus/fx-05-error-terminated-04/target/.ijfw/blackboard/decisions.jsonl +1 -0
  118. package/fixtures/truncation-corpus/fx-05-error-terminated-05/events.jsonl +2 -0
  119. package/fixtures/truncation-corpus/fx-05-error-terminated-05/intent-journal.jsonl +3 -0
  120. package/fixtures/truncation-corpus/fx-05-error-terminated-05/meta.json +18 -0
  121. package/fixtures/truncation-corpus/fx-05-error-terminated-05/snapshots/v-errT-5-partial.json +11 -0
  122. package/fixtures/truncation-corpus/fx-05-error-terminated-05/target/.ijfw/state/workflow.json +1 -0
  123. package/package.json +6 -3
  124. package/src/active-extension-writer.js +144 -64
  125. package/src/api-client.js +43 -5
  126. package/src/audit-roster.js +80 -5
  127. package/src/blackboard.js +298 -6
  128. package/src/cli-run.js +33 -5
  129. package/src/codex-agents.js +96 -5
  130. package/src/cost/aggregator.js +39 -9
  131. package/src/cost/pricing.js +57 -0
  132. package/src/cost/readers/gemini.js +1 -1
  133. package/src/cross-audit-chunker.js +189 -0
  134. package/src/cross-dispatcher.js +124 -21
  135. package/src/cross-orchestrator-cli.js +754 -159
  136. package/src/cross-orchestrator.js +1065 -17
  137. package/src/cross-project-search.js +195 -9
  138. package/src/dashboard-client-waves.html +304 -0
  139. package/src/dashboard-client.html +5 -1
  140. package/src/dashboard-server.js +73 -0
  141. package/src/deploy-alerts.js +150 -0
  142. package/src/design/iframe-bridge.js +242 -0
  143. package/src/design-companion.js +144 -0
  144. package/src/dispatch/checkpoint-cli.js +97 -0
  145. package/src/dispatch/colon-syntax.js +81 -1
  146. package/src/dispatch/extension.js +26 -2
  147. package/src/dispatch/registry-cli.js +4 -1
  148. package/src/dispatch/wave-cli.js +201 -6
  149. package/src/dispatch/worktree-cli.js +40 -0
  150. package/src/dispatch-planner.js +97 -2
  151. package/src/dream/runner.mjs +47 -11
  152. package/src/dream/stage-runner.js +40 -0
  153. package/src/dream/state-file.js +102 -0
  154. package/src/extension-installer.js +70 -24
  155. package/src/extension-quota-tracker.js +4 -2
  156. package/src/extension-registry.js +289 -35
  157. package/src/feedback-detector.js +26 -0
  158. package/src/fs-lock.js +259 -7
  159. package/src/gate-result.js +95 -1
  160. package/src/hardware-signer.js +4 -2
  161. package/src/hero-line.js +86 -5
  162. package/src/intent-router.js +35 -0
  163. package/src/lib/a11y-contract.js +117 -0
  164. package/src/lib/atomic-io.js +29 -8
  165. package/src/lib/cache-keepalive.js +150 -0
  166. package/src/lib/jsonl-rotation.js +104 -0
  167. package/src/lib/lighthouse-pillar.js +121 -0
  168. package/src/lib/llm-call.js +121 -0
  169. package/src/lib/playwright-baseline.js +205 -0
  170. package/src/lib/rekor-bridge.js +221 -0
  171. package/src/lib/repo-map.js +392 -0
  172. package/src/lib/shasum-verify.js +164 -0
  173. package/src/lib/sketches-gc.js +132 -0
  174. package/src/lib/tmp-suffix.js +62 -0
  175. package/src/lib/ui-review-runner.js +595 -0
  176. package/src/lib/uispec-drift.js +301 -0
  177. package/src/lib/uispec-intake.js +381 -0
  178. package/src/lib/worktree-guards.js +118 -0
  179. package/src/lib/worktree-recovery.js +100 -0
  180. package/src/memory/auto-linker.js +267 -0
  181. package/src/memory/benchmark.js +498 -0
  182. package/src/memory/dedup.js +126 -0
  183. package/src/memory/embedding-cache.js +136 -0
  184. package/src/memory/fact-extractor.js +168 -0
  185. package/src/memory/fts5.js +65 -1
  186. package/src/memory/migration-runner.js +6 -1
  187. package/src/memory/migrations/004-bitemporal.js +91 -0
  188. package/src/memory/migrations/005-vector-cache.js +61 -0
  189. package/src/memory/migrations/006-obsidian-graph.js +46 -0
  190. package/src/memory/migrations/007-skill-telemetry.js +24 -0
  191. package/src/memory/migrations/008-write-provenance.js +41 -0
  192. package/src/memory/migrations/009-obsidian-backfill.js +50 -0
  193. package/src/memory/obsidian-parser.js +152 -0
  194. package/src/memory/query-dataview.js +86 -0
  195. package/src/memory/search.js +46 -15
  196. package/src/memory/temporal.js +529 -0
  197. package/src/memory/tokenize.js +10 -0
  198. package/src/memory-facts-handler.js +37 -0
  199. package/src/memory-feedback.js +260 -2
  200. package/src/model-refresh.js +292 -0
  201. package/src/observability/cost-anomaly.js +166 -0
  202. package/src/observability/evaluator-checkpoint-contract.js +117 -0
  203. package/src/observability/trace-id.js +163 -0
  204. package/src/orchestrator/agents-md-blackboard.js +152 -0
  205. package/src/orchestrator/checkpoint-contract.md +140 -0
  206. package/src/orchestrator/debug-trident-trigger.js +374 -0
  207. package/src/orchestrator/debug-trident.js +570 -0
  208. package/src/orchestrator/merge-block-aware.js +350 -0
  209. package/src/orchestrator/plan-checker.js +475 -0
  210. package/src/orchestrator/post-done-runner.js +277 -0
  211. package/src/orchestrator/review.js +38 -3
  212. package/src/orchestrator/skill-telemetry-sink.js +29 -0
  213. package/src/orchestrator/skill-telemetry.js +37 -0
  214. package/src/orchestrator/state-events.js +459 -0
  215. package/src/orchestrator/state-sdk.js +1932 -0
  216. package/src/orchestrator/status-protocol.js +84 -17
  217. package/src/orchestrator/subagent-telemetry.js +471 -0
  218. package/src/orchestrator/termination.js +160 -0
  219. package/src/orchestrator/verification-gate.js +200 -16
  220. package/src/orchestrator/wave-state.js +332 -23
  221. package/src/orchestrator/worktree-provision.js +77 -0
  222. package/src/override-resolver.js +5 -3
  223. package/src/override-use-registry.js +111 -5
  224. package/src/receipts.js +36 -4
  225. package/src/recovery/checkpoint.js +56 -3
  226. package/src/recovery/code-fixer.js +961 -0
  227. package/src/recovery/truncation.js +317 -0
  228. package/src/redactor.js +75 -6
  229. package/src/runtime-mediator.js +15 -1
  230. package/src/sanitizer.js +10 -0
  231. package/src/search-hybrid.js +139 -0
  232. package/src/server.js +795 -112
  233. package/src/swarm/worktree.js +27 -4
  234. package/src/swarm-config.js +102 -17
  235. package/src/team/domain-templates/book.json +51 -0
  236. package/src/team/domain-templates/business.json +44 -0
  237. package/src/team/domain-templates/content.json +50 -0
  238. package/src/team/domain-templates/design.json +44 -0
  239. package/src/team/domain-templates/research.json +44 -0
  240. package/src/team/domain-templates/software.json +40 -0
  241. package/src/team/generator.js +440 -3
  242. package/src/team/modify.js +203 -0
  243. package/src/team/schemas.js +48 -0
  244. package/src/update-apply.js +19 -3
  245. package/src/dashboard-charts.js +0 -239
@@ -2,58 +2,237 @@
2
2
  "charter": {
3
3
  "schema_version": "team-charter/v1",
4
4
  "team_name": "mixed-launch-team",
5
- "project_archetypes": ["software", "design", "content", "mixed"],
5
+ "project_archetypes": [
6
+ "software",
7
+ "design",
8
+ "content",
9
+ "mixed"
10
+ ],
6
11
  "roles": [
7
12
  {
8
- "name": "app-engineer",
13
+ "name": "ijfw-app-engineer",
9
14
  "role_type": "software",
10
15
  "model": "sonnet",
11
16
  "effort": "medium",
12
- "phase_scope": ["execute", "verify"],
13
- "owns": [{"artifact_type": "app", "paths": ["app/**"]}],
14
- "reviews": [{"artifact_type": "screen", "criteria": ["integration", "accessibility"]}],
15
- "handoff": {"format": "markdown", "required_sections": ["changed_artifacts", "tests", "risks"]},
16
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": ["app/routes/**"]}
17
+ "phase_scope": [
18
+ "execute",
19
+ "verify"
20
+ ],
21
+ "owns": [
22
+ {
23
+ "artifact_type": "app",
24
+ "paths": [
25
+ "app/**"
26
+ ]
27
+ }
28
+ ],
29
+ "reviews": [
30
+ {
31
+ "artifact_type": "screen",
32
+ "criteria": [
33
+ "integration",
34
+ "accessibility"
35
+ ]
36
+ }
37
+ ],
38
+ "handoff": {
39
+ "format": "markdown",
40
+ "required_sections": [
41
+ "changed_artifacts",
42
+ "tests",
43
+ "risks"
44
+ ]
45
+ },
46
+ "coordination": {
47
+ "parallel_safe": true,
48
+ "claim_required": true,
49
+ "conflicts_with": [
50
+ "app/routes/**"
51
+ ]
52
+ }
17
53
  },
18
54
  {
19
- "name": "ux-designer",
55
+ "name": "ijfw-ux-designer",
20
56
  "role_type": "design",
21
57
  "model": "sonnet",
22
58
  "effort": "medium",
23
- "phase_scope": ["shape", "review"],
24
- "owns": [{"artifact_type": "screen", "paths": ["design/**"]}],
25
- "reviews": [{"artifact_type": "app", "criteria": ["usability", "visual-fit"]}],
26
- "handoff": {"format": "markdown", "required_sections": ["rationale", "screens", "review_notes"]},
27
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": ["design/tokens/**"]}
59
+ "phase_scope": [
60
+ "shape",
61
+ "review"
62
+ ],
63
+ "owns": [
64
+ {
65
+ "artifact_type": "screen",
66
+ "paths": [
67
+ "design/**"
68
+ ]
69
+ }
70
+ ],
71
+ "reviews": [
72
+ {
73
+ "artifact_type": "app",
74
+ "criteria": [
75
+ "usability",
76
+ "visual-fit"
77
+ ]
78
+ }
79
+ ],
80
+ "handoff": {
81
+ "format": "markdown",
82
+ "required_sections": [
83
+ "rationale",
84
+ "screens",
85
+ "review_notes"
86
+ ]
87
+ },
88
+ "coordination": {
89
+ "parallel_safe": true,
90
+ "claim_required": true,
91
+ "conflicts_with": [
92
+ "design/tokens/**"
93
+ ]
94
+ }
28
95
  },
29
96
  {
30
- "name": "launch-editor",
97
+ "name": "ijfw-launch-editor",
31
98
  "role_type": "content",
32
99
  "model": "sonnet",
33
100
  "effort": "low",
34
- "phase_scope": ["execute", "review"],
35
- "owns": [{"artifact_type": "launch_copy", "paths": ["content/launch/**"]}],
36
- "reviews": [{"artifact_type": "screen", "criteria": ["message-match", "voice"]}],
37
- "handoff": {"format": "markdown", "required_sections": ["copy_changes", "voice_notes"]},
38
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": []}
101
+ "phase_scope": [
102
+ "execute",
103
+ "review"
104
+ ],
105
+ "owns": [
106
+ {
107
+ "artifact_type": "launch_copy",
108
+ "paths": [
109
+ "content/launch/**"
110
+ ]
111
+ }
112
+ ],
113
+ "reviews": [
114
+ {
115
+ "artifact_type": "screen",
116
+ "criteria": [
117
+ "message-match",
118
+ "voice"
119
+ ]
120
+ }
121
+ ],
122
+ "handoff": {
123
+ "format": "markdown",
124
+ "required_sections": [
125
+ "copy_changes",
126
+ "voice_notes"
127
+ ]
128
+ },
129
+ "coordination": {
130
+ "parallel_safe": true,
131
+ "claim_required": true,
132
+ "conflicts_with": []
133
+ }
39
134
  }
40
135
  ]
41
136
  },
42
137
  "workflow": {
43
138
  "schema_version": "team-workflow/v1",
44
- "project_archetypes": ["software", "design", "content", "mixed"],
139
+ "project_archetypes": [
140
+ "software",
141
+ "design",
142
+ "content",
143
+ "mixed"
144
+ ],
45
145
  "artifacts": [
46
- {"id": "app-shell", "type": "app", "paths": ["app/**"], "owner": "app-engineer", "reviewers": ["ux-designer"], "depends_on": [], "verification": ["npm test"]},
47
- {"id": "product-screens", "type": "screen", "paths": ["design/**"], "owner": "ux-designer", "reviewers": ["app-engineer", "launch-editor"], "depends_on": [], "verification": ["visual audit"]},
48
- {"id": "launch-copy", "type": "launch_copy", "paths": ["content/launch/**"], "owner": "launch-editor", "reviewers": ["ux-designer"], "depends_on": ["product-screens"], "verification": ["brand voice review"]}
146
+ {
147
+ "id": "app-shell",
148
+ "type": "app",
149
+ "paths": [
150
+ "app/**"
151
+ ],
152
+ "owner": "ijfw-app-engineer",
153
+ "reviewers": [
154
+ "ijfw-ux-designer"
155
+ ],
156
+ "depends_on": [],
157
+ "verification": [
158
+ "npm test"
159
+ ]
160
+ },
161
+ {
162
+ "id": "product-screens",
163
+ "type": "screen",
164
+ "paths": [
165
+ "design/**"
166
+ ],
167
+ "owner": "ijfw-ux-designer",
168
+ "reviewers": [
169
+ "ijfw-app-engineer",
170
+ "ijfw-launch-editor"
171
+ ],
172
+ "depends_on": [],
173
+ "verification": [
174
+ "visual audit"
175
+ ]
176
+ },
177
+ {
178
+ "id": "launch-copy",
179
+ "type": "launch_copy",
180
+ "paths": [
181
+ "content/launch/**"
182
+ ],
183
+ "owner": "ijfw-launch-editor",
184
+ "reviewers": [
185
+ "ijfw-ux-designer"
186
+ ],
187
+ "depends_on": [
188
+ "product-screens"
189
+ ],
190
+ "verification": [
191
+ "brand voice review"
192
+ ]
193
+ }
49
194
  ],
50
195
  "waves": [
51
- {"id": "w1", "mode": "parallel", "artifact_ids": ["app-shell", "product-screens"]},
52
- {"id": "w2", "mode": "review", "artifact_ids": ["launch-copy"]}
196
+ {
197
+ "id": "w1",
198
+ "mode": "parallel",
199
+ "artifact_ids": [
200
+ "app-shell",
201
+ "product-screens"
202
+ ]
203
+ },
204
+ {
205
+ "id": "w2",
206
+ "mode": "review",
207
+ "artifact_ids": [
208
+ "launch-copy"
209
+ ]
210
+ }
53
211
  ]
54
212
  },
55
213
  "blackboard": {
56
- "tasks": [{"id": "task-launch", "title": "Coordinate launch surface", "status": "ready", "artifact_ids": ["app-shell", "product-screens"], "owner": "app-engineer"}],
57
- "claims": [{"id": "claim-copy", "artifact_id": "launch-copy", "agent": "launch-editor", "status": "active", "paths": ["content/launch/**"]}]
214
+ "tasks": [
215
+ {
216
+ "id": "task-launch",
217
+ "title": "Coordinate launch surface",
218
+ "status": "ready",
219
+ "artifact_ids": [
220
+ "app-shell",
221
+ "product-screens"
222
+ ],
223
+ "owner": "ijfw-app-engineer"
224
+ }
225
+ ],
226
+ "claims": [
227
+ {
228
+ "id": "claim-copy",
229
+ "artifact_id": "launch-copy",
230
+ "agent": "ijfw-launch-editor",
231
+ "status": "active",
232
+ "paths": [
233
+ "content/launch/**"
234
+ ]
235
+ }
236
+ ]
58
237
  }
59
238
  }
@@ -2,46 +2,172 @@
2
2
  "charter": {
3
3
  "schema_version": "team-charter/v1",
4
4
  "team_name": "research-synthesis-team",
5
- "project_archetypes": ["research"],
5
+ "project_archetypes": [
6
+ "research"
7
+ ],
6
8
  "roles": [
7
9
  {
8
- "name": "research-lead",
10
+ "name": "ijfw-research-lead",
9
11
  "role_type": "research",
10
12
  "model": "sonnet",
11
13
  "effort": "high",
12
- "phase_scope": ["question", "collect", "synthesize"],
13
- "owns": [{"artifact_type": "evidence_table", "paths": ["research/evidence/**"]}],
14
- "reviews": [{"artifact_type": "synthesis", "criteria": ["method", "source-quality"]}],
15
- "handoff": {"format": "markdown", "required_sections": ["sources", "findings", "confidence"]},
16
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": []}
14
+ "phase_scope": [
15
+ "question",
16
+ "collect",
17
+ "synthesize"
18
+ ],
19
+ "owns": [
20
+ {
21
+ "artifact_type": "evidence_table",
22
+ "paths": [
23
+ "research/evidence/**"
24
+ ]
25
+ }
26
+ ],
27
+ "reviews": [
28
+ {
29
+ "artifact_type": "synthesis",
30
+ "criteria": [
31
+ "method",
32
+ "source-quality"
33
+ ]
34
+ }
35
+ ],
36
+ "handoff": {
37
+ "format": "markdown",
38
+ "required_sections": [
39
+ "sources",
40
+ "findings",
41
+ "confidence"
42
+ ]
43
+ },
44
+ "coordination": {
45
+ "parallel_safe": true,
46
+ "claim_required": true,
47
+ "conflicts_with": []
48
+ }
17
49
  },
18
50
  {
19
- "name": "method-reviewer",
51
+ "name": "ijfw-method-reviewer",
20
52
  "role_type": "review",
21
53
  "model": "sonnet",
22
54
  "effort": "medium",
23
- "phase_scope": ["review", "verify"],
24
- "owns": [{"artifact_type": "method_audit", "paths": ["research/reviews/**"]}],
25
- "reviews": [{"artifact_type": "evidence_table", "criteria": ["bias", "traceability", "coverage"]}],
26
- "handoff": {"format": "markdown", "required_sections": ["limitations", "risk", "recommendations"]},
27
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": []}
55
+ "phase_scope": [
56
+ "review",
57
+ "verify"
58
+ ],
59
+ "owns": [
60
+ {
61
+ "artifact_type": "method_audit",
62
+ "paths": [
63
+ "research/reviews/**"
64
+ ]
65
+ }
66
+ ],
67
+ "reviews": [
68
+ {
69
+ "artifact_type": "evidence_table",
70
+ "criteria": [
71
+ "bias",
72
+ "traceability",
73
+ "coverage"
74
+ ]
75
+ }
76
+ ],
77
+ "handoff": {
78
+ "format": "markdown",
79
+ "required_sections": [
80
+ "limitations",
81
+ "risk",
82
+ "recommendations"
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": ["research"],
95
+ "project_archetypes": [
96
+ "research"
97
+ ],
34
98
  "artifacts": [
35
- {"id": "evidence-table", "type": "evidence_table", "paths": ["research/evidence/table.md"], "owner": "research-lead", "reviewers": ["method-reviewer"], "depends_on": [], "verification": ["source audit"]},
36
- {"id": "method-audit", "type": "method_audit", "paths": ["research/reviews/method.md"], "owner": "method-reviewer", "reviewers": ["research-lead"], "depends_on": ["evidence-table"], "verification": ["methodology review"]}
99
+ {
100
+ "id": "evidence-table",
101
+ "type": "evidence_table",
102
+ "paths": [
103
+ "research/evidence/table.md"
104
+ ],
105
+ "owner": "ijfw-research-lead",
106
+ "reviewers": [
107
+ "ijfw-method-reviewer"
108
+ ],
109
+ "depends_on": [],
110
+ "verification": [
111
+ "source audit"
112
+ ]
113
+ },
114
+ {
115
+ "id": "method-audit",
116
+ "type": "method_audit",
117
+ "paths": [
118
+ "research/reviews/method.md"
119
+ ],
120
+ "owner": "ijfw-method-reviewer",
121
+ "reviewers": [
122
+ "ijfw-research-lead"
123
+ ],
124
+ "depends_on": [
125
+ "evidence-table"
126
+ ],
127
+ "verification": [
128
+ "methodology review"
129
+ ]
130
+ }
37
131
  ],
38
132
  "waves": [
39
- {"id": "w1", "mode": "parallel", "artifact_ids": ["evidence-table"]},
40
- {"id": "w2", "mode": "review", "artifact_ids": ["method-audit"]}
133
+ {
134
+ "id": "w1",
135
+ "mode": "parallel",
136
+ "artifact_ids": [
137
+ "evidence-table"
138
+ ]
139
+ },
140
+ {
141
+ "id": "w2",
142
+ "mode": "review",
143
+ "artifact_ids": [
144
+ "method-audit"
145
+ ]
146
+ }
41
147
  ]
42
148
  },
43
149
  "blackboard": {
44
- "tasks": [{"id": "task-evidence", "title": "Build evidence table", "status": "ready", "artifact_ids": ["evidence-table"], "owner": "research-lead"}],
45
- "claims": [{"id": "claim-evidence", "artifact_id": "evidence-table", "agent": "research-lead", "status": "active", "paths": ["research/evidence/table.md"]}]
150
+ "tasks": [
151
+ {
152
+ "id": "task-evidence",
153
+ "title": "Build evidence table",
154
+ "status": "ready",
155
+ "artifact_ids": [
156
+ "evidence-table"
157
+ ],
158
+ "owner": "ijfw-research-lead"
159
+ }
160
+ ],
161
+ "claims": [
162
+ {
163
+ "id": "claim-evidence",
164
+ "artifact_id": "evidence-table",
165
+ "agent": "ijfw-research-lead",
166
+ "status": "active",
167
+ "paths": [
168
+ "research/evidence/table.md"
169
+ ]
170
+ }
171
+ ]
46
172
  }
47
173
  }
@@ -2,46 +2,174 @@
2
2
  "charter": {
3
3
  "schema_version": "team-charter/v1",
4
4
  "team_name": "software-delivery-team",
5
- "project_archetypes": ["software"],
5
+ "project_archetypes": [
6
+ "software"
7
+ ],
6
8
  "roles": [
7
9
  {
8
- "name": "implementation-engineer",
10
+ "name": "ijfw-code-fixer",
9
11
  "role_type": "software",
10
12
  "model": "sonnet",
11
13
  "effort": "medium",
12
- "phase_scope": ["plan", "execute", "verify"],
13
- "owns": [{"artifact_type": "module", "paths": ["src/**/*.js"]}],
14
- "reviews": [{"artifact_type": "test", "criteria": ["coverage", "regression"]}],
15
- "handoff": {"format": "markdown", "required_sections": ["changed_artifacts", "tests", "risks"]},
16
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": ["src/shared/**"]}
14
+ "phase_scope": [
15
+ "plan",
16
+ "execute",
17
+ "verify"
18
+ ],
19
+ "owns": [
20
+ {
21
+ "artifact_type": "module",
22
+ "paths": [
23
+ "src/**/*.js"
24
+ ]
25
+ }
26
+ ],
27
+ "reviews": [
28
+ {
29
+ "artifact_type": "test",
30
+ "criteria": [
31
+ "coverage",
32
+ "regression"
33
+ ]
34
+ }
35
+ ],
36
+ "handoff": {
37
+ "format": "markdown",
38
+ "required_sections": [
39
+ "changed_artifacts",
40
+ "tests",
41
+ "risks"
42
+ ]
43
+ },
44
+ "coordination": {
45
+ "parallel_safe": true,
46
+ "claim_required": true,
47
+ "conflicts_with": [
48
+ "src/shared/**"
49
+ ]
50
+ }
17
51
  },
18
52
  {
19
- "name": "test-reviewer",
53
+ "name": "ijfw-integration-checker",
20
54
  "role_type": "qa",
21
55
  "model": "sonnet",
22
56
  "effort": "low",
23
- "phase_scope": ["review", "verify"],
24
- "owns": [{"artifact_type": "test", "paths": ["test/**/*.js"]}],
25
- "reviews": [{"artifact_type": "module", "criteria": ["behavior", "edge-cases"]}],
26
- "handoff": {"format": "markdown", "required_sections": ["findings", "verification"]},
27
- "coordination": {"parallel_safe": true, "claim_required": true, "conflicts_with": []}
57
+ "phase_scope": [
58
+ "review",
59
+ "verify"
60
+ ],
61
+ "owns": [
62
+ {
63
+ "artifact_type": "test",
64
+ "paths": [
65
+ "test/**/*.js"
66
+ ]
67
+ }
68
+ ],
69
+ "reviews": [
70
+ {
71
+ "artifact_type": "module",
72
+ "criteria": [
73
+ "behavior",
74
+ "edge-cases"
75
+ ]
76
+ }
77
+ ],
78
+ "handoff": {
79
+ "format": "markdown",
80
+ "required_sections": [
81
+ "findings",
82
+ "verification"
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": ["software"],
95
+ "project_archetypes": [
96
+ "software"
97
+ ],
34
98
  "artifacts": [
35
- {"id": "runtime-module", "type": "module", "paths": ["src/**/*.js"], "owner": "implementation-engineer", "reviewers": ["test-reviewer"], "depends_on": [], "verification": ["npm test"]},
36
- {"id": "regression-tests", "type": "test", "paths": ["test/**/*.js"], "owner": "test-reviewer", "reviewers": ["implementation-engineer"], "depends_on": ["runtime-module"], "verification": ["node --test test/**/*.js"]}
99
+ {
100
+ "id": "runtime-module",
101
+ "type": "module",
102
+ "paths": [
103
+ "src/**/*.js"
104
+ ],
105
+ "owner": "ijfw-code-fixer",
106
+ "reviewers": [
107
+ "ijfw-integration-checker"
108
+ ],
109
+ "depends_on": [],
110
+ "verification": [
111
+ "npm test"
112
+ ]
113
+ },
114
+ {
115
+ "id": "regression-tests",
116
+ "type": "test",
117
+ "paths": [
118
+ "test/**/*.js"
119
+ ],
120
+ "owner": "ijfw-integration-checker",
121
+ "reviewers": [
122
+ "ijfw-code-fixer"
123
+ ],
124
+ "depends_on": [
125
+ "runtime-module"
126
+ ],
127
+ "verification": [
128
+ "node --test test/**/*.js"
129
+ ]
130
+ }
37
131
  ],
38
132
  "waves": [
39
- {"id": "w1", "mode": "parallel", "artifact_ids": ["runtime-module"]},
40
- {"id": "w2", "mode": "review", "artifact_ids": ["regression-tests"]}
133
+ {
134
+ "id": "w1",
135
+ "mode": "parallel",
136
+ "artifact_ids": [
137
+ "runtime-module"
138
+ ]
139
+ },
140
+ {
141
+ "id": "w2",
142
+ "mode": "review",
143
+ "artifact_ids": [
144
+ "regression-tests"
145
+ ]
146
+ }
41
147
  ]
42
148
  },
43
149
  "blackboard": {
44
- "tasks": [{"id": "task-runtime", "title": "Implement runtime module", "status": "ready", "artifact_ids": ["runtime-module"], "owner": "implementation-engineer", "depends_on": []}],
45
- "claims": [{"id": "claim-runtime", "artifact_id": "runtime-module", "agent": "implementation-engineer", "status": "active", "paths": ["src/**/*.js"], "claimed_at": "2026-05-15T00:00:00Z"}]
150
+ "tasks": [
151
+ {
152
+ "id": "task-runtime",
153
+ "title": "Implement runtime module",
154
+ "status": "ready",
155
+ "artifact_ids": [
156
+ "runtime-module"
157
+ ],
158
+ "owner": "ijfw-code-fixer",
159
+ "depends_on": []
160
+ }
161
+ ],
162
+ "claims": [
163
+ {
164
+ "id": "claim-runtime",
165
+ "artifact_id": "runtime-module",
166
+ "agent": "ijfw-code-fixer",
167
+ "status": "active",
168
+ "paths": [
169
+ "src/**/*.js"
170
+ ],
171
+ "claimed_at": "2026-05-15T00:00:00Z"
172
+ }
173
+ ]
46
174
  }
47
175
  }