Skip to content

PRD: Agentic Workflow#67

Draft
roberthunterjr wants to merge 10 commits into
mainfrom
ai-workflow-prd
Draft

PRD: Agentic Workflow#67
roberthunterjr wants to merge 10 commits into
mainfrom
ai-workflow-prd

Conversation

@roberthunterjr

Copy link
Copy Markdown
Contributor

Summary

  • Adds PRD for agentic workflow (docs/PRD-agentic-workflow.md)
  • Adds consolidated Fiona Skills PRD (docs/PRD-Fiona-skills.md), replacing docs/fiona-skills-prd.md
  • Renames docs/fiona-slack-prd.mddocs/PRD-Fiona-slack.md with formatting updates
  • Updates CLAUDE.md with markdown authoring instructions for agents
  • Configures markdownlint-cli and relaxes ordered-list style rule in .markdownlint.json

Test plan

  • Review PRD documents for accuracy and completeness
  • Verify markdownlint passes: npx markdownlint-cli docs/*.md

🤖 Generated with Claude Code

@roberthunterjr roberthunterjr marked this pull request as draft July 2, 2026 17:00
roberthunterjr and others added 8 commits July 2, 2026 17:09
Define a full Jira-ready bug workflow with readiness checks, feasibility scoring, fail-first tests, intent alignment loops, scoped refactor rules, and final verification gates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Transform placeholder notes and design thoughts into proper JTBD
statements, functional requirements, NFRs, out-of-scope items, open
questions, development phases, and a glossary. All major sections are
now populated with content derived from a structured interview.
Add platform framing, Agentic Loop Engineering rationale (recursion
analogy), meta-harness and factory operator concepts, ADLC as a
cross-workflow sequence, observability and governance requirements,
JTBD-OBS and JTBD-FEEDBACK, FR-CROSS-7 through FR-CROSS-10, NFR-3/4,
and an expanded glossary.
… metrics to PRD

Add Section 1.2 User Roles with Phase 0 persona definitions. Add
FR-CROSS-11 through FR-CROSS-14 covering branch scoping, credential
management, prompt injection defense, and protected file scoping. Add
Section 3.3 Agent-Jira Contract (FR-JIRA-1 through FR-JIRA-7) and
Section 3.4 Agent-GitHub Contract (FR-GH-1 through FR-GH-5). Add
Section 3.5 Failure Modes (FR-FAIL-1 through FR-FAIL-6) covering
token limits, pre-check retries, concurrency, Dependabot revert, and
API failure backoff. Add Section 8 Success Metrics for Phase 0 and
Phase 1. Add TOC, RFC 2119 note, and expanded glossary.
Add three Mermaid diagrams:
- System context pipeline (Section 2): two-pipeline overview showing
  Phase 0 Jira flow and Phase 1 community GitHub Issue flow
- ADLC flowchart (Section 3.2): 8-step governed loop with readiness
  check failure exit, pre-check retry path, escalation, and governance
  guardrail catch
- Agent-Jira-GitHub sequence diagram (Section 3.4): end-to-end
  interaction sequence covering the full agent contract
- Introduce MVP phase as the quickest, simplest demonstrable path to must-haves
  (bug fix workflow end-to-end), shifting Phase 0→1, Phase 1→2, Phase 2→3
- Add must/should/nice-to-have classification to all phases in Section 7
- Clarify MVP deferred items explicitly (FR-CROSS-13/14 to Phase 1; FR-FAIL-3/4 as nice-to-have)
- Add Dependabot ADLC note (intentionally does not follow ADLC)
- Add FR-TECH-3 underspecification check for parity with FR-FEAT-2
- Resolve OQ-8: non-empty AC field sufficient for MVP; structured format is Phase 1
- Fix FR-FAIL-3 contradiction: remove "silently" from dropped trigger
- Fix ADLC diagram: governance failure arrows from LOAD, IMPL, and PCHECK
- Fix sequence diagram: trigger routes through Jira, not direct to agent;
  halt notifications route through Jira/GitHub, not direct to Trigger;
  add Trigger monitoring note; governance events added to PR body update
- Sharpen FR-CROSS-2 with per-system auth mechanism requirements (DefaultAzureCredential,
  GitHub token, Jira API key, model API key) — mechanisms must not be mixed
- Sharpen FR-CROSS-3 with concrete externalized configuration requirement
- Split FR-CROSS-4/8 between MVP (basic) and Phase 1 (full modular/configurable)
- Add FR-CROSS-1 MVP/Phase 1 phasing note (basic logging in MVP; full in Phase 1)
- Update FR-FAIL-1 with 30-minute default wall-clock suggestion
- Collapse NFR-1 to pointer; make NFR-5 a summary with cross-references
- Separate MVP and Phase 1 success metrics; move Dependabot, estimated effort,
  and guardrail metrics to Phase 1 (require telemetry or Phase 1 workflows)
- Fix TBD link in JTBD-TRIAGE; update all Phase 0/1 references to MVP/Phase 1/2/3
- Add MVP definition to Glossary; update Contributor Phase column to "Phase 2"
- Issue triage (JTBD-TRIAGE) leads Phase 2; feedback loop (JTBD-FEEDBACK) follows
…metrics

- Restructure development phases: introduce MVP (bug fix only), renumber
  Phase 0→1, Phase 1→2, Phase 2→3; add must/should/nice-to-have lists
- Sharpen FR-CROSS-2 with per-system auth requirements (GITHUB_TOKEN,
  Jira API token, DefaultAzureCredential, model API key); prohibit mixing
- Add FR-CROSS-13 (prompt injection) and FR-CROSS-14 (protected paths)
  as Phase 1 requirements
- Sequence diagram: route trigger through Jira, add halt notifications
  and Trigger monitoring note
- ADLC diagram: add governance failure dotted arrows from LOAD/IMPL/PCHECK
- Add FR-TECH-3 underspecification check
- Split success metrics into MVP and Phase 1 tables
- Add MVP definition to glossary
- Resolve OQ-8: non-empty field sufficient for MVP
- ToC sub-links for phases; FR-CROSS-4 Phase 1 distinction; FR-CROSS-5
  as Phase 1 nice-to-have
Consistency fixes:
- Standardize endpoint to "review-ready PR"; Draft PR is now only the
  intermediate step-5 steering artifact (Overview, Strategic Alignment,
  System Context, User Roles, JTBDs, glossary)
- Promote basic FR-CROSS-4 (lint+tests) to MVP must-have; ADLC step 7
  and FR-FAIL-2 depend on it
- Add FR-GH-6 (Reviewer Notification); drop incorrect FR-CROSS-9 ref
  in ADLC step 8
- Rename "Time to Draft PR" -> "Time to review-ready PR" metrics
- Raise FR-FAIL-1 default to 2 hours; reframe effort-vs-time metric as
  a relationship, not a target threshold
- Scope FR-FAIL-6: MVP immediate halt, Phase 1 backoff retries
- Consolidate Factory Operator into Operator (canonical)
- Tighten FR-CROSS-3 -> FR-CROSS-8 to governance-config scope only
- Add OQ-9 for epic-link exemption detection signal
- Distinguish MoSCoW buckets from RFC 2119 keywords
- Add MVP security risk-acceptance callout
- Minor wording fix (FR-FAIL-4)

New diagrams:
- Logical component + trust-boundary diagram (Section 2)
- Workflow-run state machine consolidating all terminal/recovery modes
  (Section 3.5)
- Requirement dependency map for implementation ordering (Section 7)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants