Skip to content

Close shipped workflow-fit plan item#118

Merged
azalio merged 2 commits into
mainfrom
codex/2604-038-close-workflow-fit-plan
May 16, 2026
Merged

Close shipped workflow-fit plan item#118
azalio merged 2 commits into
mainfrom
codex/2604-038-close-workflow-fit-plan

Conversation

@azalio
Copy link
Copy Markdown
Owner

@azalio azalio commented May 16, 2026

Summary

  • Move the already-shipped workflow-fit/off-ramp idea [2604.038] from the active improvement plan to the done ledger with repo evidence.
  • Record the loop validation boundary and reusable stale-plan check in the loop log and learned command patterns.

Validation

  • python \"/Users/azalio/.config/opencode/skills/improvement-plan-loop/scripts/idea_index.py\" .
  • pytest tests/test_map_step_runner.py::test_record_workflow_fit_creates_decision_and_manifest tests/test_template_sync.py -v
  • generated-project smoke: mapify init + record_workflow_fit direct-edit ... produced needs_map=false
  • make lint
  • pytest -m \"not slow\"

Boundary

  • Full pytest was attempted but exceeded the tool timeout at the live Claude SDK TestMapEfficientE2E::test_efficient_produces_code_changes; the isolated test also exceeded 15 minutes without a deterministic assertion failure.

Copilot AI review requested due to automatic review settings May 16, 2026 21:16
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

This PR closes a stale workflow-fit improvement-plan item by moving it from the active backlog to the done ledger and recording loop learnings around detecting already-shipped ideas.

Changes:

  • Removed [2604.038] from the active improvement plan.
  • Added a done-ledger entry with repo evidence for the shipped workflow-fit/off-ramp behavior.
  • Added loop-log and learned-command notes for checking stale active ideas before rebuilding them.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
docs/learned/commands.md Adds a reusable command pattern for closing already-shipped active ideas.
docs/improvement-plan.md Removes the stale workflow-fit/off-ramp active plan item.
docs/improvement-loop-log.md Records the loop decision, validation boundary, and reusable learnings.
docs/improvement-done.md Adds [2604.038] to the done ledger with evidence.

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

Comment thread docs/improvement-loop-log.md Outdated
- Review Result: Diff review confirmed the change is documentation/ledger-only and does not alter runtime behavior.
- Next Trigger: Reuse this learning whenever an active plan item references behavior already visible in runtime code, generated templates, docs, and tests.
- Reusable Learnings:
- command: `python "/Users/azalio/.config/opencode/skills/improvement-plan-loop/scripts/idea_index.py" .`
Comment thread docs/learned/commands.md Outdated
- **Use non-existent target paths for init smoke tests** (2026-05-15): `mapify init <path>` creates the target directory, so do not pre-create it with `mktemp -d`; pass a unique path under an existing temp parent and then inspect the generated `.claude/` artifacts. [workflow: improvement-plan-loop]
- **Grep stale skill names during taxonomy changes** (2026-05-15): When skill catalog docs change, search for removed or non-shipped skill names such as `map-workflows-guide` and `map-cli-reference`; generated install smoke tests prove current templates emit metadata, but they do not catch every stale prose reference. [workflow: improvement-plan-loop]
- **Validate run health reports in CI handoff** (2026-05-16): Use `python3 .map/scripts/map_step_runner.py validate_run_health_report [path]` after `write_run_health_report` when a workflow closeout must fail on schema drift, retry overflow, missing verification evidence, or unexplained hook degradation. [workflow: improvement-plan-loop]
- **Close already-shipped active ideas with repo evidence** (2026-05-16): Before implementing an active improvement-plan item, run the idea indexer and grep runtime, shipped templates, docs, and tests for the core artifact or route names; if the capability already exists, move the exact `[idea_id]` to done with evidence instead of rebuilding it. [workflow: improvement-plan-loop]
Comment thread docs/improvement-done.md Outdated
- Repo evidence: `.map/scripts/map_step_runner.py` and the shipped template copy define `WORKFLOW_FIT_ROUTES`, persist `.map/<branch>/workflow-fit.json` through `record_workflow_fit`, and mark `direct-edit` as `needs_map=false`.
- Repo evidence: `src/mapify_cli/schemas.py` includes `WORKFLOW_FIT_DECISION_SCHEMA` with `direct-edit`, `map-fast`, `map-efficient`, `map-tdd`, and `map-plan` routes.
- Repo evidence: `.claude/skills/map-plan/SKILL.md` and shipped template copies require the workflow-fit gate before planning and explicitly stop on `direct-edit` or `map-fast` off-ramp outcomes.
- Repo evidence: README, `docs/USAGE.md`, `docs/ARCHITECTURE.md`, `docs/roadmap.md`, and regression/e2e tests already document and validate the off-ramp behavior.
@azalio
Copy link
Copy Markdown
Owner Author

azalio commented May 16, 2026

Addressed Copilot review comments in aacf865:

  • Removed the developer-specific absolute path from the reusable loop learning.
  • Reworded the learned command so it uses portable active/done heading inspection plus repo searches instead of an unavailable external indexer.
  • Added tests/test_map_step_runner.py::test_record_workflow_fit_direct_edit_marks_needs_map_false and softened the done-ledger wording so it no longer overstates prior checked-in coverage.

Local validation after fixes:

  • pytest tests/test_map_step_runner.py::test_record_workflow_fit_creates_decision_and_manifest tests/test_map_step_runner.py::test_record_workflow_fit_direct_edit_marks_needs_map_false tests/test_template_sync.py -v
  • make lint
  • pytest -m "not slow"

@azalio azalio merged commit 84e1870 into main May 16, 2026
6 checks passed
@azalio azalio deleted the codex/2604-038-close-workflow-fit-plan branch May 16, 2026 22:22
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