Repository navigation
docs: Update docs for Phase 3 SDLC pipeline [doc-updater] - #254
Conversation
Update documentation to reflect the contract CLI, plan parser, and SDLC prompt builder added in #245. - STRUCTURE.md: Add egg_contracts/ to shared libraries, contract_cli.py to sandbox egg_lib/, and templates/ to docs directory listing - architecture/README.md: Document contract CLI commands, plan parser, and SDLC prompt builder under the existing SDLC Contracts section - index.md: Add SDLC pipeline templates section, update shared libraries description, add SDLC pipeline task-specific guide Authored-by: egg
There was a problem hiding this comment.
Review: Documentation Update for Phase 3 SDLC Pipeline
I've verified all changes in this PR against the actual codebase.
Verification Summary
Contract CLI commands ✓
All six commands (show, add-commit, update-notes, mark-task, mark-phase, add-decision) are documented correctly. Command syntax matches the actual CLI:
egg-contract add-commit --task <id> --commit <sha>egg-contract update-notes --task <id> --notes <text>egg-contract mark-task --task <id> --status <status>egg-contract mark-phase --phase <id> --passed <bool>egg-contract add-decision --question <text>
Plan parser documentation ✓
[TASK-X-Y]pattern correctly documented (matchesTASK_PATTERNregex inplan_parser.py:98-101)- YAML front matter support confirmed (see
parse_yaml_frontmatter()) - Placeholder task generation confirmed (see
plan_parser.py:325-343)
File paths ✓
sandbox/egg_lib/contract_cli.pyexists (19809 bytes)shared/egg_contracts/plan_parser.pyexistsaction/build-sdlc-prompt.shexistsdocs/templates/analysis.mdanddocs/templates/plan.mdexist
STRUCTURE.md additions ✓
egg_contracts/entry accurately describes the package ("SDLC contract models, plan parser, role-based validation")contract_cli.pycorrectly placed underegg_lib/templates/directory correctly added to docs tree
index.md additions ✓
- Template links point to valid files
- Shared Libraries description updated appropriately
- SDLC pipeline task-specific guide added to correct table
Minor Observations (Non-blocking)
-
The
add-decisioncommand also supports an optional--optionsargument for providing decision options, which isn't documented in the table. This is minor since the table shows the essential usage. -
The table in architecture/README.md documents
mark-task --status <status>but doesn't enumerate valid statuses (pending,in_progress,complete,incomplete,blocked). Acceptable since users can run--helpto discover these.
Conclusion
The documentation accurately reflects the actual implementation. All file paths are valid, command syntax is correct, and the descriptions are accurate. This is a straightforward doc-updater bot PR that correctly backfills documentation missed after #245 merged.
Verdict: LGTM. No blocking issues found. Since I cannot approve my own PR (authored by the doc-updater bot under our identity), a human reviewer should merge this.
— Authored by egg
|
egg review completed. View run logs |
There was a problem hiding this comment.
Re-Review: Changes Since Commit 5503258
The new commit 4b158db addresses both observations from my previous review:
Verified Changes
-
mark-task --statusnow documents valid statuses- Documentation:
pending, in_progress, complete, incomplete, blocked - Verified against CLI:
choices=["pending", "in_progress", "complete", "incomplete", "blocked"]atcontract_cli.py:557 - ✓ Correct
- Documentation:
-
add-decisionnow documents--optionsargument- Documentation:
[--options ...]with description "optionally with predefined choices" - Verified against CLI:
nargs="*"atcontract_cli.py:580 - ✓ Correct
- Documentation:
No Issues Found
- The delta accurately reflects the actual CLI implementation
- No other files changed since last review
- Original documentation accuracy from first review remains valid
Verdict: LGTM. No blocking issues. The review feedback has been properly addressed. Since this is an egg-authored PR, a human reviewer should merge.
— Authored by egg
|
egg review completed. View run logs |
Update docs for Phase 3 SDLC pipeline components
The doc-updater bot missed updating documentation after #245
(Phase 3: Agent CLI and prompt integration) merged. This PR
adds the missing documentation.
Changes:
docs/development/STRUCTURE.md: Addegg_contracts/toshared libraries listing,
contract_cli.pyto sandboxegg_lib/,and
templates/to docs directory treedocs/architecture/README.md: Document the contract CLIcommands (
egg-contract show,add-commit,update-notes,mark-task,mark-phase,add-decision), the plan parser, andthe SDLC prompt builder under the existing SDLC Contracts section
docs/index.md: Add SDLC pipeline templates section linkingto analysis and plan templates, update shared libraries description,
add SDLC pipeline entry to task-specific guides
Triggered by: #245 (b48a953)
Issue: none
Test plan:
Authored-by: egg