Skip to content

Releases: Hsi431/continuation-layer

Continuation Layer v0.1.0 Preview

Pre-release

Choose a tag to compare

@Hsi431 Hsi431 released this 30 Jun 09:08

Continuation Layer v0.1.0 Preview

Continuation Layer v0.1.0 is a Codex-first preview for durable continuation of long-running CLI coding-agent tasks.

This is a preview release, not a stable automation platform. It is ready for dogfooding and public evaluation with conservative safety boundaries.

Completed

  • Durable .agent task state and validation.
  • continuity init, status, snapshot, start, resume, continue, overnight, complete, and new-task.
  • Codex adapter and supervisor.
  • Cooldown detection and recorded same-session resume state.
  • Codex continuity skill and plugin package.
  • Codex lifecycle hooks for session start, stop, pre-compact, and post-compact.
  • Context handoff before child continuation.
  • Codex child continuation through codex fork.
  • Guarded overnight auto-continuation.
  • Task completion, handoff archive, and stale-state cleanup.
  • Apache-2.0 licensing.
  • Basic CI for formatting, syntax, tests, and package dry-run.

Safety Boundaries

  • No account rotation.
  • No provider-limit bypass.
  • No fake reset windows.
  • No long sleeps inside hooks.
  • No automatic commits.
  • No automatic PRs.
  • No continuation from incomplete handoff state.
  • Provider-private session storage is diagnostics only; .agent state and git state are the source of truth.

Known Limitations

  • v0.1 is Codex-first.
  • Claude Code is a future v1 provider path, not a first-class runtime yet.
  • Provider CLI behavior can change.
  • Session-id extraction is best-effort from provider output.
  • Real provider smoke tests are opt-in and are not run in CI.
  • Context continuation asks for user confirmation unless overnight mode is explicitly enabled.
  • Plugin installation workflows may vary by Codex environment; start a new thread after installing or updating the plugin.

Install Notes

git clone https://github.com/Hsi431/continuation-layer.git
cd continuation-layer
npm install
npm link

From a git repo you want to protect:

continuity init --task-id my-task
continuity status
continuity start --dry-run "describe the task"

Upgrade Notes

  • Existing v0 dogfood .agent state should be reviewed before sharing publicly.
  • The root .agent/ directory in this repository is intentionally committed as a sanitized dogfood example.
  • Active handoff/snapshot files can be archived with continuity complete or reset with continuity new-task --task-id <id>.
  • Reinstall or relink the Codex plugin after local plugin changes, then start a new Codex thread.

Roadmap

  • v0.x: dogfood feedback, packaging polish, clearer plugin install docs, opt-in provider smoke tests.
  • v1: Claude Code provider path, claude --resume, claude --continue, claude --fork-session, Claude StopFailure integration, and stronger recovery policy.