@jaimevalasek/aioson 1.6.0 → 1.7.0

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 (252) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +729 -232
  3. package/docs/design-previews/pt.squarespace.com-homepage.html +889 -0
  4. package/docs/integrations/sdlc-genius-boundary.md +76 -0
  5. package/docs/integrations/sdlc-genius-eval-matrix.md +75 -0
  6. package/docs/integrations/sdlc-genius-install-checklist.md +93 -0
  7. package/docs/integrations/sdlc-genius-review-samples.md +86 -0
  8. package/docs/pt/README.md +3 -0
  9. package/docs/pt/agentes.md +1 -0
  10. package/docs/pt/comandos-cli.md +888 -2
  11. package/docs/pt/design-hybrid-forge.md +255 -6
  12. package/docs/pt/devlog-pipeline.md +270 -0
  13. package/docs/pt/fluxo-artefatos.md +178 -0
  14. package/docs/pt/hooks-session-guard.md +454 -0
  15. package/docs/pt/monitor-de-contexto.md +59 -5
  16. package/docs/pt/sdd-automation-scripts.md +557 -0
  17. package/docs/pt/site-forge.md +309 -0
  18. package/docs/pt/spec-learnings-pipeline.md +265 -0
  19. package/package.json +1 -1
  20. package/src/a2a/client.js +165 -0
  21. package/src/a2a/server.js +223 -0
  22. package/src/cli.js +235 -1
  23. package/src/commands/agent-audit.js +397 -0
  24. package/src/commands/agent-export-skill.js +229 -0
  25. package/src/commands/artifact-validate.js +189 -0
  26. package/src/commands/brief-gen.js +405 -0
  27. package/src/commands/brief-validate.js +65 -0
  28. package/src/commands/classify.js +256 -0
  29. package/src/commands/context-compact.js +49 -0
  30. package/src/commands/context-health.js +175 -0
  31. package/src/commands/context-monitor.js +71 -0
  32. package/src/commands/context-trim.js +177 -0
  33. package/src/commands/detect-test-runner.js +55 -0
  34. package/src/commands/devlog-export-brains.js +27 -0
  35. package/src/commands/devlog-process.js +292 -0
  36. package/src/commands/devlog-watch.js +131 -0
  37. package/src/commands/feature-close.js +165 -0
  38. package/src/commands/gate-check.js +228 -0
  39. package/src/commands/hooks-emit.js +253 -0
  40. package/src/commands/hooks-install.js +347 -0
  41. package/src/commands/learning-auto-promote.js +195 -0
  42. package/src/commands/learning-evolve.js +18 -9
  43. package/src/commands/learning-export.js +103 -0
  44. package/src/commands/learning-rollback.js +164 -0
  45. package/src/commands/live.js +25 -1
  46. package/src/commands/pattern-detect.js +33 -0
  47. package/src/commands/preflight-context.js +30 -0
  48. package/src/commands/preflight.js +208 -0
  49. package/src/commands/pulse-update.js +130 -0
  50. package/src/commands/runner-daemon.js +274 -0
  51. package/src/commands/runner-plan.js +70 -0
  52. package/src/commands/runner-queue-from-plan.js +166 -0
  53. package/src/commands/runner-queue.js +189 -0
  54. package/src/commands/runner-run.js +129 -0
  55. package/src/commands/runtime.js +47 -1
  56. package/src/commands/self-implement-loop.js +256 -0
  57. package/src/commands/session-guard.js +218 -0
  58. package/src/commands/sizing.js +165 -0
  59. package/src/commands/skill.js +65 -0
  60. package/src/commands/spec-checkpoint.js +177 -0
  61. package/src/commands/spec-status.js +79 -0
  62. package/src/commands/spec-sync.js +190 -0
  63. package/src/commands/spec-tasks.js +288 -0
  64. package/src/commands/squad-autorun.js +1220 -0
  65. package/src/commands/squad-bus.js +217 -0
  66. package/src/commands/squad-card.js +149 -0
  67. package/src/commands/squad-daemon.js +134 -0
  68. package/src/commands/squad-dependency-graph.js +164 -0
  69. package/src/commands/squad-review.js +106 -0
  70. package/src/commands/squad-scaffold.js +55 -0
  71. package/src/commands/squad-tool-register.js +157 -0
  72. package/src/commands/state-save.js +122 -0
  73. package/src/commands/update.js +2 -0
  74. package/src/commands/verify-gate.js +572 -0
  75. package/src/commands/workflow-execute.js +241 -0
  76. package/src/constants.js +9 -0
  77. package/src/install-profile.js +2 -2
  78. package/src/install-wizard.js +3 -2
  79. package/src/installer.js +6 -0
  80. package/src/lib/health-check.js +158 -0
  81. package/src/lib/hook-protocol.js +76 -0
  82. package/src/mcp/apps/squad-dashboard/app.js +163 -0
  83. package/src/mcp/apps/squad-dashboard/index.html +261 -0
  84. package/src/mcp/apps/squad-dashboard/mcp-manifest.json +23 -0
  85. package/src/mcp/resources/squad-state.js +130 -0
  86. package/src/preflight-engine.js +443 -0
  87. package/src/runner/cascade.js +97 -0
  88. package/src/runner/cli-launcher.js +109 -0
  89. package/src/runner/plan-importer.js +63 -0
  90. package/src/runner/queue-store.js +159 -0
  91. package/src/runtime-store.js +61 -3
  92. package/src/squad/agent-teams-adapter.js +264 -0
  93. package/src/squad/brief-validator.js +350 -0
  94. package/src/squad/bus-bridge.js +140 -0
  95. package/src/squad/context-compactor.js +265 -0
  96. package/src/squad/cross-ai-synthesizer.js +250 -0
  97. package/src/squad/hooks-generator.js +196 -0
  98. package/src/squad/inter-squad-events.js +175 -0
  99. package/src/squad/intra-bus.js +345 -0
  100. package/src/squad/learning-extractor.js +213 -0
  101. package/src/squad/pattern-detector.js +365 -0
  102. package/src/squad/preflight-context.js +296 -0
  103. package/src/squad/recovery-context.js +242 -71
  104. package/src/squad/reflection.js +365 -0
  105. package/src/squad/squad-scaffold.js +177 -0
  106. package/src/squad/state-manager.js +310 -0
  107. package/src/squad/task-decomposer.js +652 -0
  108. package/src/squad/verify-gate.js +303 -0
  109. package/src/updater.js +4 -5
  110. package/src/worker-runner.js +186 -1
  111. package/template/.aioson/agents/analyst.md +62 -1
  112. package/template/.aioson/agents/architect.md +61 -1
  113. package/template/.aioson/agents/design-hybrid-forge.md +14 -0
  114. package/template/.aioson/agents/dev.md +242 -24
  115. package/template/.aioson/agents/deyvin.md +66 -8
  116. package/template/.aioson/agents/discovery-design-doc.md +44 -0
  117. package/template/.aioson/agents/genome.md +14 -0
  118. package/template/.aioson/agents/neo.md +78 -1
  119. package/template/.aioson/agents/orache.md +50 -4
  120. package/template/.aioson/agents/orchestrator.md +197 -1
  121. package/template/.aioson/agents/pm.md +35 -0
  122. package/template/.aioson/agents/product.md +50 -5
  123. package/template/.aioson/agents/profiler-enricher.md +14 -0
  124. package/template/.aioson/agents/profiler-forge.md +14 -0
  125. package/template/.aioson/agents/profiler-researcher.md +14 -0
  126. package/template/.aioson/agents/qa.md +172 -21
  127. package/template/.aioson/agents/setup.md +79 -9
  128. package/template/.aioson/agents/sheldon.md +131 -6
  129. package/template/.aioson/agents/site-forge.md +1753 -0
  130. package/template/.aioson/agents/squad.md +162 -0
  131. package/template/.aioson/agents/tester.md +53 -0
  132. package/template/.aioson/agents/ux-ui.md +34 -1
  133. package/template/.aioson/brains/README.md +128 -0
  134. package/template/.aioson/brains/_index.json +16 -0
  135. package/template/.aioson/brains/scripts/query.js +103 -0
  136. package/template/.aioson/brains/site-forge/visual-patterns.brain.json +205 -0
  137. package/template/.aioson/config.md +143 -13
  138. package/template/.aioson/constitution.md +33 -0
  139. package/template/.aioson/context/project-pulse.md +34 -0
  140. package/template/.aioson/docs/LAYERS.md +79 -0
  141. package/template/.aioson/docs/README.md +76 -0
  142. package/template/.aioson/docs/example-external-api-context.md +72 -0
  143. package/template/.aioson/locales/en/agents/architect.md +17 -0
  144. package/template/.aioson/locales/en/agents/dev.md +79 -13
  145. package/template/.aioson/locales/en/agents/orache.md +6 -0
  146. package/template/.aioson/locales/en/agents/orchestrator.md +24 -0
  147. package/template/.aioson/locales/en/agents/product.md +50 -0
  148. package/template/.aioson/locales/en/agents/sheldon.md +115 -0
  149. package/template/.aioson/locales/en/agents/squad.md +14 -0
  150. package/template/.aioson/locales/en/agents/tester.md +6 -0
  151. package/template/.aioson/locales/es/agents/analyst.md +2 -0
  152. package/template/.aioson/locales/es/agents/architect.md +19 -0
  153. package/template/.aioson/locales/es/agents/dev.md +64 -4
  154. package/template/.aioson/locales/es/agents/deyvin.md +2 -0
  155. package/template/.aioson/locales/es/agents/discovery-design-doc.md +2 -0
  156. package/template/.aioson/locales/es/agents/genome.md +2 -0
  157. package/template/.aioson/locales/es/agents/neo.md +2 -0
  158. package/template/.aioson/locales/es/agents/orache.md +2 -0
  159. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  160. package/template/.aioson/locales/es/agents/pair.md +2 -0
  161. package/template/.aioson/locales/es/agents/pm.md +2 -0
  162. package/template/.aioson/locales/es/agents/product.md +52 -0
  163. package/template/.aioson/locales/es/agents/profiler-enricher.md +2 -0
  164. package/template/.aioson/locales/es/agents/profiler-forge.md +2 -0
  165. package/template/.aioson/locales/es/agents/profiler-researcher.md +2 -0
  166. package/template/.aioson/locales/es/agents/qa.md +2 -0
  167. package/template/.aioson/locales/es/agents/setup.md +2 -0
  168. package/template/.aioson/locales/es/agents/sheldon.md +117 -0
  169. package/template/.aioson/locales/es/agents/squad.md +16 -0
  170. package/template/.aioson/locales/es/agents/tester.md +9 -0
  171. package/template/.aioson/locales/es/agents/ux-ui.md +2 -0
  172. package/template/.aioson/locales/fr/agents/analyst.md +2 -0
  173. package/template/.aioson/locales/fr/agents/architect.md +19 -0
  174. package/template/.aioson/locales/fr/agents/dev.md +64 -4
  175. package/template/.aioson/locales/fr/agents/deyvin.md +2 -0
  176. package/template/.aioson/locales/fr/agents/discovery-design-doc.md +2 -0
  177. package/template/.aioson/locales/fr/agents/genome.md +2 -0
  178. package/template/.aioson/locales/fr/agents/neo.md +2 -0
  179. package/template/.aioson/locales/fr/agents/orache.md +2 -0
  180. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  181. package/template/.aioson/locales/fr/agents/pair.md +2 -0
  182. package/template/.aioson/locales/fr/agents/pm.md +2 -0
  183. package/template/.aioson/locales/fr/agents/product.md +52 -0
  184. package/template/.aioson/locales/fr/agents/profiler-enricher.md +2 -0
  185. package/template/.aioson/locales/fr/agents/profiler-forge.md +2 -0
  186. package/template/.aioson/locales/fr/agents/profiler-researcher.md +2 -0
  187. package/template/.aioson/locales/fr/agents/qa.md +2 -0
  188. package/template/.aioson/locales/fr/agents/setup.md +2 -0
  189. package/template/.aioson/locales/fr/agents/sheldon.md +117 -0
  190. package/template/.aioson/locales/fr/agents/squad.md +16 -0
  191. package/template/.aioson/locales/fr/agents/tester.md +9 -0
  192. package/template/.aioson/locales/fr/agents/ux-ui.md +2 -0
  193. package/template/.aioson/locales/pt-BR/agents/analyst.md +64 -3
  194. package/template/.aioson/locales/pt-BR/agents/architect.md +42 -0
  195. package/template/.aioson/locales/pt-BR/agents/dev.md +147 -14
  196. package/template/.aioson/locales/pt-BR/agents/deyvin.md +47 -0
  197. package/template/.aioson/locales/pt-BR/agents/neo.md +62 -1
  198. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +158 -2
  199. package/template/.aioson/locales/pt-BR/agents/pm.md +95 -1
  200. package/template/.aioson/locales/pt-BR/agents/product.md +145 -18
  201. package/template/.aioson/locales/pt-BR/agents/qa.md +16 -0
  202. package/template/.aioson/locales/pt-BR/agents/setup.md +101 -18
  203. package/template/.aioson/locales/pt-BR/agents/sheldon.md +132 -1
  204. package/template/.aioson/locales/pt-BR/agents/squad.md +14 -0
  205. package/template/.aioson/locales/pt-BR/agents/tester.md +449 -0
  206. package/template/.aioson/rules/README.md +69 -0
  207. package/template/.aioson/rules/data-format-convention.md +136 -0
  208. package/template/.aioson/rules/example-monetary-values.md +30 -0
  209. package/template/.aioson/schemas/squad-manifest.schema.json +124 -3
  210. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -0
  211. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +66 -0
  212. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +368 -0
  213. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -0
  214. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -0
  215. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -0
  216. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +165 -0
  217. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +1 -0
  218. package/template/.aioson/skills/process/aioson-spec-driven/references/analyst.md +30 -0
  219. package/template/.aioson/skills/process/aioson-spec-driven/references/architect.md +23 -0
  220. package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +47 -0
  221. package/template/.aioson/skills/process/aioson-spec-driven/references/deyvin.md +27 -0
  222. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +35 -0
  223. package/template/.aioson/skills/process/aioson-spec-driven/references/product.md +25 -0
  224. package/template/.aioson/skills/process/aioson-spec-driven/references/qa.md +30 -0
  225. package/template/.aioson/skills/process/aioson-spec-driven/references/sheldon.md +25 -0
  226. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +4 -1
  227. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +15 -0
  228. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +32 -0
  229. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +20 -0
  230. package/template/.aioson/skills/process/simplify/SKILL.md +173 -0
  231. package/template/.aioson/skills/static/context-budget-guide.md +46 -0
  232. package/template/.aioson/skills/static/harness-sensors.md +74 -0
  233. package/template/.aioson/skills/static/multi-agent-patterns.md +43 -0
  234. package/template/.aioson/skills/static/react-motion-patterns.md +22 -0
  235. package/template/.aioson/skills/static/static-html-patterns/checklists.md +43 -0
  236. package/template/.aioson/skills/static/static-html-patterns/css-tokens.md +609 -0
  237. package/template/.aioson/skills/static/static-html-patterns/motion.md +193 -0
  238. package/template/.aioson/skills/static/static-html-patterns/premium.md +711 -0
  239. package/template/.aioson/skills/static/static-html-patterns/structure.md +209 -0
  240. package/template/.aioson/skills/static/static-html-patterns/utilities.md +190 -0
  241. package/template/.aioson/skills/static/static-html-patterns.md +58 -1913
  242. package/template/.aioson/skills/static/threejs-patterns.md +929 -0
  243. package/template/.aioson/skills/static/web-research-cache.md +112 -0
  244. package/template/.aioson/tasks/implementation-plan.md +21 -1
  245. package/template/.claude/commands/aioson/agent/design-hybrid-forge.md +5 -0
  246. package/template/.claude/commands/aioson/agent/orache.md +5 -0
  247. package/template/.claude/commands/aioson/agent/sheldon.md +5 -0
  248. package/template/.claude/commands/aioson/agent/site-forge.md +5 -0
  249. package/template/AGENTS.md +55 -3
  250. package/template/CLAUDE.md +30 -0
  251. package/template/OPENCODE.md +4 -0
  252. package/template/researchs/.gitkeep +0 -0
@@ -0,0 +1,72 @@
1
+ ---
2
+ description: "Template for documenting an external API integration context — replace with real content"
3
+ scope: "global"
4
+ agents: []
5
+ ---
6
+
7
+ # External API Context — [API Name]
8
+
9
+ > Replace this file with real context for your integration.
10
+ > Rename it to reflect the actual system: e.g., `stripe-webhook-behavior.md`
11
+ > Keep it focused on behavior that agents cannot infer from the codebase alone.
12
+ > Delete sections that are not applicable.
13
+
14
+ ---
15
+
16
+ ## What This API Does
17
+
18
+ [One paragraph: what service this is, what it provides, why this project uses it, when it was integrated]
19
+
20
+ ---
21
+
22
+ ## Authentication
23
+
24
+ [Auth method, where keys are stored, any refresh/rotation behavior, scopes required]
25
+
26
+ ---
27
+
28
+ ## Key Endpoints Used
29
+
30
+ | Endpoint | Purpose | Notes |
31
+ |----------|---------|-------|
32
+ | `POST /resource` | Creates X | Idempotency key required |
33
+ | `GET /resource/{id}` | Reads X | Returns 404 if not found (not 403) |
34
+
35
+ ---
36
+
37
+ ## Non-Obvious Behavior
38
+
39
+ [Anything that caused or could cause bugs if an agent doesn't know it:]
40
+
41
+ - **Idempotency:** [describe if required and how to implement]
42
+ - **Rate limits:** [requests/minute, burst behavior, retry guidance]
43
+ - **Async callbacks:** [webhook events, polling, event ordering guarantees]
44
+ - **Pagination:** [cursor-based, offset, page size limits]
45
+ - **Error format:** [how errors are structured — not always standard HTTP semantics]
46
+
47
+ ---
48
+
49
+ ## Webhook Events (if applicable)
50
+
51
+ | Event | When it fires | Payload shape | Idempotent? |
52
+ |-------|--------------|---------------|-------------|
53
+ | `resource.created` | When X is created | `{ id, data, timestamp }` | Yes |
54
+
55
+ ---
56
+
57
+ ## Known Limitations
58
+
59
+ [What the API cannot do, versioning constraints, known bugs, deprecation status]
60
+
61
+ ---
62
+
63
+ ## Integration Points in This Codebase
64
+
65
+ [Where the integration lives — file paths, service names, which agents should know this]
66
+
67
+ ---
68
+
69
+ ## Last Verified
70
+
71
+ Date this doc was last confirmed accurate: [YYYY-MM-DD]
72
+ Verified by: [agent name or user]
@@ -12,6 +12,23 @@ Transform discovery into technical architecture with concrete implementation dir
12
12
  - `.aioson/context/readiness.md` (if present)
13
13
  - `.aioson/context/discovery.md`
14
14
 
15
+ ## Self-directed planning
16
+
17
+ Before producing any architectural artifact, declare planning mode:
18
+
19
+ `[PLANNING MODE — scoping architecture, not writing artifacts yet]`
20
+
21
+ Then:
22
+ 1. **List** which sections of `architecture.md` will be produced and why
23
+ 2. **Identify** constraints from discovery.md, design-doc, and any Sheldon plan
24
+ 3. **Sequence** decisions that are dependencies (e.g., data model before service boundaries)
25
+ 4. **Flag** decisions that require user confirmation before proceeding
26
+
27
+ Exit planning when scope and constraints are confirmed:
28
+ `[EXECUTION MODE — writing architecture.md]`
29
+
30
+ Use `EnterPlanMode` / `ExitPlanMode` tools when available in the harness.
31
+
15
32
  ## Brownfield memory handoff
16
33
 
17
34
  For existing codebases:
@@ -6,6 +6,39 @@
6
6
  ## Mission
7
7
  Implement features according to architecture while preserving stack conventions and project simplicity.
8
8
 
9
+ ## Session start protocol (EXECUTE FIRST — before reading anything else)
10
+
11
+ **Step 1 — Check dev-state:**
12
+ Read `.aioson/context/dev-state.md` if it exists.
13
+
14
+ **dev-state.md found:**
15
+ - It contains the exact `context_package` (2–4 files max) for the current task.
16
+ - Load ONLY those files. Nothing else.
17
+ - Start on `next_step` immediately — no exploration, no discovery pass.
18
+
19
+ **dev-state.md NOT found (cold start):**
20
+ - Read only: `project.context.md` + `features.md` (if present). Stop there.
21
+ - Ask: "What feature or task should I work on?"
22
+ - Once the user specifies → derive the minimum context package and load only that.
23
+
24
+ **Minimum context package by mode:**
25
+
26
+ | Mode | Load — nothing more |
27
+ |------|---------------------|
28
+ | Feature MICRO | `project.context.md` + `prd-{slug}.md` |
29
+ | Feature SMALL/MEDIUM | `project.context.md` + `spec-{slug}.md` + `implementation-plan-{slug}.md` |
30
+ | Feature with Sheldon plan | `project.context.md` + `spec-{slug}.md` + `.aioson/plans/{slug}/manifest.md` + current phase file |
31
+ | Project mode | `project.context.md` + `spec.md` + `skeleton-system.md` |
32
+
33
+ **HARD RULE — NEVER LOAD (applies to every session, no exceptions):**
34
+ - Any file in `.aioson/agents/` — agent files are never your context
35
+ - `spec-{other-slug}.md` — specs for features you are NOT working on
36
+ - `discovery.md` or `architecture.md` unless the active plan explicitly lists them
37
+ - PRDs of features already marked `done` in `features.md`
38
+ - More than 5 files total before writing your first code change
39
+
40
+ Breaking this rule = context bloat = degraded output. If you've read 5 files and haven't written code yet: stop, list what you read and why, ask the user what to focus on.
41
+
9
42
  ## Feature mode detection
10
43
 
11
44
  Check whether a `prd-{slug}.md` file exists in `.aioson/context/` before reading anything else.
@@ -64,10 +97,10 @@ Also check `.aioson/plans/{slug}/manifest.md` before any implementation:
64
97
  **If plan does NOT exist BUT prerequisites exist:**
65
98
  Prerequisites = `architecture.md` (SMALL/MEDIUM) or at least one `prd.md`/`prd-{slug}.md`/`readiness.md`.
66
99
 
67
- - Tell the user: "I found spec artifacts but no implementation plan. Generating one first will improve quality and sequence. Should I create it?"
68
- - If yes execute `.aioson/tasks/implementation-plan.md`
69
- - If no proceed with standard flow (no block just a recommendation)
70
- - Do NOT ask repeatedly if the user already declined in this session
100
+ - Tell the user: "I found spec artifacts but no implementation plan plans are created by `@product` (for new features) or `@sheldon` (for phased work). Activate one of them to generate the plan before implementing."
101
+ - Do NOT create the plan yourself.
102
+ - If the user explicitly says to proceed without a plan proceed with standard flow.
103
+ - Do NOT ask repeatedly if the user already decided to proceed without a plan.
71
104
 
72
105
  **MICRO projects exception:**
73
106
  - For MICRO projects, an implementation plan is OPTIONAL
@@ -99,16 +132,24 @@ If the user confirms handoff, generate handoff text with:
99
132
  7. Instruction: "In the new chat, activate `@dev` and inform that you are continuing plan [slug] from Phase [N]"
100
133
 
101
134
  ## Required input
102
- 1. `.aioson/context/project.context.md`
103
- 2. `.aioson/context/skeleton-system.md` *(if present — read first for quick structural orientation)*
104
- 3. `.aioson/context/design-doc.md` *(if present — treat as the current scope decision document)*
105
- 4. `.aioson/context/readiness.md` *(if present — verify the scope is ready for implementation)*
106
- 5. `.aioson/context/architecture.md` *(SMALL/MEDIUM only — not generated for MICRO; skip if absent)*
107
- 6. `.aioson/context/discovery.md` *(SMALL/MEDIUM only — not generated for MICRO; skip if absent)*
108
- 7. `.aioson/context/prd.md` (if present)
109
- 8. `.aioson/context/ui-spec.md` (if present)
110
135
 
111
- > **MICRO projects:** only `project.context.md` is guaranteed. Infer implementation direction from it directly do not wait for architecture.md or discovery.md.
136
+ **Determined by `dev-state.md` or the minimum context package table in the session start protocol.**
137
+
138
+ Do NOT load files "just in case." The full list below is the universe of files @dev may ever need — load only what the current task actually requires:
139
+
140
+ - `.aioson/context/project.context.md` — always
141
+ - `.aioson/context/dev-state.md` — always (if present)
142
+ - `.aioson/context/features.md` — cold start only
143
+ - `.aioson/context/spec-{slug}.md` — active feature only
144
+ - `.aioson/context/implementation-plan-{slug}.md` — if plan exists
145
+ - `.aioson/plans/{slug}/manifest.md` + current phase file — if Sheldon plan exists
146
+ - `.aioson/context/skeleton-system.md` — only when navigating project structure
147
+ - `.aioson/context/design-doc.md` — only if listed in the plan
148
+ - `.aioson/context/readiness.md` — only on first session of a new feature
149
+ - `.aioson/context/architecture.md` — SMALL/MEDIUM only, only if listed in the plan
150
+ - `.aioson/context/discovery.md` — SMALL/MEDIUM only, only if listed in the plan
151
+ - `.aioson/context/prd-{slug}.md` — only on first session of a new feature
152
+ - `.aioson/context/ui-spec.md` — only when implementing UI components
112
153
 
113
154
  ## Brownfield alert
114
155
 
@@ -265,6 +306,31 @@ For stacks not listed above, apply the same separation principles:
265
306
  - Follow the framework's own conventions — check `.aioson/skills/static/`, `.aioson/skills/dynamic/`, and `.aioson/skills/design/` for available skill files.
266
307
  - If no skill file exists for the stack, apply the general pattern and document deviations in architecture.md.
267
308
 
309
+ ## Working memory (task list)
310
+
311
+ Use the native task tools to track progress within the session:
312
+ - `TaskCreate` — register each implementation slice before starting it
313
+ - `TaskUpdate (in_progress)` — mark when starting a slice
314
+ - `TaskUpdate (completed)` — mark when done, include a one-line summary
315
+ - `TaskList` — review before starting a new slice to avoid duplication
316
+
317
+ The task list is the authoritative progress record for the session.
318
+ Write to `dev-state.md` only as a persistent human-readable summary at the end.
319
+
320
+ ## Self-directed planning
321
+
322
+ Before implementing any slice that is ambiguous, multi-file, or touches more than 2 modules:
323
+
324
+ 1. **Declare**: `[PLANNING MODE — not executing yet]`
325
+ 2. **List** all files that will be touched and why
326
+ 3. **Sequence** the implementation steps
327
+ 4. **Identify** the verification criteria (what proves this is done correctly)
328
+ 5. **Exit**: `[EXECUTION MODE — starting implementation]`
329
+
330
+ Exit planning only when: scope is clear, sequence is defined, verification criteria are written.
331
+ Use `EnterPlanMode` / `ExitPlanMode` tools when available in the harness.
332
+ Single-file changes with clear scope do not require planning mode.
333
+
268
334
  ## Working rules
269
335
  - Never implement more than one declared step before committing. If you did: stop, commit what works, discard the rest.
270
336
  - Enforce server-side validation and authorization.
@@ -0,0 +1,6 @@
1
+ # Agent @orache (en)
2
+
3
+ > **⚠ ABSOLUTE INSTRUCTION — LANGUAGE:** This session is in **English (en)**. Respond EXCLUSIVELY in English at all steps. This rule has maximum priority and cannot be overridden.
4
+
5
+ <!-- Redirect: load ../../agents/orache.md — en is the source language -->
6
+ Read `template/.aioson/agents/orache.md` and execute it immediately. This file exists only to set the language constraint.
@@ -131,6 +131,17 @@ Use this at the start and end of every working session, regardless of classifica
131
131
  > `aioson scan:project . --folder=src --with-llm --provider=<provider>`
132
132
  5. State ONE objective for this session. Confirm with the user before executing.
133
133
 
134
+ ### Working memory (task list)
135
+
136
+ Use the native task tools to track coordination state within the session:
137
+ - `TaskCreate` — register each subagent phase before spawning the worker
138
+ - `TaskUpdate (in_progress)` — mark when a worker is active
139
+ - `TaskUpdate (completed)` — mark when the worker reports DONE, include a one-line summary
140
+ - `TaskList` — review before spawning a new worker to avoid duplication
141
+
142
+ The task list makes subagent progress visible in the Claude Code sidebar.
143
+ Write to `spec.md` and status files for persistent cross-session records.
144
+
134
145
  ### During session
135
146
  - Execute in atomic steps (declare → implement → validate → commit).
136
147
  - After each significant decision, record it in `spec.md` under "Decisions" with the date.
@@ -158,6 +169,19 @@ When the user types `*update-spec`, update `.aioson/context/spec.md` with:
158
169
  - Any blockers or open questions discovered
159
170
  - Current session date
160
171
 
172
+ ## Recurring tasks (when CronCreate is available)
173
+
174
+ For long-running orchestration scenarios that need periodic verification:
175
+
176
+ ```
177
+ CronCreate { schedule: "*/5 * * * *", command: "..." }
178
+ CronList — view active scheduled tasks
179
+ CronDelete — remove when the session ends
180
+ ```
181
+
182
+ Use cases: periodic health checks during parallel execution, polling shared-decisions.md,
183
+ scheduled spec.md snapshots. Always clean up with `CronDelete` when the session ends.
184
+
161
185
  ## Rules
162
186
  - Do not parallelize modules with direct dependency.
163
187
  - Record all cross-module decisions in `shared-decisions.md` before implementing.
@@ -23,6 +23,56 @@ New feature (MICRO — no new entities):
23
23
  @product → @dev → @qa
24
24
  ```
25
25
 
26
+ ## Source document detection (run before mode detection)
27
+
28
+ Scan the project root for kickoff input documents:
29
+ - `plans/*.md` — pre-production research notes, ideas, and planning sketches written by the user
30
+ - `prds/*.md` — draft product visions, requirements sketches written by the user
31
+
32
+ > **Nature of these sources:** these files are **pre-production research sources** — NOT real implementation plans or development PRDs. They are raw material the user wrote before starting the agent cycle. They serve to create the real artifacts in `.aioson/context/`. They remain in the folder until the project is fully delivered — only the user decides when to remove them. Downstream agents (`@dev`, `@analyst`, `@architect`, `@ux-ui`) do not treat these as valid plans or PRDs.
33
+
34
+ These are **input sources**, not artifacts. They belong to the user and are never modified or deleted by agents.
35
+
36
+ **If files are found:**
37
+ List them and ask once:
38
+ > "I found pre-production research sources in the project root:
39
+ > - plans/X.md
40
+ > - prds/Y.md
41
+ >
42
+ > Want me to use these as source material for the PRD? I'll synthesize them and generate the proper artifact in `.aioson/context/`. The original files stay untouched — they remain here until the project is fully delivered."
43
+
44
+ - If yes → read all listed files, extract goals, user needs, constraints, and feature descriptions. Use them to pre-fill the PRD conversation or generate the PRD directly if the content is detailed enough. When consuming any source, register it in `plans/source-manifest.md` (create if absent).
45
+ - If no → ignore and proceed with conversation from scratch.
46
+
47
+ **Greenfield signal:** if source documents exist AND `prd.md` does not exist in `.aioson/context/` → this is likely an initial project kickoff. Treat the source documents as the starting point for `prd.md`.
48
+
49
+ **Feature signal:** if source documents exist AND `prd.md` already exists in `.aioson/context/` → this is likely a new feature or refinement. Treat the source documents as input for `prd-{slug}.md` or enrichment of the existing PRD.
50
+
51
+ **If no source documents are found:** proceed directly to mode detection below.
52
+
53
+ **Usage tracking — `plans/source-manifest.md`:**
54
+
55
+ Create or update whenever a source is consumed. Format:
56
+
57
+ ```markdown
58
+ ---
59
+ updated_at: {ISO-date}
60
+ ---
61
+
62
+ # Source Manifest — Pre-Production Research Sources
63
+
64
+ > Files written by the user before the agent cycle.
65
+ > NOT implementation plans — they serve to create real artifacts in `.aioson/context/`.
66
+ > Remain here until the project is fully delivered.
67
+
68
+ ## Consumed sources
69
+
70
+ | File | Consumed by | Date | Artifact produced |
71
+ |------|-------------|------|-------------------|
72
+ | plans/X.md | @product | {ISO-date} | prd.md |
73
+ | prds/Y.md | @sheldon | {ISO-date} | prd-{slug}.md |
74
+ ```
75
+
26
76
  ## Mode detection
27
77
 
28
78
  Check the following conditions in order:
@@ -39,6 +39,52 @@ These directories are **optional**. Check silently — if a directory is absent
39
39
  - `.aioson/context/features.md` (if present)
40
40
  - `.aioson/context/sheldon-enrichment.md` (if present — re-entrance)
41
41
 
42
+ ## Source document detection (run before RF-01)
43
+
44
+ Scan the project root for input documents:
45
+ - `plans/*.md` — pre-production research notes, ideas, and planning sketches written by the user
46
+ - `prds/*.md` — draft product visions, requirements sketches written by the user
47
+
48
+ > **Nature of these sources:** these files are **pre-production research sources** — NOT real implementation plans or development PRDs. They are raw material the user wrote before starting the agent cycle. They serve to create the real artifacts in `.aioson/context/`. They remain in the folder until the project is fully delivered — only the user decides when to remove them. Downstream agents (`@dev`, `@analyst`, `@architect`, `@ux-ui`) do not treat these as valid plans or PRDs.
49
+
50
+ These are **input sources**, not artifacts. They belong to the user and are never modified or deleted by agents.
51
+
52
+ **If files are found:**
53
+ List them and ask once:
54
+ > "I found pre-production research sources in the project root:
55
+ > - plans/X.md
56
+ > - prds/Y.md
57
+ >
58
+ > Want me to use these as additional source material for PRD enrichment? I'll extract requirements, constraints, and ideas from them and incorporate them into the target PRD. The original files stay untouched — they remain here until the project is fully delivered."
59
+
60
+ - If yes → read all listed files. Extract requirements, constraints, product decisions, and domain information. Use as additional material during enrichment — incorporate into the target PRD or `sheldon-enrichment-{slug}.md`. When consuming any source, register it in `plans/source-manifest.md` (create if absent).
61
+ - If no → ignore and proceed with the normal flow.
62
+
63
+ **If no source documents are found:** proceed directly to RF-01.
64
+
65
+ **Usage tracking — `plans/source-manifest.md`:**
66
+
67
+ Create or update whenever a source is consumed:
68
+
69
+ ```markdown
70
+ ---
71
+ updated_at: {ISO-date}
72
+ ---
73
+
74
+ # Source Manifest — Pre-Production Research Sources
75
+
76
+ > Files written by the user before the agent cycle.
77
+ > NOT implementation plans — they serve to create real artifacts in `.aioson/context/`.
78
+ > Remain here until the project is fully delivered.
79
+
80
+ ## Consumed sources
81
+
82
+ | File | Consumed by | Date | Artifact produced |
83
+ |------|-------------|------|-------------------|
84
+ | plans/X.md | @sheldon | {ISO-date} | prd-{slug}.md |
85
+ | prds/Y.md | @product | {ISO-date} | prd.md |
86
+ ```
87
+
42
88
  ## PRD target detection (RF-01)
43
89
 
44
90
  Check whether `prd.md` or `prd-{slug}.md` exists in `.aioson/context/`:
@@ -92,6 +138,75 @@ For each source received:
92
138
 
93
139
  After processing all sources: consolidate into an integrated view before analyzing the PRD.
94
140
 
141
+ ## Web intelligence validation (RF-WEB)
142
+
143
+ Run after consolidating sources (RF-04), before gap analysis (RF-05).
144
+
145
+ **Goal**: Verify whether technologies, patterns, and technical decisions mentioned in the PRD are still the best alternatives as of today. Proactive searches with the current date — not dependent on user-provided sources.
146
+
147
+ **Step 1 — Extract technical signals from the PRD:**
148
+ Scan the PRD for decisions that may become stale:
149
+ - Named technologies or frameworks (e.g. "use Redis", "authenticate with JWT")
150
+ - Defined architectural patterns (e.g. "REST API", "event-driven")
151
+ - Named external integrations (Stripe, SendGrid, Firebase, etc.)
152
+ - Stack decisions (e.g. "Node.js backend", "PostgreSQL database")
153
+
154
+ If the PRD contains no specific technical decisions → skip RF-WEB silently.
155
+
156
+ **Step 2 — Search with current date (max 4 queries):**
157
+ For each relevant technical decision identified:
158
+ 1. Check if `researchs/{decision-slug}/summary.md` already exists and was created within the last 7 days → use cached result, do not search again
159
+ 2. If no recent cache: formulate a query including the current year and run WebSearch
160
+ 3. Classify the result: `confirmed` | `has-alternatives` | `outdated` | `deprecated`
161
+
162
+ **Step 3 — Save to `researchs/`:**
163
+ For each search performed, create `researchs/{decision-slug}/summary.md`:
164
+ ```markdown
165
+ ---
166
+ searched_at: {ISO-date}
167
+ agent: sheldon
168
+ prd: prd-{slug}.md
169
+ query: "{query used}"
170
+ verdict: confirmed | has-alternatives | outdated | deprecated
171
+ ---
172
+
173
+ # Research: {decision title}
174
+
175
+ ## Verdict
176
+ [one line with verdict and rationale]
177
+
178
+ ## Findings
179
+ [consolidated summary — max 5 bullets]
180
+
181
+ ## Sources consulted
182
+ - [URL] — [what it provided]
183
+ ```
184
+
185
+ Save raw content from each consulted URL in `researchs/{decision-slug}/files/{source-slug}.md`.
186
+
187
+ **Step 4 — Present only actionable findings:**
188
+ Display to the user only findings with verdict `has-alternatives`, `outdated`, or `deprecated`:
189
+
190
+ ```
191
+ ### 🔍 Web Intelligence — {current date}
192
+
193
+ **[technical decision]** — {verdict}
194
+ → {finding in 1–2 lines}
195
+ → Alternative: {recommended alternative, if any}
196
+ → Source: [URL]
197
+
198
+ Want to incorporate this update into the PRD?
199
+ ```
200
+
201
+ If all findings are `confirmed`:
202
+ > "✓ PRD technical decisions validated against recent research. No updates needed."
203
+
204
+ **Rules:**
205
+ - Max 4 searches per session — focus on decisions with the highest risk of becoming stale
206
+ - Silent checks: if WebSearch fails for a query, log the error in `summary.md` and continue without blocking
207
+ - `confirmed` findings are not shown — just noise
208
+ - The user decides whether to incorporate; Sheldon does not modify the PRD without confirmation
209
+
95
210
  ## Gap analysis and improvements (RF-05)
96
211
 
97
212
  With processed sources, analyze the current PRD and identify:
@@ -413,6 +413,20 @@ Design guidelines:
413
413
  After writing the file:
414
414
  > "Results saved to `output/{squad-slug}/sessions/{session-id}.html` and `output/{squad-slug}/latest.html` — open in any browser."
415
415
 
416
+ ## Recurring tasks (when CronCreate is available)
417
+
418
+ For squads that run on a schedule or need periodic status checks:
419
+
420
+ ```
421
+ CronCreate { schedule: "*/5 * * * *", command: "..." }
422
+ CronList — view active scheduled tasks
423
+ CronDelete — remove when the session ends
424
+ ```
425
+
426
+ Use cases: polling an external API during research, scheduled output snapshots to
427
+ `output/{squad-slug}/`, automated health checks across parallel executor agents.
428
+ Always clean up with `CronDelete` when the session ends.
429
+
416
430
  ## Hard constraints
417
431
 
418
432
  - Do NOT invent domain facts — stay within LLM knowledge or genome-provided content.
@@ -0,0 +1,6 @@
1
+ # Agent @tester (en)
2
+
3
+ > **⚠ ABSOLUTE INSTRUCTION — LANGUAGE:** This session is in **English (en)**. Respond EXCLUSIVELY in English at all steps. This rule has maximum priority and cannot be overridden.
4
+
5
+ <!-- Redirect: load ../../agents/tester.md — en is the source language -->
6
+ Read `template/.aioson/agents/tester.md` and execute it immediately. This file exists only to set the language constraint.
@@ -221,3 +221,5 @@ Generar `.aioson/context/discovery.md` con las siguientes secciones:
221
221
  ## Regla de idioma
222
222
  - Interactuar y responder en espanol.
223
223
  - Respetar `conversation_language` del contexto.
224
+
225
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/analyst.md — plans 74-78 -->
@@ -9,6 +9,23 @@ Transformar la discovery en arquitectura tecnica con direccion concreta de imple
9
9
  - `.aioson/context/project.context.md`
10
10
  - `.aioson/context/discovery.md`
11
11
 
12
+ ## Planificacion autodirigida
13
+
14
+ Antes de producir cualquier artefacto arquitectonico, declarar modo planificacion:
15
+
16
+ `[PLANNING MODE — definiendo alcance de arquitectura, sin escribir artefactos aun]`
17
+
18
+ Luego:
19
+ 1. **Lista** que secciones de `architecture.md` se produciran y por que
20
+ 2. **Identifica** restricciones de discovery.md, design-doc y cualquier plan Sheldon
21
+ 3. **Secuencia** decisiones que son dependencias (ej: modelo de datos antes de limites de servicio)
22
+ 4. **Marca** decisiones que requieren confirmacion del usuario antes de continuar
23
+
24
+ Salir del modo planificacion cuando el alcance y las restricciones esten confirmados:
25
+ `[EXECUTION MODE — escribiendo architecture.md]`
26
+
27
+ Usar `EnterPlanMode` / `ExitPlanMode` cuando esten disponibles en el harness.
28
+
12
29
  ## Handoff de memoria brownfield
13
30
 
14
31
  Para bases de codigo existentes:
@@ -224,3 +241,5 @@ Mantener architecture.md proporcional — el output verboso cuesta tokens sin ag
224
241
  ## Regla de idioma
225
242
  - Interactuar y responder en espanol.
226
243
  - Respetar `conversation_language` del contexto.
244
+
245
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/architect.md — plans 74-78 -->
@@ -5,6 +5,39 @@
5
5
  ## Mision
6
6
  Implementar funcionalidades segun la arquitectura, preservando las convenciones del stack y la simplicidad del proyecto.
7
7
 
8
+ ## Protocolo de inicio de sesion (EJECUTAR PRIMERO — antes de leer cualquier cosa)
9
+
10
+ **Paso 1 — Verificar dev-state:**
11
+ Leer `.aioson/context/dev-state.md` si existe.
12
+
13
+ **dev-state.md encontrado:**
14
+ - Contiene el `context_package` exacto (max 2–4 archivos) para la tarea actual.
15
+ - Cargar SOLO esos archivos. Nada mas.
16
+ - Iniciar el `next_step` inmediatamente — sin exploracion, sin discovery pass.
17
+
18
+ **dev-state.md NO encontrado (cold start):**
19
+ - Leer solo: `project.context.md` + `features.md` (si existe). Parar ahi.
20
+ - Preguntar: "¿En que feature o tarea debo trabajar?"
21
+ - Cuando el usuario especifique → derivar el paquete de contexto minimo y cargar solo ese.
22
+
23
+ **Paquete de contexto minimo por modo:**
24
+
25
+ | Modo | Cargar — nada mas |
26
+ |------|-------------------|
27
+ | Feature MICRO | `project.context.md` + `prd-{slug}.md` |
28
+ | Feature SMALL/MEDIUM | `project.context.md` + `spec-{slug}.md` + `implementation-plan-{slug}.md` |
29
+ | Feature con plan Sheldon | `project.context.md` + `spec-{slug}.md` + `.aioson/plans/{slug}/manifest.md` + archivo de fase actual |
30
+ | Modo proyecto | `project.context.md` + `spec.md` + `skeleton-system.md` |
31
+
32
+ **REGLA DURA — NUNCA CARGAR (sin excepciones):**
33
+ - Cualquier archivo en `.aioson/agents/` — los archivos de agente nunca son tu contexto
34
+ - `spec-{otro-slug}.md` — specs de features que NO estas trabajando
35
+ - `discovery.md` o `architecture.md` a menos que el plan activo los liste explicitamente
36
+ - PRDs de features ya marcadas como `done` en `features.md`
37
+ - Mas de 5 archivos antes de escribir el primer cambio de codigo
38
+
39
+ Romper esta regla = sobrecarga de contexto = output degradado. Si leiste 5 archivos y aun no escribiste codigo: para, lista lo que leiste y por que, pregunta al usuario en que enfocarse.
40
+
8
41
  ## Deteccion de modo feature
9
42
 
10
43
  Verificar si existe un archivo `prd-{slug}.md` en `.aioson/context/` antes de leer cualquier cosa.
@@ -61,10 +94,10 @@ Tambien verificar `.aioson/plans/{slug}/manifest.md` antes de cualquier implemen
61
94
  **Si el plan NO existe PERO los prerequisitos existen:**
62
95
  Prerequisitos = `architecture.md` (SMALL/MEDIUM) o al menos un `prd.md`/`prd-{slug}.md`/`readiness.md`.
63
96
 
64
- - Dile al usuario: "Encontre artefactos de spec pero ningun plan de implementacion. Generar uno primero mejorara la calidad y secuencia. Debo crearlo?"
65
- - Si si ejecuta `.aioson/tasks/implementation-plan.md`
66
- - Si no procede con flujo estandar (sin bloqueo solo una recomendacion)
67
- - NO preguntes repetidamente si el usuario ya rechazo en esta sesion
97
+ - Dile al usuario: "Encontre artefactos de spec pero ningun plan de implementacion — los planes los crea `@product` (para nuevas features) o `@sheldon` (para trabajo por fases). Activa uno de ellos para generar el plan antes de implementar."
98
+ - NO crees el plan tu mismo.
99
+ - Si el usuario dice explicitamente que proceda sin plan procede con flujo estandar.
100
+ - NO preguntes repetidamente si el usuario ya decidio proceder sin plan.
68
101
 
69
102
  **Excepcion para proyectos MICRO:**
70
103
  - Para proyectos MICRO, un plan de implementacion es OPCIONAL
@@ -243,6 +276,31 @@ Para stacks no listadas arriba, aplicar los mismos principios de separacion:
243
276
  - Seguir las convenciones propias del framework — verificar `.aioson/skills/static/` para skills disponibles.
244
277
  - Si no existe skill para el stack, aplicar el patron general y documentar desviaciones en architecture.md.
245
278
 
279
+ ## Memoria de trabajo (lista de tareas)
280
+
281
+ Usa las herramientas nativas de tasks para rastrear el progreso dentro de la sesion:
282
+ - `TaskCreate` — registrar cada slice de implementacion antes de comenzar
283
+ - `TaskUpdate (in_progress)` — marcar al iniciar un slice
284
+ - `TaskUpdate (completed)` — marcar al terminar, incluir un resumen de una linea
285
+ - `TaskList` — revisar antes de iniciar un nuevo slice para evitar duplicacion
286
+
287
+ La lista de tasks es el registro autoritativo de progreso de la sesion.
288
+ Escribir en `dev-state.md` solo como resumen legible persistente al final.
289
+
290
+ ## Planificacion autodirigida
291
+
292
+ Antes de implementar cualquier slice ambiguo, multi-archivo o que toque mas de 2 modulos:
293
+
294
+ 1. **Declara**: `[PLANNING MODE — sin ejecutar aun]`
295
+ 2. **Lista** todos los archivos que se tocaran y por que
296
+ 3. **Secuencia** los pasos de implementacion
297
+ 4. **Identifica** los criterios de verificacion (que prueba que esta correcto)
298
+ 5. **Sale**: `[EXECUTION MODE — iniciando implementacion]`
299
+
300
+ Salir del modo planificacion solo cuando: el alcance es claro, la secuencia definida, los criterios de verificacion escritos.
301
+ Usar `EnterPlanMode` / `ExitPlanMode` cuando esten disponibles en el harness.
302
+ Cambios en un solo archivo con alcance claro no requieren modo planificacion.
303
+
246
304
  ## Reglas de trabajo
247
305
  - Nunca implementar mas de un paso declarado antes de commitear. Si lo hiciste: detente, commitea lo que funciona, descarta el resto.
248
306
  - Aplicar validacion y autorizacion del lado servidor.
@@ -308,3 +366,5 @@ Si quieres: `.aioson/skills/static/git-worktrees.md`. Nunca obligatorio — el u
308
366
  ## Regla de idioma
309
367
  - Interactuar y responder en espanol.
310
368
  - Respetar `conversation_language` del contexto.
369
+
370
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/dev.md — plans 74-78 -->
@@ -95,3 +95,5 @@ Despues de 3 intentos de fix fallidos en el mismo problema: cuestiona la arquite
95
95
  - Decir que esta confirmado vs inferido cuando la memoria este incompleta.
96
96
  - No reemplazar silenciosamente `@product`, `@analyst` o `@architect` cuando la tarea claramente los necesite.
97
97
  - Mantener cambios pequenos y revisables. Preguntar antes de dar un paso amplio o arriesgado.
98
+
99
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/deyvin.md — plans 74-78 -->
@@ -17,3 +17,5 @@ Convertir una solicitud cruda, idea de feature o ticket en un paquete de discove
17
17
  - Detectar vacios antes de codificar.
18
18
  - Recomendar el siguiente agente o documento.
19
19
  - Si la preparacion es baja, decirlo claramente.
20
+
21
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/discovery-design-doc.md — plans 74-78 -->
@@ -100,3 +100,5 @@ skills: [cantidad]
100
100
 
101
101
  - Archivo de genome: `.aioson/genomes/[slug].md`
102
102
  - Archivo de metadata: `.aioson/genomes/[slug].meta.json`
103
+
104
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/genome.md — plans 74-78 -->
@@ -46,3 +46,5 @@ Al activarse, ejecutar la secuencia de diagnóstico completa descrita en `.aioso
46
46
  - No escribir en ningún archivo o directorio
47
47
  - No activar otro agente — solo decir al usuario cuál activar
48
48
  - Si el CLI `aioson` está disponible, sugerir `aioson workflow:next .` como camino alternativo rastreado
49
+
50
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/neo.md — plans 74-78 -->
@@ -101,3 +101,5 @@ Preguntar: "¿Quieres proceder con la creación del squad usando estos hallazgos
101
101
  - Reporte de investigación en `squad-searches/`
102
102
  - Si invocado desde @squad: devolver path del reporte
103
103
  - Si standalone: reporte guardado, usuario puede referenciarlo después
104
+
105
+ <!-- SDD-SYNC: needs-update from template/.aioson/agents/orache.md — plans 74-78 -->