agent-manifesto-kit 0.0.0-development → 1.1.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 (69) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +159 -95
  3. package/collection/NOTICE.md +36 -36
  4. package/collection/agents/code-reviewer.md +103 -103
  5. package/collection/agents/docs-manager.md +127 -127
  6. package/collection/bundles/kit-adopt/README.md +36 -36
  7. package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -43
  8. package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -52
  9. package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -72
  10. package/collection/bundles/qa-automation/README.md +48 -0
  11. package/collection/bundles/qa-automation/RECOMMENDS.md +19 -0
  12. package/collection/bundles/qa-automation/agents/qa-explorer.md +55 -0
  13. package/collection/bundles/qa-automation/agents/qa-test-reviewer.md +71 -0
  14. package/collection/bundles/qa-automation/conventions/qa-verification.md +50 -0
  15. package/collection/bundles/qa-automation/pipelines/qa-test-debug.md +66 -0
  16. package/collection/bundles/qa-automation/pipelines/qa-test-from-spec.md +65 -0
  17. package/collection/bundles/qa-automation/skills/qa-playwright-cli/SKILL.md +83 -0
  18. package/collection/bundles/qa-automation/skills/qa-test-debugger/SKILL.md +60 -0
  19. package/collection/bundles/qa-automation/skills/qa-test-writer/SKILL.md +60 -0
  20. package/collection/bundles/sdd/README.md +50 -50
  21. package/collection/bundles/sdd/RECOMMENDS.md +21 -21
  22. package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -79
  23. package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -75
  24. package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -136
  25. package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -60
  26. package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -60
  27. package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -69
  28. package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -71
  29. package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -61
  30. package/collection/bundles/sdd/templates/docs/INDEX.md +35 -35
  31. package/collection/bundles/sdd/templates/docs/api.md +23 -23
  32. package/collection/bundles/sdd/templates/docs/architecture.md +42 -42
  33. package/collection/bundles/sdd/templates/docs/db.md +22 -22
  34. package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -24
  35. package/collection/bundles/sdd/templates/docs/design.md +43 -43
  36. package/collection/bundles/sdd/templates/docs/idea.md +46 -46
  37. package/collection/bundles/sdd/templates/docs/operations.md +28 -28
  38. package/collection/bundles/sdd/templates/docs/roadmap.md +26 -26
  39. package/collection/bundles/sdd/templates/docs/security.md +24 -24
  40. package/collection/bundles/sdd/templates/docs/testing.md +34 -34
  41. package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -38
  42. package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -26
  43. package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -11
  44. package/collection/skills/brainstorm/SKILL.md +46 -46
  45. package/collection/skills/business-analyst/SKILL.md +58 -58
  46. package/collection/skills/documentation-maintenance/SKILL.md +60 -60
  47. package/collection/skills/explain-code/SKILL.md +81 -81
  48. package/collection/skills/frontend-audit/SKILL.md +135 -135
  49. package/collection/skills/frontend-impeccable-design/SKILL.md +135 -135
  50. package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -118
  51. package/collection/skills/implement-feature/SKILL.md +99 -99
  52. package/collection/skills/memory-management/SKILL.md +75 -75
  53. package/collection/skills/meta-tags-optimizer/SKILL.md +73 -73
  54. package/collection/skills/pencil-design/SKILL.md +83 -83
  55. package/collection/skills/playwright-cli/SKILL.md +104 -104
  56. package/collection/skills/prepare-release-notes/SKILL.md +109 -109
  57. package/collection/skills/refactor-code/SKILL.md +104 -104
  58. package/collection/skills/review-code/SKILL.md +98 -98
  59. package/collection/skills/schema-markup-generator/SKILL.md +80 -80
  60. package/collection/skills/task-complete/SKILL.md +79 -79
  61. package/collection/skills/task-discovery/SKILL.md +69 -69
  62. package/collection/skills/task-validation/SKILL.md +71 -71
  63. package/collection/skills/test-review/SKILL.md +72 -72
  64. package/collection/skills/test-writer/SKILL.md +78 -78
  65. package/collection/skills/work-with-git/SKILL.md +154 -154
  66. package/dist/cli.js +31 -22
  67. package/dist/commands/adopt.js +240 -40
  68. package/dist/providers.js +3 -6
  69. package/package.json +48 -49
@@ -1,58 +1,58 @@
1
- ---
2
- name: business-analyst
3
- description: Analyzes a task through a business lens during discovery to clarify requirements, acceptance criteria, and business rules before implementation begins.
4
- ---
5
-
6
- ## Scope
7
-
8
- - Examine the business intent behind a task during discovery. Ensure requirements are clear, measurable, and agreed upon before any code is written.
9
- - Use when business intent, acceptance criteria, affected flows, or requirements alignment are unclear enough to affect implementation.
10
-
11
- ## Safety Constraints
12
-
13
- - Do not invent stakeholder priorities, business rules, regulatory requirements, or acceptance criteria.
14
- - Mark inferred requirements as assumptions unless they are directly supported by user input or repository evidence.
15
- - Do not resolve conflicting business requirements without user input.
16
-
17
- ## Stop Conditions
18
-
19
- Stop and mark the analysis blocked when:
20
- - The business goal cannot be identified from available context.
21
- - Acceptance criteria cannot be made verifiable.
22
- - Requirements conflict.
23
- - A decision would require choosing between stakeholder priorities not stated by the user.
24
-
25
- ## Procedure
26
-
27
- 1. Identify the underlying problem and its beneficiaries.
28
- 2. Define measurable acceptance criteria that confirm completion.
29
- 3. Map which user flows or system processes are impacted.
30
- 4. Flag any gaps or conflicting requirements. When two stated requirements directly contradict each other, list both explicitly and block — do not attempt to resolve or prioritize them without user input.
31
- 5. Report findings and block implementation if open questions are unresolved.
32
-
33
- ## Verification
34
-
35
- Before emitting the final analysis, verify:
36
- - Each acceptance criterion is observable or testable.
37
- - Each affected flow is specific enough to guide implementation.
38
- - Open questions contain only unresolved gaps that affect scope, correctness, or acceptance.
39
-
40
- ## Output Contract
41
-
42
- Emit:
43
-
44
- `Skill: business-analysis - output below`
45
-
46
- Then include:
47
-
48
- | Field | Content |
49
- | --- | --- |
50
- | Status | `completed`, `blocked`, or `skipped` |
51
- | Scope | Task, feature, flow, or decision analyzed |
52
- | Goal | Business outcome sought |
53
- | Acceptance criteria | Verifiable completion conditions |
54
- | Affected flows | Impacted processes |
55
- | Assumptions | Inferences used, or `none` |
56
- | Open questions | Clarifications needed before work begins |
57
-
58
- If `Open questions` is not `none`, `Status` must be `blocked`. Do not proceed to implementation when open questions remain unresolved.
1
+ ---
2
+ name: business-analyst
3
+ description: Analyzes a task through a business lens during discovery to clarify requirements, acceptance criteria, and business rules before implementation begins.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Examine the business intent behind a task during discovery. Ensure requirements are clear, measurable, and agreed upon before any code is written.
9
+ - Use when business intent, acceptance criteria, affected flows, or requirements alignment are unclear enough to affect implementation.
10
+
11
+ ## Safety Constraints
12
+
13
+ - Do not invent stakeholder priorities, business rules, regulatory requirements, or acceptance criteria.
14
+ - Mark inferred requirements as assumptions unless they are directly supported by user input or repository evidence.
15
+ - Do not resolve conflicting business requirements without user input.
16
+
17
+ ## Stop Conditions
18
+
19
+ Stop and mark the analysis blocked when:
20
+ - The business goal cannot be identified from available context.
21
+ - Acceptance criteria cannot be made verifiable.
22
+ - Requirements conflict.
23
+ - A decision would require choosing between stakeholder priorities not stated by the user.
24
+
25
+ ## Procedure
26
+
27
+ 1. Identify the underlying problem and its beneficiaries.
28
+ 2. Define measurable acceptance criteria that confirm completion.
29
+ 3. Map which user flows or system processes are impacted.
30
+ 4. Flag any gaps or conflicting requirements. When two stated requirements directly contradict each other, list both explicitly and block — do not attempt to resolve or prioritize them without user input.
31
+ 5. Report findings and block implementation if open questions are unresolved.
32
+
33
+ ## Verification
34
+
35
+ Before emitting the final analysis, verify:
36
+ - Each acceptance criterion is observable or testable.
37
+ - Each affected flow is specific enough to guide implementation.
38
+ - Open questions contain only unresolved gaps that affect scope, correctness, or acceptance.
39
+
40
+ ## Output Contract
41
+
42
+ Emit:
43
+
44
+ `Skill: business-analysis - output below`
45
+
46
+ Then include:
47
+
48
+ | Field | Content |
49
+ | --- | --- |
50
+ | Status | `completed`, `blocked`, or `skipped` |
51
+ | Scope | Task, feature, flow, or decision analyzed |
52
+ | Goal | Business outcome sought |
53
+ | Acceptance criteria | Verifiable completion conditions |
54
+ | Affected flows | Impacted processes |
55
+ | Assumptions | Inferences used, or `none` |
56
+ | Open questions | Clarifications needed before work begins |
57
+
58
+ If `Open questions` is not `none`, `Status` must be `blocked`. Do not proceed to implementation when open questions remain unresolved.
@@ -1,60 +1,60 @@
1
- ---
2
- name: documentation-maintenance
3
- description: Checks whether completed changes require documentation updates and applies narrow, accurate updates when safe. Use after non-trivial implementation or refactoring.
4
- ---
5
-
6
- ## Scope
7
-
8
- - Keep project documentation synchronized with completed changes.
9
- - Run after non-trivial work that changes: project behavior visible to users or developers; public interfaces, APIs, or key abstractions; commands documented in README or guides; architecture, layer responsibilities, or domain facts; documented workflows or capability contracts; established conventions or project structure.
10
-
11
- ## Safety Constraints
12
-
13
- - Update, do not rewrite surrounding content.
14
- - Do not add new doc sections unless the change introduces a genuinely new concept with no existing home.
15
- - Verify that any commands, paths, or behaviors in updated docs still match the current codebase.
16
- - Documentation records facts. Do not add behavioral rules to docs — behavioral rules belong in skills, conventions, or root contracts.
17
- - Do not move, reorganize, or create documentation roots unless the user explicitly requested that structural change.
18
- - Do not silently rewrite documentation to hide a code-doc contract conflict; report the conflict as blocked.
19
-
20
- ## Stop Conditions
21
-
22
- - If the diff or executed steps cannot be identified, stop and ask the user to describe what changed before proceeding.
23
- - If no recognized documentation roots exist, such as `docs/`, documentation directories, README files, or project-declared doc roots, stop and report — do not create documentation structure speculatively.
24
- - Stop and report `documentation update needed but blocked` when the needed update is unclear, risky, outside the approved task scope, unsupported by an authoritative source, or would require resolving a conflict between documentation and implementation.
25
- - Blocked reports must name the affected doc area, why the update could not be made safely, and what decision or source is needed.
26
-
27
- ## Procedure
28
-
29
- 1. Identify what changed from the actual diff or executed steps.
30
- 2. Locate the project's authoritative documentation roots (e.g., `docs/`, `README.md`, or wherever the project records its docs — check the project profile or root contract).
31
- 3. For each changed area, identify which docs reference or describe it.
32
- 4. Load only the docs that reference the changed surface — do not load unrelated docs.
33
- 5. Update only sections that are now inaccurate or incomplete.
34
- 6. If a needed update is unclear or risky, report the gap instead of guessing.
35
- 7. Before deciding no update is needed, re-check the surfaces listed in `Scope`. If none apply, report `documentation checked and no update needed`.
36
-
37
- ## Verification
38
-
39
- Before emitting the output, verify:
40
- - Updated documentation facts are supported by the actual diff, executed steps, or user-provided source.
41
- - Changed commands, paths, public names, anchors, and cross-references still resolve.
42
- - Any docs index or README affected by created, removed, renamed, or moved docs was updated.
43
-
44
- ## Output Contract
45
-
46
- Emit:
47
-
48
- `Skill: documentation-maintenance - output below`
49
-
50
- Include:
51
-
52
- | Status | Changed Surface | Docs Checked | Docs Updated | Blockers |
53
- | --- | --- | --- | --- | --- |
54
-
55
- Status must be one of:
56
- - `documentation updated`
57
- - `documentation checked and no update needed`
58
- - `documentation update needed but blocked`
59
-
60
- `Docs Updated` may be `none`. `Blockers` must be `none` unless status is `documentation update needed but blocked`; when blocked, it must include the decision, source, or scope approval needed.
1
+ ---
2
+ name: documentation-maintenance
3
+ description: Checks whether completed changes require documentation updates and applies narrow, accurate updates when safe. Use after non-trivial implementation or refactoring.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Keep project documentation synchronized with completed changes.
9
+ - Run after non-trivial work that changes: project behavior visible to users or developers; public interfaces, APIs, or key abstractions; commands documented in README or guides; architecture, layer responsibilities, or domain facts; documented workflows or capability contracts; established conventions or project structure.
10
+
11
+ ## Safety Constraints
12
+
13
+ - Update, do not rewrite surrounding content.
14
+ - Do not add new doc sections unless the change introduces a genuinely new concept with no existing home.
15
+ - Verify that any commands, paths, or behaviors in updated docs still match the current codebase.
16
+ - Documentation records facts. Do not add behavioral rules to docs — behavioral rules belong in skills, conventions, or root contracts.
17
+ - Do not move, reorganize, or create documentation roots unless the user explicitly requested that structural change.
18
+ - Do not silently rewrite documentation to hide a code-doc contract conflict; report the conflict as blocked.
19
+
20
+ ## Stop Conditions
21
+
22
+ - If the diff or executed steps cannot be identified, stop and ask the user to describe what changed before proceeding.
23
+ - If no recognized documentation roots exist, such as `docs/`, documentation directories, README files, or project-declared doc roots, stop and report — do not create documentation structure speculatively.
24
+ - Stop and report `documentation update needed but blocked` when the needed update is unclear, risky, outside the approved task scope, unsupported by an authoritative source, or would require resolving a conflict between documentation and implementation.
25
+ - Blocked reports must name the affected doc area, why the update could not be made safely, and what decision or source is needed.
26
+
27
+ ## Procedure
28
+
29
+ 1. Identify what changed from the actual diff or executed steps.
30
+ 2. Locate the project's authoritative documentation roots (e.g., `docs/`, `README.md`, or wherever the project records its docs — check the project profile or root contract).
31
+ 3. For each changed area, identify which docs reference or describe it.
32
+ 4. Load only the docs that reference the changed surface — do not load unrelated docs.
33
+ 5. Update only sections that are now inaccurate or incomplete.
34
+ 6. If a needed update is unclear or risky, report the gap instead of guessing.
35
+ 7. Before deciding no update is needed, re-check the surfaces listed in `Scope`. If none apply, report `documentation checked and no update needed`.
36
+
37
+ ## Verification
38
+
39
+ Before emitting the output, verify:
40
+ - Updated documentation facts are supported by the actual diff, executed steps, or user-provided source.
41
+ - Changed commands, paths, public names, anchors, and cross-references still resolve.
42
+ - Any docs index or README affected by created, removed, renamed, or moved docs was updated.
43
+
44
+ ## Output Contract
45
+
46
+ Emit:
47
+
48
+ `Skill: documentation-maintenance - output below`
49
+
50
+ Include:
51
+
52
+ | Status | Changed Surface | Docs Checked | Docs Updated | Blockers |
53
+ | --- | --- | --- | --- | --- |
54
+
55
+ Status must be one of:
56
+ - `documentation updated`
57
+ - `documentation checked and no update needed`
58
+ - `documentation update needed but blocked`
59
+
60
+ `Docs Updated` may be `none`. `Blockers` must be `none` unless status is `documentation update needed but blocked`; when blocked, it must include the decision, source, or scope approval needed.
@@ -1,81 +1,81 @@
1
- ---
2
- name: explain-code
3
- description: Explains how code works by tracing actual implementations and execution paths. Use when teaching the codebase or answering "how does this work?" questions about implemented code.
4
- ---
5
-
6
- ## Scope
7
-
8
- - Explain how code actually works by tracing flow, understanding data transformations, or mapping component relationships.
9
-
10
- ## Prerequisites
11
-
12
- Before explaining code, confirm:
13
- - The question identifies a module, behavior, entry point, file, symbol, or flow to inspect.
14
- - The relevant implementation files can be read.
15
- - The explanation can be grounded in implementation evidence, not only names, docs, tests, or assumptions.
16
-
17
- If the target is unclear, ask the smallest clarifying question or state the chosen scope before explaining.
18
-
19
- ## Safety Constraints
20
-
21
- - Do not present design intent, documentation, test expectations, or naming conventions as implemented behavior unless the implementation confirms it.
22
- - Do not invent missing control flow, data transformations, defaults, side effects, or error handling.
23
- - Do not reveal secrets, credentials, private keys, or sensitive environment values discovered while reading code.
24
-
25
- ## Stop Conditions
26
-
27
- Stop and report the explanation as blocked when:
28
- - The target implementation cannot be located or read.
29
- - The behavior depends on missing generated code, runtime configuration, external service behavior, or unavailable files.
30
- - Multiple plausible flows exist and choosing one would materially change the answer.
31
- - Documentation and code conflict, and the implementation cannot be verified.
32
-
33
- ## Procedure
34
-
35
- 1. Start from the code that matters most to the question.
36
- 2. Trace the real control flow, data flow, and state transitions before discussing abstractions.
37
- 3. When code is incomplete or missing, use design docs to explain intended behavior and label it clearly as design intent, not implementation fact.
38
- 4. Include a small ASCII diagram when it clarifies ownership, lifecycle, or call flow.
39
- 5. Call out assumptions, extension points, or failure modes when relevant.
40
- 6. When several entry points or flows could answer the question, choose the one most directly matching the user's wording and state that scope. If two or more are equally plausible and would produce different explanations, stop and ask for clarification.
41
-
42
- ## Verification
43
-
44
- Before emitting the explanation, verify:
45
- - Each behavior claim is supported by a code reference or clearly labeled as an inference.
46
- - Entry points, terminal effects, and key state changes are included when relevant.
47
- - Any docs-based explanation is labeled as design intent when implementation evidence is absent or conflicting.
48
-
49
- ## Output Contract
50
-
51
- Emit:
52
-
53
- `Skill: explain-code - output below`
54
-
55
- Then include:
56
-
57
- | Field | Content |
58
- | --- | --- |
59
- | Status | `completed`, `skipped`, or `blocked` |
60
- | Scope | Code area, symbol, flow, or behavior explained |
61
- | Sources Read | Files, symbols, docs, or runtime evidence inspected |
62
- | Assumptions | Inferences used, or `none` |
63
- | Unknowns | Missing or unverified areas, or `none` |
64
-
65
- Use `blocked` when important behavior cannot be verified from implementation evidence. Record narrower verified scope in `Scope` and missing areas in `Unknowns` when only part of the requested behavior can be explained.
66
-
67
- ## Default Structure
68
-
69
- 1. **What it is** — one or two sentences describing the module, component, or subsystem role.
70
- 2. **Entry points** — which route, command, function, or event starts the behavior.
71
- 3. **How it flows** — step-by-step execution path with file references.
72
- 4. **Key collaborators** — which modules, stores, or boundaries it depends on.
73
- 5. **Gotchas** — common misunderstandings, hidden state, lifecycle rules, or failure modes.
74
-
75
- ## Style Rules
76
-
77
- - Use analogies only when they simplify the explanation; do not force them.
78
- - Do not invent behavior not visible in the code. Label inferences as inferences.
79
- - Prefer concrete file, function, and symbol references over generic commentary.
80
- - Keep ASCII diagrams compact.
81
- - Separate implemented behavior from design-doc behavior when they differ.
1
+ ---
2
+ name: explain-code
3
+ description: Explains how code works by tracing actual implementations and execution paths. Use when teaching the codebase or answering "how does this work?" questions about implemented code.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Explain how code actually works by tracing flow, understanding data transformations, or mapping component relationships.
9
+
10
+ ## Prerequisites
11
+
12
+ Before explaining code, confirm:
13
+ - The question identifies a module, behavior, entry point, file, symbol, or flow to inspect.
14
+ - The relevant implementation files can be read.
15
+ - The explanation can be grounded in implementation evidence, not only names, docs, tests, or assumptions.
16
+
17
+ If the target is unclear, ask the smallest clarifying question or state the chosen scope before explaining.
18
+
19
+ ## Safety Constraints
20
+
21
+ - Do not present design intent, documentation, test expectations, or naming conventions as implemented behavior unless the implementation confirms it.
22
+ - Do not invent missing control flow, data transformations, defaults, side effects, or error handling.
23
+ - Do not reveal secrets, credentials, private keys, or sensitive environment values discovered while reading code.
24
+
25
+ ## Stop Conditions
26
+
27
+ Stop and report the explanation as blocked when:
28
+ - The target implementation cannot be located or read.
29
+ - The behavior depends on missing generated code, runtime configuration, external service behavior, or unavailable files.
30
+ - Multiple plausible flows exist and choosing one would materially change the answer.
31
+ - Documentation and code conflict, and the implementation cannot be verified.
32
+
33
+ ## Procedure
34
+
35
+ 1. Start from the code that matters most to the question.
36
+ 2. Trace the real control flow, data flow, and state transitions before discussing abstractions.
37
+ 3. When code is incomplete or missing, use design docs to explain intended behavior and label it clearly as design intent, not implementation fact.
38
+ 4. Include a small ASCII diagram when it clarifies ownership, lifecycle, or call flow.
39
+ 5. Call out assumptions, extension points, or failure modes when relevant.
40
+ 6. When several entry points or flows could answer the question, choose the one most directly matching the user's wording and state that scope. If two or more are equally plausible and would produce different explanations, stop and ask for clarification.
41
+
42
+ ## Verification
43
+
44
+ Before emitting the explanation, verify:
45
+ - Each behavior claim is supported by a code reference or clearly labeled as an inference.
46
+ - Entry points, terminal effects, and key state changes are included when relevant.
47
+ - Any docs-based explanation is labeled as design intent when implementation evidence is absent or conflicting.
48
+
49
+ ## Output Contract
50
+
51
+ Emit:
52
+
53
+ `Skill: explain-code - output below`
54
+
55
+ Then include:
56
+
57
+ | Field | Content |
58
+ | --- | --- |
59
+ | Status | `completed`, `skipped`, or `blocked` |
60
+ | Scope | Code area, symbol, flow, or behavior explained |
61
+ | Sources Read | Files, symbols, docs, or runtime evidence inspected |
62
+ | Assumptions | Inferences used, or `none` |
63
+ | Unknowns | Missing or unverified areas, or `none` |
64
+
65
+ Use `blocked` when important behavior cannot be verified from implementation evidence. Record narrower verified scope in `Scope` and missing areas in `Unknowns` when only part of the requested behavior can be explained.
66
+
67
+ ## Default Structure
68
+
69
+ 1. **What it is** — one or two sentences describing the module, component, or subsystem role.
70
+ 2. **Entry points** — which route, command, function, or event starts the behavior.
71
+ 3. **How it flows** — step-by-step execution path with file references.
72
+ 4. **Key collaborators** — which modules, stores, or boundaries it depends on.
73
+ 5. **Gotchas** — common misunderstandings, hidden state, lifecycle rules, or failure modes.
74
+
75
+ ## Style Rules
76
+
77
+ - Use analogies only when they simplify the explanation; do not force them.
78
+ - Do not invent behavior not visible in the code. Label inferences as inferences.
79
+ - Prefer concrete file, function, and symbol references over generic commentary.
80
+ - Keep ASCII diagrams compact.
81
+ - Separate implemented behavior from design-doc behavior when they differ.