docs(status): align agent status maps to the canonical (nested) status model #385

Merged
chaim merged 1 commits from worktree-status-docs-refresh into main 2026-06-30 19:52:52 +00:00
Owner

המשך ל-SSoT-הסטטוסים (#382): רענון התיעוד שעדיין מסגר את analyst_verified/research_complete כ-legacy.

  • HEARTBEAT.md §7 — נכתב מחדש: מצביע על המקור-היחיד (case_status_model.py / GET /api/status-model), 12 הסטטוסים לפי שלב, ושני הביניים מסומנים קנוניים; מצבים ישנים (proofread/analysis_enriched/…) = fallback-תצוגה בלבד.
  • legal-qa.md / legal-ceo.md — הוסר מסגור "legacy/optional" מ-research_complete; הפנייה למודל הקנוני.
  • backfill_case_status_trim.pyanalyst_verified+research_complete הוסרו ממפת-ההורדה (סטטוסים תקפים שוב — אסור להוריד) + עדכון docstring.

תיעוד/פרומפטים בלבד — בלי שינוי-התנהגות. py_compile .

הערה: עץ-המארח ~/legal-ai צריך git pull כדי שסוכני-Paperclip יקראו את הפרומפטים המעודכנים (הם רצים על עץ-המארח, לא בקונטיינר).

🤖 Generated with Claude Code

המשך ל-SSoT-הסטטוסים (#382): רענון התיעוד שעדיין מסגר את `analyst_verified`/`research_complete` כ-legacy. - **HEARTBEAT.md §7** — נכתב מחדש: מצביע על המקור-היחיד (`case_status_model.py` / `GET /api/status-model`), 12 הסטטוסים לפי שלב, ושני הביניים מסומנים קנוניים; מצבים ישנים (proofread/analysis_enriched/…) = fallback-תצוגה בלבד. - **legal-qa.md / legal-ceo.md** — הוסר מסגור "legacy/optional" מ-`research_complete`; הפנייה למודל הקנוני. - **`backfill_case_status_trim.py`** — `analyst_verified`+`research_complete` הוסרו ממפת-ההורדה (סטטוסים תקפים שוב — אסור להוריד) + עדכון docstring. תיעוד/פרומפטים בלבד — בלי שינוי-התנהגות. `py_compile` ✅. > **הערה:** עץ-המארח `~/legal-ai` צריך `git pull` כדי שסוכני-Paperclip יקראו את הפרומפטים המעודכנים (הם רצים על עץ-המארח, לא בקונטיינר). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-30 19:52:45 +00:00
docs(status): align agent status maps to the canonical (nested) status model
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 3s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
5867f7175f
Follow-up to the status SSoT (#382): analyst_verified + research_complete are
now first-class canonical statuses, so refresh the docs that still framed them
as legacy/decorative.

- HEARTBEAT.md §7: rewritten to point at the single source
  (case_status_model.py / GET /api/status-model), list the 12 canonical statuses
  by phase, and state the two intermediates are canonical (not legacy); genuinely
  old markers (proofread/analysis_enriched/…) are display-only fallbacks.
- legal-qa.md / legal-ceo.md status maps: dropped the "legacy/optional" framing
  on research_complete; point to the canonical model.
- scripts/backfill_case_status_trim.py: removed analyst_verified +
  research_complete from the downgrade map (they are valid statuses again — must
  NOT be downgraded) + updated the docstring.

Docs/prompts only — no behaviour change. py_compile clean.
NOTE: the host ~/legal-ai needs `git pull` for the Paperclip agents to pick up
the refreshed prompts (they run on the host tree, not the container).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 425305844a into main 2026-06-30 19:52:52 +00:00
chaim deleted branch worktree-status-docs-refresh 2026-06-30 19:52:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#385