agile-context-engineering 0.2.2 → 0.3.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.
- package/CHANGELOG.md +82 -0
- package/LICENSE +51 -51
- package/README.md +324 -323
- package/agents/ace-research-synthesizer.md +228 -228
- package/agents/ace-technical-application-architect.md +28 -0
- package/agents/ace-wiki-mapper.md +445 -334
- package/agile-context-engineering/src/ace-tools.test.js +1089 -1089
- package/agile-context-engineering/templates/_command.md +53 -53
- package/agile-context-engineering/templates/_workflow.xml +16 -16
- package/agile-context-engineering/templates/product/product-backlog.xml +231 -231
- package/agile-context-engineering/templates/product/story-integration-solution.xml +1 -0
- package/agile-context-engineering/templates/product/story-wiki.xml +4 -0
- package/agile-context-engineering/templates/wiki/coding-standards.xml +38 -0
- package/agile-context-engineering/templates/wiki/decizions.xml +115 -115
- package/agile-context-engineering/templates/wiki/guide.xml +137 -137
- package/agile-context-engineering/templates/wiki/module-discovery.xml +174 -174
- package/agile-context-engineering/templates/wiki/pattern.xml +159 -159
- package/agile-context-engineering/templates/wiki/system-architecture.xml +254 -254
- package/agile-context-engineering/templates/wiki/system-cross-cutting.xml +197 -197
- package/agile-context-engineering/templates/wiki/system.xml +381 -381
- package/agile-context-engineering/templates/wiki/walkthrough.xml +255 -0
- package/agile-context-engineering/templates/wiki/wiki-readme.xml +297 -276
- package/agile-context-engineering/utils/questioning.xml +110 -110
- package/agile-context-engineering/workflows/execute-story.xml +1219 -1145
- package/agile-context-engineering/workflows/help.xml +540 -540
- package/agile-context-engineering/workflows/init-coding-standards.xml +386 -386
- package/agile-context-engineering/workflows/map-story.xml +1046 -797
- package/agile-context-engineering/workflows/map-subsystem.xml +2 -1
- package/agile-context-engineering/workflows/map-walkthrough.xml +457 -0
- package/agile-context-engineering/workflows/plan-feature.xml +1495 -1495
- package/agile-context-engineering/workflows/plan-story.xml +36 -1
- package/agile-context-engineering/workflows/research-integration-solution.xml +1 -0
- package/agile-context-engineering/workflows/research-story-wiki.xml +2 -1
- package/agile-context-engineering/workflows/research-technical-solution.xml +1 -0
- package/agile-context-engineering/workflows/review-story.xml +281 -281
- package/agile-context-engineering/workflows/update.xml +238 -207
- package/bin/install.js +8 -0
- package/commands/ace/execute-story.md +1 -0
- package/commands/ace/help.md +93 -93
- package/commands/ace/init-coding-standards.md +83 -83
- package/commands/ace/map-story.md +165 -156
- package/commands/ace/map-subsystem.md +140 -138
- package/commands/ace/map-system.md +92 -92
- package/commands/ace/map-walkthrough.md +127 -0
- package/commands/ace/plan-feature.md +89 -89
- package/commands/ace/plan-story.md +15 -1
- package/commands/ace/review-story.md +109 -109
- package/commands/ace/update.md +56 -54
- package/hooks/ace-check-update.js +62 -62
- package/hooks/ace-statusline.js +89 -89
- package/package.json +4 -3
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
- `story` (REQUIRED): file path or GitHub URL/issue number
|
|
43
43
|
- `external-codebase` (OPTIONAL): path or GitHub URL to external system
|
|
44
44
|
- `external-docs` (OPTIONAL): weblink or filepath to external docs
|
|
45
|
+
- `lib-docs` (OPTIONAL): space-separated weblinks and/or filepaths to library documentation
|
|
45
46
|
|
|
46
47
|
```bash
|
|
47
48
|
INIT=$(node ~/.claude/agile-context-engineering/src/ace-tools.js init plan-story {story_param})
|
|
@@ -83,7 +84,8 @@
|
|
|
83
84
|
Provide a valid story file path or GitHub issue.
|
|
84
85
|
```
|
|
85
86
|
|
|
86
|
-
Store `EXTERNAL_CODEBASE` and `
|
|
87
|
+
Store `EXTERNAL_CODEBASE`, `EXTERNAL_DOCS`, and `LIB_DOCS` from parsed arguments (may be null).
|
|
88
|
+
`LIB_DOCS` is a space-separated string of weblinks and/or filepaths.
|
|
87
89
|
</step>
|
|
88
90
|
|
|
89
91
|
<!-- ══════════════════════════════════════════════════════════════════ -->
|
|
@@ -641,6 +643,37 @@
|
|
|
641
643
|
{+ Pass 3 complete. External analysis written. (if applicable)}
|
|
642
644
|
```
|
|
643
645
|
|
|
646
|
+
<!-- ── 7d.1: Inject Library Documentation into Relevant Wiki ── -->
|
|
647
|
+
|
|
648
|
+
**If `LIB_DOCS` is not null/empty:**
|
|
649
|
+
|
|
650
|
+
Append a `### Library Documentation` subsection to the `## Relevant Wiki`
|
|
651
|
+
section in the story file. This ensures passes 4-5 see these references.
|
|
652
|
+
|
|
653
|
+
Read the story file, find the `## Relevant Wiki` section, and append
|
|
654
|
+
the `### Library Documentation` subsection BEFORE the next `## ` heading
|
|
655
|
+
(i.e., before `## Technical Solution`).
|
|
656
|
+
|
|
657
|
+
Split `LIB_DOCS` by spaces. For each entry, determine if it's a weblink
|
|
658
|
+
(starts with `http://` or `https://`) or a filepath, and format accordingly:
|
|
659
|
+
|
|
660
|
+
```markdown
|
|
661
|
+
### Library Documentation
|
|
662
|
+
|
|
663
|
+
<!-- Provided via lib-docs parameter. These are external library/API docs
|
|
664
|
+
that inform the technical solution design. Passes 4-5 MUST read/fetch
|
|
665
|
+
these when designing the implementation. -->
|
|
666
|
+
|
|
667
|
+
- `{entry}` — Library/API documentation reference
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
Use the Edit tool to insert this subsection into the story file.
|
|
671
|
+
|
|
672
|
+
Display:
|
|
673
|
+
```
|
|
674
|
+
+ Library documentation ({count} entries) added to Relevant Wiki section.
|
|
675
|
+
```
|
|
676
|
+
|
|
644
677
|
<!-- ── 7e: Dispatch Pass 4 — Integration Analysis ───────────── -->
|
|
645
678
|
|
|
646
679
|
Display:
|
|
@@ -730,6 +763,7 @@
|
|
|
730
763
|
|
|
731
764
|
Execute the research-technical-solution workflow end-to-end.
|
|
732
765
|
The story file has the full requirements + Relevant Wiki section.
|
|
766
|
+
{If LIB_DOCS provided: The Relevant Wiki section includes a '### Library Documentation' subsection with external library/API doc references — READ/FETCH these as primary design input.}
|
|
733
767
|
The integration-analysis.md exists in the story directory.
|
|
734
768
|
{If external analysis exists: The external-analysis.md exists in the story directory.}
|
|
735
769
|
Append the Technical Solution section to the story file.
|
|
@@ -897,6 +931,7 @@
|
|
|
897
931
|
- User reviewed and approved pass 1 output
|
|
898
932
|
- Pass 2 (wiki research) dispatched as background agent, wrote to story file
|
|
899
933
|
- Pass 3 (external analysis) offered/dispatched if external-codebase provided
|
|
934
|
+
- Library documentation entries injected into Relevant Wiki section after pass 2 (if lib-docs provided)
|
|
900
935
|
- Pass 4 (integration analysis) dispatched AFTER passes 2-3 complete
|
|
901
936
|
- Pass 5 (technical solution) dispatched AFTER pass 4 complete
|
|
902
937
|
- NO TaskOutput called on ANY background agent — context window stays clean
|
|
@@ -303,6 +303,7 @@
|
|
|
303
303
|
- Cross-cutting concerns to respect
|
|
304
304
|
- Architecture Decision Records (ADRs) that constrain design
|
|
305
305
|
- Guides for common implementation tasks
|
|
306
|
+
- Walkthroughs of complex multi-class flows
|
|
306
307
|
|
|
307
308
|
3. **[MANDATORY] Load external analysis (if available):**
|
|
308
309
|
- If EXTERNAL_ANALYSIS_CONTENT is set, study it for:
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
Instructions:
|
|
247
247
|
1. List all files in .docs/wiki/subsystems/{subsystem_name}/ recursively
|
|
248
248
|
2. Read each document (structure.md, architecture.md, and any docs in
|
|
249
|
-
systems/, patterns/, cross-cutting/, guides/, decisions/ subdirectories)
|
|
249
|
+
systems/, patterns/, cross-cutting/, guides/, walkthroughs/, decisions/ subdirectories)
|
|
250
250
|
3. For each document, assess: does it directly inform the technical solution
|
|
251
251
|
for THIS story? Apply these criteria:
|
|
252
252
|
- INCLUDE if: describes a system this story modifies/extends, documents a
|
|
@@ -299,6 +299,7 @@
|
|
|
299
299
|
- **Patterns**: files under `subsystems/*/patterns/`
|
|
300
300
|
- **Cross-Cutting Concerns**: files under `subsystems/*/cross-cutting/`
|
|
301
301
|
- **Guides**: files under `subsystems/*/guides/`
|
|
302
|
+
- **Walkthroughs**: files under `subsystems/*/walkthroughs/`
|
|
302
303
|
- **Decisions**: files under `subsystems/*/decisions/`
|
|
303
304
|
- **Architecture**: `subsystems/*/architecture.md` files
|
|
304
305
|
- **Structure**: `subsystems/*/structure.md` files (include under Systems category)
|
|
@@ -398,6 +398,7 @@
|
|
|
398
398
|
- **Decisions (ADRs)**: Architecture Decision Records that constrain design choices
|
|
399
399
|
- **Cross-Cutting Concerns**: Shared concerns to respect (auth, logging, errors, etc.)
|
|
400
400
|
- **Guides**: Implementation guides for common tasks relevant to this story
|
|
401
|
+
- **Walkthroughs**: Deep tutorial-style flow explanations with actual code snippets
|
|
401
402
|
|
|
402
403
|
These wiki documents replace the obsolete command's parameters:
|
|
403
404
|
- "related-stories-implementations" — wiki captures this knowledge
|