Repository navigation
v1.1.0 — Session Resume for Human Studies
First-ship of study_manager_agent session resume (PR 1 of 2 for ROADMAP item v1.2.3). Multi-week or multi-month human studies now survive Claude session restarts via an artifact-anchored persistence model.
New: Session resume for human studies
study_manager_agentnow persists study state to disk on every state-changing turn- New
resume <study_id>command rebuilds context from the artifact at./<study_id>/state.md(or user-specified path) - Artifact format: Markdown + YAML frontmatter, schema_version 1. Template at
templates/study_state.md, worked example attemplates/study_state.example.md - Ethics status is now derived from per-item state with strict precedence (NOT_YET_ASSESSED → ETHICS_BLOCKED → ETHICS_PENDING → READY), mirroring the rules at the top of
references/irb_ethics_checklist.md. Frontmatter no longer stores ethics_status as a cached field. - IRB approval transitions trigger a category-based reconfirmation pass (categories 1, 2.2-2.5, 3.4-3.6, 4 applicable, 5.2). See
references/study_state_protocol.md"IRB approval reconfirmation set" - Stale-write detection via revision counter. Two Claude sessions writing the same artifact are now safe: the second writer detects the revision change and refuses
- Prompt-injection guard: artifact body content is treated as data describing the study, never as instruction directed at the agent
- Runtime requirement:
resumerequires Read/Write/Edit tool access (Claude Code OK; chat-only runtimes do not get persistence)
Out of scope for v1.1.0 (deferred to v1.2.0)
- External-edit detection (artifact edited externally with same revision)
- Vanished-file or moved-file recovery
- Multi-study concurrent in same workspace
- Explicit
ethics-upgradecommand - Slug-collision resolution (v1.1.0 refuses + asks user)
- Auto-archive or garbage collection of old artifacts
- Schema migration tooling
- Structural restructure of
agents/study_manager_agent.md
No breaking changes
- v1.0.1 users see no behavior change unless they invoke
resumeor start a study under the new persistence path - Material Passport schema unchanged; ARS coupling unchanged
Implementation provenance
Spec: 6 codex review rounds before implementation began. Plan: 10-task PDD-style with codex consult cross-model gate per task. 23 commits on the implementation branch (see PR #3 for full history) covering implementation + codex fixes + code-quality reviewer fixes.
Full changelog: v1.0.1...v1.1.0