smriti/backend/tests/integration
Himanshu Dongre beae3b5c9b Add stable task IDs and task-referenced claims for collision detection
Tasks gain an optional id field (short slug like "impl-1", "docs-arch").
Claims gain an optional task_id field referencing a specific task. The
state brief shows (id: X) on tasks and (task: X) on claims, making it
precise which task a claim covers.

Skill pack v1.9 teaches the recheck pattern: after creating a claim,
re-read state to detect if another agent claimed the same task_id in
the race window. If collision detected, abandon and pivot.

This solves the near-simultaneous start problem from the autonomy
validation where both agents picked [docs] because claims had no
task-level identity.
2026-04-14 00:16:46 +05:30
..
__init__.py Initial public release 2026-03-22 13:48:50 +05:30
conftest.py Initial public release 2026-03-22 13:48:50 +05:30
test_api_v2_git.py Initial public release 2026-03-22 13:48:50 +05:30
test_api_v4_chat.py Record project_root and author_agent on checkpoints 2026-04-11 18:08:13 +05:30
test_api_v5_lineage.py Harden lineage note indicator semantics 2026-04-13 20:44:07 +05:30
test_branch_disposition.py Add branch disposition for lifecycle closure: integrated, abandoned, active 2026-04-13 13:03:22 +05:30
test_checkpoint_extract.py Add structured tasks with intent hints for autonomous work selection 2026-04-13 22:27:32 +05:30
test_claims.py Add stable task IDs and task-referenced claims for collision detection 2026-04-14 00:16:46 +05:30
test_delete_endpoints.py Add delete endpoints for spaces, checkpoints, and sessions 2026-04-11 17:25:36 +05:30
test_health.py Add capabilities manifest to /health for stale-backend detection 2026-04-13 23:06:34 +05:30
test_multi_branch_state.py Add multi-branch space state endpoint 2026-04-12 01:58:03 +05:30
test_structured_tasks.py Add end-to-end integration tests for structured task round-trip 2026-04-13 22:48:48 +05:30