Skip to content

v1.1.0 — Session Resume for Human Studies

Choose a tag to compare

@Imbad0202 Imbad0202 released this 02 May 13:26
· 29 commits to main since this release
v1.1.0
e291e7d

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_agent now 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 at templates/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: resume requires 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-upgrade command
  • 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 resume or 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