Repository navigation
Conversation
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
No findings to reportTip of the day💡 Did you know, you can see how risky a PR is at a glance with blast radius labels
|
PR Summary by Qododocs(ADR-0166): resolve planning workloads through validated descriptors
AI Description
Merge Risk
|
Site previewPreview: https://b18c1d64-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
jflowers
left a comment
There was a problem hiding this comment.
Council verdict: APPROVE (unanimous, 4/4 reviewers)
The review council ran four personas on this change: divisor-adversary (heavy), divisor-architect, divisor-curator, and divisor-guard. All four returned APPROVE, with zero findings and zero advisories. Dispatch correlation: 1c3e0e8e-7239-4bc9-86dc-e28d71ef19e0.
What changed
Two documentation files, +134/−0:
docs/ADRs/0166-descriptor-driven-planning-workloads.md(new): records that Epic Decomposer stages resolve workload behavior from a validated, versioned descriptor selected once at entry, instead of hard-coding RHAISTRAT planning policy in shared code.docs/architecture.md: adds the matching "Decided" bullet directly after the ADR 0176 bullet.
Verification notes
- ADR conventions: status Accepted with the same-PR architecture.md update; implementation kept out (tracked in AISDLC-61, reviewed in epic-creator#40); current-behavior evidence pinned to commit SHAs in the PR description; Forge scope stated explicitly as Forge-neutral; no code permalinks in Context or Decision.
- No ADR number collision: no
0166-*exists on base main; the relative link to ADR 0176 resolves. - Vitepress auto-discovers files in
docs/ADRs/, so no sidebar update is needed. - Commit message follows the conventional
docs(ADR-0166):prefix with DCO sign-off. - CI: all checks pass or skip; none fail.
- Local gates: not run. The PR head comes from a fork whose author has read permission, so local code is neither fetched nor executed. The change is documentation only, and CI coverage is green.
This review was generated by /uf.review-pr (AI-assisted).
fe5cb82 to
1e524b3
Compare
jflowers
left a comment
There was a problem hiding this comment.
Council verdict: APPROVE WITH ADVISORIES (4/4 approving; one LOW advisory, kept as the inline comment below)
Four personas ran on this change: divisor-adversary (heavy), divisor-architect, divisor-curator, and divisor-guard. Three returned APPROVE; divisor-architect returned APPROVE WITH ADVISORIES carrying one LOW finding. Dispatch correlation: a9dd2bf1-fd87-4168-a775-85d0bc911340.
This supersedes my earlier approval on f1185d3b (review 6122272573); the branch was force-pushed to 1e524b35, which expanded the ADR from 134 to 268 lines.
What changed
Two documentation files, +275/-0:
docs/ADRs/0166-descriptor-driven-planning-workloads.md(new): records that Epic Decomposer stages resolve workload behavior from a validated, versioned descriptor selected once at entry, instead of hard-coding RHAISTRAT planning policy in shared code.docs/architecture.md: adds the matching "Decided" bullet directly after the ADR 0176 bullet.
Verification notes
- ADR conventions: status Accepted with the same-PR architecture.md update; implementation kept out and tracked in #9966; current-behavior evidence pinned to commit SHAs in the PR description; Forge scope stated as Forge-neutral; no code permalinks in Context or Decision; Context closes with the aim; Decision opens with the choice; Consequences are five one-sentence bullets.
- No ADR number collision: no
0166-*exists on base main; in-flight open PRs claim 0167 (#9266) and 0168 (#9263), not 0166. - Size sits within repo norms for this problem area: 268 lines against recent accepted ADRs at 132 to 590 (ADR 0176, the closest sibling, is 590 with fourteen Decision subsections).
- Neither relates_to problem doc (agent-architecture, durable-work-recovery) carries an open question this ADR resolves, so no problem-doc annotations are needed.
- Commit message follows the conventional
docs(ADR-0166):prefix with DCO sign-off; pr-title-lint and commit-lint pass. - CI: all checks pass or skip; none fail.
- Local gates: not run. The PR head comes from a fork whose author has read permission, so local code is neither fetched nor executed. The change is documentation only, and CI coverage is green.
This review was generated by /uf.review-pr (AI-assisted).
1e524b3 to
6cb8d25
Compare
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 9:24 PM UTC · Completed 9:33 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.98 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
🤖 Review · Commit: Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment |
|
🤖 Review · Commit: This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging. |
|
/fs-review |
|
🤖 Finished Review · Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.79 This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging. |
|
The decision is sound: a validated in-repo registry, policies by path, descriptor chosen once at entry. One request before this is final, on vocabulary rather than behaviour. rfe-creator and strat-creator already share one descriptor vocabulary (
Only Two things make the alignment cheap. rfe-creator's Not asking to block the ADR. Asking that it either adopt the shared names where the concept already exists, so the three stations' fixtures check key for key, or state in the Decision why Epic Creator's registry uses its own. Since the implementation in epic-creator#40 is being reworked, this is the cheap moment. |
|
🤖 Finished Review · ✅ Success · Started 5:42 PM UTC · Completed 5:55 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.38 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finding threads left open (7):
Outdated review threads left open (4):
|
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 6:08 PM UTC · Completed 6:21 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.20 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finding threads left open (1):
Outdated review threads left open (4):
|
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 7:14 PM UTC · Completed 7:22 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.62 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finding threads left open (1):
Outdated review threads left open (6):
|
Epic Decomposer stages resolve workload behavior from a versioned descriptor selected once at entry, instead of hard-coding one workload's planning policy in shared code. Adding a workload means adding a descriptor and its policies; legacy single-workload behavior stays as a compatibility path. Implementation tracked in fullsend-ai#9966. Signed-off-by: Amos Mastbaum <amastbau@redhat.com>
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 10:42 PM UTC · Completed 10:55 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.31 |
|
Risk Assessment: moderate (2/5) DetailsDocumentation-only PR introducing ADR 0166 with low metadata risk, elevated to moderate due to high recent churn and multi-author contention on docs/architecture.md. |
ReviewFindingsLow
|
| prerequisites a ticket must satisfy: right project, right issue type, | ||
| right key format, approval labels, and strategy content — the | ||
| attachment, or the description when the descriptor allows the fallback. | ||
| The pipeline rejects any ticket that fails a prerequisite before |
There was a problem hiding this comment.
[low] doc-style
"The pipeline rejects any ticket that fails a prerequisite..." stacks two negative-sense verbs; docs/contributing/documentation.md asks for positive phrasing.
Suggested fix: Rephrase positively, e.g. "The pipeline processes only tickets that satisfy every prerequisite before starting work, and that a registered workload claims."
| claims. | ||
|
|
||
| Where a concept already exists in the shared vocabulary used by RFE | ||
| Creator and Strategy Creator (`types/<name>/type.yaml`, |
There was a problem hiding this comment.
[low] doc-style
Ragged wrapping across lines 169-172 splits "RFE Creator" across a line break and leaves "names:" alone on its own line.
Suggested fix: Rewrap lines 169-172 so "RFE Creator" stays together and "names:" joins the end of the preceding line.
|
Finding threads left open (1):
Outdated review threads left open (7):
|
Summary
Record the decision that a decomposition pipeline's stages (fetch, decompose, review, revise, submit) resolve workload behavior from a validated, versioned descriptor selected once at entry, instead of hard-coding one workload's planning policy in shared code. Adds ADR 0166 — self-contained: descriptor structure, registry validation, selection and state binding, stage resolution, and the submission/recovery contract — plus the matching "Decided" bullet in
docs/architecture.md.Implementation is kept out per the ADR contributing rules and tracked in #9966.
Current-behavior evidence (commit SHAs)
main(5965e157), the shared stage prompts hard-code the RHAISTRAT workload:skills/epic-decompose/SKILL.md,prompts/fetch-agent.mdandprompts/decompose-agent.mdreference RHAISTRAT/RHAI directly, and noworkloads/registry exists (git ls-tree 5965e157 workloads/is empty).8efd835:workloads/_schema,workloads/policies,workloads/rhai-initiative.yaml,workloads/rhaistrat-strategy.yaml.Lint
ADR status/number/frontmatter linters pass locally (
pre-commit run). The markdown-links hook could not run locally (lycheenot installed); CI covers it.🤖 Generated with Claude Code
Peer-creator claim verification (commit SHAs)
The Context claim that the creators share configuration vocabulary, not code, is verified against current main of both repos:
a8f29800bc90644d0edafc54dd4a905c789eefec:types/README.mdstates "The vocabulary is rfe-creator's — the stations share configuration vocabulary, not code", and describes the per-type descriptor layout (types/<name>/type.yamlvalidated againsttypes/_schema/type.schema.json) that this ADR's workload registry mirrors.045587d53df1f206c9b33a9548ac4f610f12734e: the work-item type vocabulary referenced above (key names from rfe-creator PR Andon cord: org-wide emergency halt on prompt injection detection #172 §3.5).Policy extraction evidence (commit SHAs)
The Context claim that workload policy is fused into the stage prompts today, and that the decision splits each prompt into a shell plus an extracted policy document:
5965e157:skills/epic-decompose/prompts/decompose-agent.mdis 375 lines — stage procedure and RHAI decomposition policy in one file.8efd835: the same prompt is 156 lines — a shell that reads{POLICY_FILE}and{ARTIFACT_TEMPLATE}as values bound in pipeline state — plus a 224-line extracted policy atworkloads/policies/rhai/v1/decompose.md.Current-main policy locations (commit SHA)
At epic-creator
5965e157, workload policy is fused in three places: the pipeline driver (skills/epic-decompose/SKILL.mdbinds RHAISTRAT IDs and JQL into the orchestration), the stage prompts (prompts/review-agent.mdcarries the seven-criterion rubric in prose;prompts/decompose-agent.mdthe triage and 26 DAG-construction rules), and script constants (scripts/submit.py:TARGET_PROJECT = "RHAI",STRAT_LABEL,COMPONENTS_PATH;scripts/fetch_strategy.py: the hard-codedRHAISTRAT-NNNN-strategy.mdattachment match).Cross-stage handoff contract evidence (commit SHAs)
The handoff-contract claims in the Cross-stage handoff section are verified against strat-creator main (
a8f29800bc90644d0edafc54dd4a905c789eefec):tests/fixtures/epic-decomposer-contract.yamlrecords what Epic Decomposer reads (project, issue type, labels, target-version field, id pattern, attachment pattern, strategy headings, HLR priorities) "as data so a test can check a strat-creator type against it without importing epic-creator".types/initiative-strategy/type.yamlcarries the station-specific identity fields (id_field: strat_id,tracker_key_field: jira_key), the ruledrelation.kind: self(AISDLC-461), and theinputs:block as carried data ("the stations import nothing from each other").