Skip to content

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

Open
JessicaMulein wants to merge 3 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 3 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

JessicaMulein and others added 3 commits June 14, 2026 14:05
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>
Add package-boundary, EARS report/prompt, job timeouts, markdown
roundtrip, and gen-agent explore/deepen tests. Document test layout
in tests/spec/README.md (124 tests, no BrightVision imports).

Co-authored-by: Cursor <cursoragent@cursor.com>
When BV_COMPACT_SPEC_GEN disables explore/deepen, cap the write one-shot at
turn_timeout - 60s instead of 55% of turn (which caused ~990s failures on
1800s jobs). Add unit test for the compact path.

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.

1 participant