Skip to content

AISDLC-61: Add ADR 0001 — descriptor-driven planning workloads - #67

Closed
amastbau wants to merge 2 commits into
fullsend-ai:mainfrom
amastbau:adr/0001-descriptor-driven-planning-workloads
Closed

amastbau wants to merge 2 commits into
fullsend-ai:mainfrom
amastbau:adr/0001-descriptor-driven-planning-workloads

Conversation

@amastbau

Copy link
Copy Markdown

Summary

AISDLC-61: record the architecture decision for pluggable planning workloads in Epic Decomposer — a validated workload descriptor contract, shared stage routing, and per-workload intake, review and submission policy, with RHAI Initiatives as the first new target workload.

Split from the implementation PR #40 so the decision can be reviewed on its own. Status: Proposed — awaiting team review.

Docs-only change: adds docs/ADRs/0001-descriptor-driven-planning-workloads.md and introduces the docs/ADRs/ convention.

🤖 Generated with Claude Code

Record the architecture decision behind AISDLC-61: a validated
workload descriptor contract, shared stage routing, and per-workload
intake, review and submission policy, with RHAI Initiatives as the
first new target workload. Split from the implementation PR so the
decision can be reviewed on its own.

Signed-off-by: Amos Mastbaum <amastbau@redhat.com>
@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

No findings to report

Grey Divider

Tip of the day
💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

⚠️ Qodo did not complete this review — the change was judged trivial and was not reviewed — so this is not a clean bill of health, and approval was withheld.

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

AISDLC-61: Add ADR 0001 — descriptor-driven planning workloads

📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Records the decision to make Epic Decomposer workloads data-driven via validated, versioned
 descriptors.
• Introduces the docs/ADRs/ convention and ADR 0001, status Proposed, awaiting team review.
• Documents the RHAI Initiatives intake, submission, and recovery contract; implementation lives in
 PR #40.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 0 capabilities

  • No production behavior changes identified.
Behavioral complexity 🟢 Low 🧩 Assessed behavior

  • No production behavior changes identified.
Potential damage 🟢 Low 🩹 Assessed behavior

  • No production behavior changes identified.
Assessed commit 8a40015
Diagram

graph TD
  A["--workload ID"] --> B["workloads/rhai-initiative.yaml"] --> C["Shared stages: fetch, decompose, review, revise"] --> D["Artifacts bound to descriptor digest"] --> E["submit.py --workload ID"] --> F[(Jira)]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Executable per-workload plugin modules
  • ➕ Maximum flexibility for workload-specific logic
  • ➕ Logic can be unit-tested directly in code
  • ➖ Loads code per workload, enlarging the trust and review surface
  • ➖ Stage dispatch still needs hooks in shared code
2. Flag or env-var configuration without a schema
  • ➕ Smallest change, no new file format
  • ➕ Easy to adopt incrementally
  • ➖ No validation of unknown or conflicting workload identities before writes
  • ➖ Hard to version and bind artifacts to a specific configuration

Recommendation: The data-driven descriptor approach is sound for this scope: it keeps stage mechanics shared, avoids per-workload forks, and avoids loading untrusted code. The ADR already weighs forking, branching in shared code and waiting for a shared engine. Executable per-workload plugins are the main alternative it does not weigh explicitly; the descriptor's no-plugin rule is what keeps the approach reviewable and safe, so it should stay. Consider noting the rejected plugin option in the Options section for completeness.

Files changed (1) +211 / -0

Documentation (1) +211 / -0
0001-descriptor-driven-planning-workloads.mdNew ADR recording descriptor-driven planning workload architecture +211/-0

New ADR recording descriptor-driven planning workload architecture

• Adds Proposed ADR 0001 covering context from upstream strat-creator and rfe-creator designs, the four options considered, and the decision to use a validated versioned workload descriptor selected once at entry. Covers binding, submission and recovery rules, consequences, and implementation status with verification limits. Introduces the docs/ADRs/ directory convention.

docs/ADRs/0001-descriptor-driven-planning-workloads.md

Signed-off-by: Amos Mastbaum <amastbau@redhat.com>
@amastbau

Copy link
Copy Markdown
Author

Closing: the ADR belongs in the fullsend repository's ADR corner, where the decision-record conventions live. It is now proposed as fullsend-ai/fullsend#9965 (ADR 0166). The epic-creator implementation stays in #40.

@amastbau amastbau closed this Nov 30, 2026
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