Skip to content
Agentmart
Submit a tool

agent-continuity

H-13 long-running agent harness continuity per §26 v1.11.

Skill by drumfiend21

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drumfiend21-agent-continuity

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

H-13 long-running agent harness continuity per §26 v1.11. When a CL exceeds a single agent context window, the initializer agent writes a continuation artifact at `.claude-tdd-pro/agent-continuations/<session_id>.json` and the incremental successor agent reads it at startup to resume from `next_action` without losing the §2.15 workflow state envelope.

Use cases: testing, productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-continuity

What's inside

Skill name
agent-continuity
Description
H-13 long-running agent harness continuity per §26 v1.11. When a CL exceeds a single agent context window, the initializer agent writes a continuation artifact at `.claude-tdd-pro/agent-continuations/<session_id>.json` and the incremental successor agent reads it at startup to resume from `next_action` without losing the §2.15 workflow state envelope.
License
Apache-2.0
Instructions
57 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# agent-continuity — H-13 / v1.11 §26

Architecture §11 H-13: "Long-running agent harness continuity (§2.27).
When a single CL exceeds an agent's context window, the harness writes
a continuation artifact at
`.claude-tdd-pro/agent-continuations/<session_id>.json`."

## Schema (§2.27 verbatim)

```json
{
  "parent_session_id": "<id>",
  "parent_cl_id": "<id>",
  "current_phase": "<phase-id>",
  "completed_steps": [
    { "step_id": "<id>", "completed_at": "<iso>", "summary": "<text>" }
  ],
  "pending_steps": [
    { "step_id": "<id>", "queued_at": "<iso>", "prerequisite_ids": ["<id>"] }
  ],
  "context_summary": "<= 500 char",
  "last_tool_calls": [
    "<= 10 entries"
  ],
  "next_action": { "action": "<text>", "rationale": "<text>" }
}
```

## Substrate

`commands/agent-continuity.sh` provides three subcommands:

- `--write`   — initializer writes the artifact at session boundary
- `--read`    — successor reads + validates the parent_session_id
- `--purge-stale` — TTL purge (24h since last write; per §2.27)

## Invariants

- **Parent session must be active.** `--read` validates that
  `parent_session_id` references an envelope in
  `.claude-tdd-pro/workflow-state.json` (§2.15). Stale parent → refuse.
- **No contract-relaxation.** Resumption preserves §2.23 lock-section
  ownership, §2.7 source-folder ownership, and §2.25 vocabulary
  fidelity. The artifact is a context-window-crossing mechanism, not
  an escape hatch.
- **24-hour TTL.** Stale artifacts are stale state, not historical
  record. Purge daily via `--purge-stale --now <iso>`.

## Cross-references

- §2.27 — the contract surface
- §2.15 — workflow state envelope (the `_resumable` block)
- §2.23 — concurrent CL contract (continuation does not bypass)
- W-3 — workflow state machine (consumer of resumed envelope)
- §2.8 — provenance manifest (artifact citation in `models_used` block)

From drumfiend21/claude-tdd-pro, Apache-2.0.

More from drumfiend21/claude-tdd-pro

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 29, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from drumfiend21

Cite this page

agent-continuity skill. Agent Mart. https://agentmart.dev/skills/drumfiend21-agent-continuity (last updated 2026-10-24)