Add managed parallel delivery - #7
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe release adds coordinator-managed adaptive delivery, bounded native worker adapters, durable delegation records, protected parallel-delivery configuration, installation wiring, documentation, and tests for migration, guardrails, artifacts, and packed installs. ChangesAdaptive delivery coordination
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant PrimaryAgent
participant CoordinateParallelDelivery
participant NativeWorker
participant ProjectPolicy
participant Verification
PrimaryAgent->>CoordinateParallelDelivery: select execution strategy
CoordinateParallelDelivery->>ProjectPolicy: read worker and isolation limits
CoordinateParallelDelivery->>NativeWorker: dispatch bounded read-only or isolated assignment
NativeWorker-->>PrimaryAgent: return findings and evidence
PrimaryAgent->>Verification: inspect, integrate, and verify output
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@bin/ultimate-agent-stack.mjs`:
- Around line 1378-1397: Update the `parallel-delivery` report’s error matching
to also recognize the whole-object validation error `"parallel_delivery must be
an object"` (or otherwise use the appropriate `validateConfig()` error scope),
ensuring `ok` is false whenever `config.parallel_delivery` is missing or
non-object while preserving existing field-error handling. Add a regression test
that deletes or replaces `parallel_delivery` with a non-object and asserts the
report named `parallel-delivery` has `ok === false`.
In `@docs/ARCHITECTURE.md`:
- Line 115: Update the DELEGATION.md entry in the durable-state table in
ARCHITECTURE.md to document the actual path
assets/project-template/.agent-stack/artifacts/DELEGATION.md, matching the
coordination skill’s .agent-stack/artifacts/DELEGATION.md reference.
- Around line 81-83: Update the architecture diagram’s coordination edge so
coordination originates from LOCK rather than RD, preserving the execution order
where shaping and locking occur before strategy selection. Keep the existing
PD-to-BV and bounded-delegation relationships unchanged, and ensure the diagram
matches the contract in SKILL.md.
In `@skills/coordinate-parallel-delivery/SKILL.md`:
- Line 59: Revise the serial fallback instruction near “Otherwise, continue
serially” so “without asking the user” applies only to selecting the delivery
strategy. Explicitly preserve required human-authority checkpoints for
credentials, destructive production actions, releases, legal/compliance risks,
and other irreversible decisions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: ce96d86d-0072-4490-8e4f-d5588ca43bb1
⛔ Files ignored due to path filters (2)
docs/assets/synthesis-map.svgis excluded by!**/*.svgpackage-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (27)
.codex-plugin/plugin.json.github/workflows/publish.yml.markdownlint-cli2.jsoncCHANGELOG.mdREADME.mdSTARTER_PROMPT.mdassets/project-template/.agent-stack/HANDOFF.mdassets/project-template/.agent-stack/artifacts/DELEGATION.mdassets/project-template/.agent-stack/core-policy.jsonassets/project-template/.claude/agents/uas-researcher.mdassets/project-template/.codex/agents/uas_researcher.tomlassets/project-template/.gemini/agents/uas-researcher.mdassets/project-template/.opencode/agents/uas-researcher.mdassets/project-template/AGENTS.mdassets/project-template/GEMINI.mdbin/ultimate-agent-stack.mjsdocs/ARCHITECTURE.mddocs/OPERATING_MANUAL.mddocs/SKILL_STACK.mddocs/SOURCES_AND_TRADEOFFS.mdpackage.jsonscripts/packed-smoke.mjsskills/coordinate-parallel-delivery/SKILL.mdskills/coordinate-parallel-delivery/agents/openai.yamlskills/coordinate-parallel-delivery/references/delegation-contract.mdskills/run-autonomous-delivery/SKILL.mdtest/agent-stack.test.mjs
|
@coderabbitai review |
✅ Action performedReview finished.
|
Outcome
Adds adaptive, primary-agent-managed parallel delivery while preserving a safe serial fallback. The user continues working through one conversation; the primary agent decides when native subagents help and owns assignment, monitoring, recovery, integration, verification, and cleanup.
What changed
coordinate-parallel-deliveryskill and durable delegation record--claudeDecisions and non-goals
Verification
npm run release:check— 38 tests passed; syntax, tarball inspection, and clean packed-install smoke passedquick_validate.pyvalidate_plugin.pynpx --yes markdownlint-cli2@0.20.0 **/*.md #CHANGELOG\ 2.md— 0 errors (the untracked owner fileCHANGELOG 2.mdremains untouched and outside this PR)git diff --check— cleanUpgrade, rollback, and monitoring
Existing project customizations are preserved as versioned reconciliation proposals. Legacy
isolated_independent_onlyconfig migrates to the new safe adaptive policy. Roll back by reverting this PR; no database or production migration is involved. Monitor CI, the current-head CodeRabbit review, unresolved threads, and the protected review-receipt check before merge.Known risk
Native harness schemas can evolve. The adapters are read-only and version-documented, while unsupported or uncertain capabilities fail back to serial execution.
Summary by CodeRabbit
New Features
Upgrade Impact
Documentation