Skip to content

Extend APS orchestration CLI#40

Merged
joshuaboys merged 1 commit into
devfrom
feat/orch-cli-phase2
May 12, 2026
Merged

Extend APS orchestration CLI#40
joshuaboys merged 1 commit into
devfrom
feat/orch-cli-phase2

Conversation

@joshuaboys
Copy link
Copy Markdown
Contributor

Summary

  • Add aps start, aps complete, and aps graph to the bash CLI orchestration layer.
  • Generate ephemeral .aps/context/<ID>.md packages on start, including module scope, dependency learnings, and related files.
  • Install orchestration support files with APS scaffolding and ignore generated context packages.

APS Work Items

  • ORCH-001: Implement aps next command (Complete)
  • ORCH-002: Implement aps start and aps complete (Complete)
  • ORCH-003: Implement context packaging (Complete)
  • ORCH-004: Implement aps graph (Complete)

Review

  • Reviewed with code-reviewer agent; initial findings were addressed.
  • Follow-up review reported no blocking findings.

Test Plan

  • bash test/run.sh
  • npx markdownlint-cli "**/*.md"

@joshuaboys joshuaboys requested a review from Copilot May 12, 2026 01:01
@joshuaboys joshuaboys merged commit 42a6bd3 into dev May 12, 2026
5 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an orchestration layer to the APS bash CLI to help users progress work items (next, start, complete) and inspect dependency structure (graph), including generation of ephemeral context packages for in-progress work.

Changes:

  • Add aps start, aps complete, and aps graph commands plus context package generation (.aps/context/<ID>.md).
  • Update scaffolding to install orchestration support files and ignore generated context output.
  • Expand test suite/fixtures to cover orchestration flows and init-time installation behavior.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
bin/aps Wires new orchestration subcommands into the CLI and updates help text/examples.
lib/orchestrate.sh Implements start/complete/graph and context package generation + markdown mutation helpers.
lib/scaffold.sh Ensures orchestration library is installed and .aps/context is ignored on init; updates migrate cleanup list.
test/run.sh Adds orchestration tests and verifies init installs orchestration support + ignore rules.
test/orchestrate.sh Adds end-to-end tests for next/start/complete/graph including context regeneration behavior.
test/fixtures/orchestrate/plans/modules/core.aps.md Adjusts fixture module/item status + adds a Learning used by dependency-learning extraction tests.
test/fixtures/orchestrate/plans/modules/auth.aps.md Adds Files field for context packaging and adds a “final item before decisions” edge-case fixture.
plans/modules/orchestrate.aps.md Updates orchestration work item statuses to Complete.
.gitignore Ignores generated .aps/context/ packages in the repo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/orchestrate.sh
orch_emit_section "$file" "Interfaces"
echo
echo "## Decisions"
orch_emit_section "$file" "Decisions" || true
Comment thread lib/orchestrate.sh
Comment on lines +435 to +440
if (mode == "learning") {
learning_line = "- **Learning:** \"" value "\""
if (validation_idx >= 0) {
insert_idx = validation_idx
# advance past any multi-line continuation under Validation
while (insert_idx + 1 < bcount && continuation_line(insert_idx + 1)) insert_idx++
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