Skip to content

feat(engineer): add requirements workflow for RFC 2119 requirement management#321

Open
ncrmro wants to merge 2 commits intomainfrom
feat/engineer-requirements-workflow
Open

feat(engineer): add requirements workflow for RFC 2119 requirement management#321
ncrmro wants to merge 2 commits intomainfrom
feat/engineer-requirements-workflow

Conversation

@ncrmro
Copy link
Copy Markdown
Collaborator

@ncrmro ncrmro commented Mar 31, 2026

Summary

  • Adds a requirements workflow (3 steps) to the engineer library job: discover_requirementsdraft_requirementsvalidate_requirements
  • Workflow creates/amends RFC 2119 requirement files in ./requirements/ (configurable via AGENTS.md)
  • Adds Req 9–12 to requirements.md covering directory discovery, file format, index, and amendment rules
  • Adds engineer job to library/jobs/README.md
  • Documents library job traceability exemption in AGENTS.md

Test plan

  • Run get_workflows and verify engineer/requirements appears
  • Run the requirements workflow on a project with no existing requirements — verify ./requirements/ is created with REQUIREMENTS.md index
  • Run the requirements workflow on a project with a custom path in AGENTS.md — verify the custom path is used
  • Amend an existing requirement — verify numbering is preserved and index is updated

🤖 Generated with Claude Code

ncrmro and others added 2 commits March 30, 2026 13:50
…nagement

Adds a 3-step `requirements` workflow to the engineer library job that
creates, amends, and validates RFC 2119 requirement files in a project's
`./requirements/` directory (with configurable path via AGENTS.md).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix section ordering in requirements.md (8 before 9-12)
- Replace domain-specific language with domain-agnostic references
- Fix agent.md → AGENTS.md throughout requirements.md
- Add fallback for absent context file in discover_requirements
- Add explicit default path reference in draft_requirements step 6
- Define testability criterion and FAIL criteria in validate_requirements
- Add engineer job to library/jobs/README.md
- Document library job traceability exemption in AGENTS.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ncrmro ncrmro requested a review from nhorton March 31, 2026 18:13
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