Skip to content

docs: Update docs for Phase 3 SDLC pipeline [doc-updater] - #254

Merged
jwbron merged 2 commits into
mainfrom
egg/doc-update-sdlc-phase3
Feb 7, 2026
Merged

jwbron merged 2 commits into
mainfrom
egg/doc-update-sdlc-phase3

Conversation

@james-in-a-box

@james-in-a-box james-in-a-box Bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

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: Add egg_contracts/ to
    shared libraries listing, contract_cli.py to sandbox egg_lib/,
    and templates/ to docs directory tree
  • docs/architecture/README.md: Document the contract CLI
    commands (egg-contract show, add-commit, update-notes,
    mark-task, mark-phase, add-decision), the plan parser, and
    the SDLC prompt builder under the existing SDLC Contracts section
  • docs/index.md: Add SDLC pipeline templates section linking
    to analysis and plan templates, update shared libraries description,
    add SDLC pipeline entry to task-specific guides

Triggered by: #245 (b48a953)

Issue: none

Test plan:

  • Verify all new links in index.md resolve correctly
  • Confirm STRUCTURE.md tree matches actual directory contents
  • Check architecture README contract CLI table matches actual CLI commands

Authored-by: egg

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

@james-in-a-box james-in-a-box Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 (matches TASK_PATTERN regex in plan_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.py exists (19809 bytes)
  • shared/egg_contracts/plan_parser.py exists
  • action/build-sdlc-prompt.sh exists
  • docs/templates/analysis.md and docs/templates/plan.md exist

STRUCTURE.md additions ✓

  • egg_contracts/ entry accurately describes the package ("SDLC contract models, plan parser, role-based validation")
  • contract_cli.py correctly placed under egg_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)

  1. The add-decision command also supports an optional --options argument for providing decision options, which isn't documented in the table. This is minor since the table shows the essential usage.

  2. 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 --help to 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

@james-in-a-box

james-in-a-box Bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor Author

egg review completed. View run logs

jwbron
jwbron previously approved these changes Feb 7, 2026

@james-in-a-box james-in-a-box Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-Review: Changes Since Commit 5503258

The new commit 4b158db addresses both observations from my previous review:

Verified Changes

  1. mark-task --status now documents valid statuses

    • Documentation: pending, in_progress, complete, incomplete, blocked
    • Verified against CLI: choices=["pending", "in_progress", "complete", "incomplete", "blocked"] at contract_cli.py:557
    • ✓ Correct
  2. add-decision now documents --options argument

    • Documentation: [--options ...] with description "optionally with predefined choices"
    • Verified against CLI: nargs="*" at contract_cli.py:580
    • ✓ Correct

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

@james-in-a-box

james-in-a-box Bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor Author

egg review completed. View run logs

@jwbron
jwbron merged commit 7910c5f into main Feb 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant