feat(acms): implement ACMS pipeline output components — PreambleGenerator, SkeletonCompressor, and context inheritance #7403

Open
opened 2026-04-10 19:03:19 +00:00 by HAL9000 · 0 comments
Owner

Metadata

  • Commit Message: feat(acms): implement ACMS pipeline output components — PreambleGenerator, SkeletonCompressor, context inheritance
  • Branch: feature/m5-acms-pipeline-output
  • Milestone: v3.4.0
  • Parent Epic: #935

Background and Context

The final two pipeline components produce the output context and handle context inheritance for child plans. These are the last pieces needed to make the ACMS pipeline fully functional end-to-end.

Expected Behavior

  1. PreambleGenerator: Generates a structured preamble for the assembled context (task description, constraints, key decisions)
  2. SkeletonCompressor: Compresses parent plan context into a skeleton for child plans using depth-reduction algorithm
  3. Context Inheritance: Skeleton context propagates from parent to child plans automatically

Acceptance Criteria

  • PreambleGenerator generates structured preamble with task description and key constraints
  • SkeletonCompressor reduces context depth for child plan inheritance
  • Context inheritance: child plans receive skeleton context from parent plan
  • Full pipeline end-to-end: ContextRequestAssembledContext with all 10 components
  • context.get A2A handler returns real assembled context (not {"stub": True})
  • Robot integration test for full pipeline execution
  • Coverage >= 97%

Dependencies

  • Must be done after: #7400 (ACMS pipeline core components)
  • Must be done after: #7402 (ACMS pipeline post-processing components)

Subtasks

  • Implement PreambleGenerator.generate() with structured preamble format
  • Implement SkeletonCompressor.compress() with depth-reduction algorithm
  • Implement context inheritance in PlanExecutionContext — pass skeleton to child plans
  • Wire full pipeline in ContextAssemblyPipeline.assemble() — all 10 components in sequence
  • Remove stub from A2A context.get handler — wire to ContextAssemblyPipeline
  • Tests (Behave): Add scenarios for PreambleGenerator
  • Tests (Behave): Add scenarios for SkeletonCompressor
  • Tests (Behave): Add scenario for full pipeline end-to-end
  • Tests (Robot): Add integration test for full pipeline execution
  • Verify coverage >= 97% via nox -s coverage_report
  • Run nox (all default sessions), fix any errors

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.

Automated by CleverAgents Bot
Supervisor: Epic Planner | Agent: epic-planning-pool-supervisor

## Metadata - **Commit Message**: `feat(acms): implement ACMS pipeline output components — PreambleGenerator, SkeletonCompressor, context inheritance` - **Branch**: `feature/m5-acms-pipeline-output` - **Milestone**: v3.4.0 - **Parent Epic**: #935 ## Background and Context The final two pipeline components produce the output context and handle context inheritance for child plans. These are the last pieces needed to make the ACMS pipeline fully functional end-to-end. ## Expected Behavior 1. **PreambleGenerator**: Generates a structured preamble for the assembled context (task description, constraints, key decisions) 2. **SkeletonCompressor**: Compresses parent plan context into a skeleton for child plans using depth-reduction algorithm 3. **Context Inheritance**: Skeleton context propagates from parent to child plans automatically ## Acceptance Criteria - [ ] `PreambleGenerator` generates structured preamble with task description and key constraints - [ ] `SkeletonCompressor` reduces context depth for child plan inheritance - [ ] Context inheritance: child plans receive skeleton context from parent plan - [ ] Full pipeline end-to-end: `ContextRequest` → `AssembledContext` with all 10 components - [ ] `context.get` A2A handler returns real assembled context (not `{"stub": True}`) - [ ] Robot integration test for full pipeline execution - [ ] Coverage >= 97% ## Dependencies - [ ] Must be done after: #7400 (ACMS pipeline core components) - [ ] Must be done after: #7402 (ACMS pipeline post-processing components) ## Subtasks - [ ] Implement `PreambleGenerator.generate()` with structured preamble format - [ ] Implement `SkeletonCompressor.compress()` with depth-reduction algorithm - [ ] Implement context inheritance in `PlanExecutionContext` — pass skeleton to child plans - [ ] Wire full pipeline in `ContextAssemblyPipeline.assemble()` — all 10 components in sequence - [ ] Remove stub from A2A `context.get` handler — wire to `ContextAssemblyPipeline` - [ ] Tests (Behave): Add scenarios for PreambleGenerator - [ ] Tests (Behave): Add scenarios for SkeletonCompressor - [ ] Tests (Behave): Add scenario for full pipeline end-to-end - [ ] Tests (Robot): Add integration test for full pipeline execution - [ ] Verify coverage >= 97% via `nox -s coverage_report` - [ ] Run `nox` (all default sessions), fix any errors ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. --- **Automated by CleverAgents Bot** Supervisor: Epic Planner | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.4.0 milestone 2026-04-10 19:04:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#7403
No description provided.