Skip to content

Agent Context Patch v0.5.0

Choose a tag to compare

@Cherwayway Cherwayway released this 19 Jul 08:59
Immutable release. Only release title and notes can be modified.
7831b49

Agent Context Patch v0.5.0

Release commit: 7831b49
Artifact SHA-256: 651cabdf4f12eeebf41701605a2e7cc54597b7765afb16bc26620ae23d0e43ef

Highlights

  • Adds a deterministic Lifecycle Coordinator around the existing Commit Kernel.
  • Resumes an interrupted eligible auto proposal or exact approved proposal only while every target still matches the persisted beforeHash state.
  • Fails closed for mixed targets, semantic drift, and targets matching afterHash without an applied audit; matching bytes never fabricate provenance.
  • Allows one narrow never-applied approved -> superseded transition only after a real stale conflict and a valid named replacement.
  • Promotes proposal parsing and validation into production and protects proposal audit writes with an ownership lock, source-hash CAS, exact-source retry, and post-rename idempotence.

Compatibility and safety

  • Kit Version: 0.5.0.
  • Workspace Schema: reads and writes Schema 1. No migration is required.
  • The Commit Kernel public interface and existing plan-hash, approval-hash, privacy, path, config, rollback, and before-hash protections remain unchanged.
  • Reconciliation returns content-safe IDs, statuses, actions, reasons, and relative targets; it does not return proposal prose, target content, PatchPlan content, or absolute paths.
  • Current approval-only proposals remain non-blocking, while stale or unsafe lifecycle states remain blocking.
  • There is no new public command, daemon, startup scan, installer scan, update scan, sidecar receipt, or background polling.

Upgrade from v0.4.0

Run $evolve update, review the exact UpdatePlan and plan hash, then approve the replacement. The update replaces only the user-level evolve Skill and preserves a complete v0.4.0 recovery copy. It does not scan or edit workspace context, AGENTS.md, or CLAUDE.md. Start a new Agent task after a successful update.

Existing Schema 1 workspaces remain compatible and are not migrated or rewritten merely to refresh Kit metadata.

Verification

  • The exact release commit passed npm test on Windows and Ubuntu in GitHub Actions.
  • The exact prefixed release archive passed npm test on Windows: 162 tests, 142 passed, 20 platform skips, 0 failures.
  • A real immutable v0.4.0 asset upgraded to this exact archive through UpdateDryRun and UpdateApply; the installed Skill reported 0.5.0, retained the complete v0.4.0 backup, left the workspace untouched, required a new Agent task, and a second dry-run returned NoUpdate.
  • Standards and Issue #5 specification reviews completed with no remaining findings.

Current limits

Issue #4 remains open. This release repairs lifecycle consistency for interrupted auto work and stale approval-waiting plans, but it does not yet add end-of-task detect / propose / apply observability, existing-workspace policy or adapter drift diagnosis, a concise semantic review surface for tighten, automatic tighten, or durable post-success undo. tighten continues to require human approval.