Skip to content

feat(spec): lift spec/EARS/todos into cecli.spec#574

Open
JessicaMulein wants to merge 7 commits into
cecli-dev:mainfrom
Digital-Defiance:pr/spec-development
Open

feat(spec): lift spec/EARS/todos into cecli.spec#574
JessicaMulein wants to merge 7 commits into
cecli-dev:mainfrom
Digital-Defiance:pr/spec-development

Conversation

@JessicaMulein

Copy link
Copy Markdown

Summary

  • Add cecli/spec/ package: EARS lint/index/trace, workspace todos, spec generate/refine, implement focus, agent todo linking (~5.8k LOC + tests).
  • Introduce SpecTurnRunner / AgentTodoSession protocols so BrightVision HTTP session glue stays out of cecli.
  • Move 100 unit tests to cecli/tests/spec/.

Test plan

  • python -m pytest cecli/tests/spec/ -q (100 passed)
  • BrightVision tests/core/test_http_generate_spec_mock.py, test_spec_gen_agent.py, test_spec_job_debug.py

Move workspace todos, EARS lint/index/trace, spec generate/refine,
implement focus, and agent todo linking from BrightVision into a
standalone cecli.spec package with SpecTurnRunner protocol for HTTP glue.

Co-authored-by: Cursor <cursoragent@cursor.com>
JessicaMulein and others added 6 commits June 15, 2026 09:04
Add progress.py for merging agent done state into preserved tasks_md,
stable checklist IDs on import, materialize checklist from tasks_md,
and try_mark_focus_step_complete for verify/flutter gates.

Co-authored-by: Cursor <cursoragent@cursor.com>
Covers checklist population when PATCH sets tasks_md on an empty checklist.

Co-authored-by: Cursor <cursoragent@cursor.com>
Export progress/pubspec from cecli.spec; bright-vision-tasks subcommands
(materialize, progress, sync-agent, repair-pubspec); inject missing pub
deps into implement workspace snapshot.

Co-authored-by: Cursor <cursoragent@cursor.com>
Black-wrap tasks_cli and test_pubspec_repair; drop unused json import in test_tasks_cli.

Co-authored-by: Cursor <cursoragent@cursor.com>
Stale per-session todo.txt no longer overwrites merged tasks_md after workspace import-agent-plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose scan_steering_files and scaffold_steering_files for .cecli/STEERING.md
and .cecli/steering/*.md so BrightVision and bright-vision-tasks can list and
create project steering without duplicating logic in the HTTP layer.

Co-authored-by: Cursor <cursoragent@cursor.com>
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