Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Continuity Stack

Validate License: MIT Release

Keep project rules and context consistent across coding agents.

Version 3.0.0-rc.5 is the next release candidate under development for repository-centered instructions, skills, memory conventions, client adapters, and lifecycle safeguards across Codex, Cursor, Claude Code, and Google Antigravity. It is not a runtime memory service, agent orchestrator, or globally runtime-verified final release.

Latest published prerelease: v3.0.0-rc.4.

Repository identity

Repository and package ID: agent-continuity-stack

Canonical repository: ImYourBoyRoy/agent-continuity-stack

GitHub description:

Repository-centered instructions, skills, memory conventions, client adapters, and lifecycle safeguards for consistent work across AI coding agents.

Topics: agent-skills, agent-memory, ai-agents, coding-agents, codex, cursor, claude-code, antigravity, developer-tools, and workflow-automation, agent-instructions, and context-engineering.

Synopsis

The package supports continuity through three coordinated layers:

  1. GLOBAL_CUSTOM_INSTRUCTIONS.md is the complete Expert Agent Operating Contract template. It is canonical and must not be shortened when a user explicitly chooses the complete contract. Public installation is opt-in: installing skills does not authorize replacing or merging existing custom instructions.
  2. skills/ contains progressively disclosed workflows. Each skill is independently versioned and follows the portable Agent Skills format, including project-instruction, documentation, memory, verification, update, and release workflows.
  3. Client adapters, lifecycle schemas, integrity checks, ownership records, rollback procedures, and runtime smoke tests make installation reviewable and honest across supported coding agents.

Repository policy and host-managed safety instructions retain the precedence assigned by each client. The global contract does not grant tools, permissions, or authority withheld by the host or repository. Continuity is repository-centered: the package does not synchronize live conversations or provide a shared runtime memory database.

Release-candidate status

Surface Source/structure Live runtime
Codex 0.146.0-alpha.3 Validated Project contract and positive/near-miss skill smoke passed
Cursor 3.13.10 Validated, version-sensitive CLI 2026.07.23 is unauthenticated; pending
Claude Code Validated from current documentation Client not locally installed; pending
Antigravity IDE 1.107.0 Two-fragment adapter validated No proven headless agent surface; pending
Model-operated lifecycle Schemas and conformance fixtures Best-effort disposable exercise; never crash-atomic across clients

Final 3.0.0 requires the gates in MERGE_CHECKLIST.md.

Requirements

  • A reviewed local checkout or immutable release archive.
  • A coding agent with filesystem access explicitly authorized for the selected clients and scope.
  • Python 3.10 or newer only for the dependency-free validation helpers.
  • The target coding client for runtime discovery and smoke testing.

The skills themselves are Markdown and do not require Python. Do not execute a remote installation script or install every supported client automatically.

Quick start

Open the reviewed checkout in the selected coding client and give the coding agent this prompt. The agent performs the inspection and commands; the user reviews decisions and authorizes mutations rather than acting as a command runner.

Work from this reviewed checkout. Read AGENTS.md, README.md,
INSTALL_PROTOCOL.md, CLIENT_COMPATIBILITY.md, and the applicable repository
instructions.

Perform the package inspection yourself without changing client state:

python3 scripts/validate_bundle.py
python3 scripts/inspect_contract.py source
python3 scripts/inspect_tree.py . --exclude .git --exclude .env
python3 tests/run_portable_tests.py

Then inspect my installed coding-client versions, resolve their actual
instruction and skill roots, inventory existing instructions and skills, and
report status only. Do not install, merge, replace, update, create backups, or
change client configuration until I approve the exact plan, targets, conflict
handling, backup locations, tests, and rollback.

Do not ask me to run commands, inspect files, create backups, perform the
installation, or execute smoke tests. Those are the coding agent's
responsibilities within the authorized environment. Ask me only for decisions,
missing information that cannot be discovered safely, or authorization for the
reviewed mutation plan.

Status and planning are read-only. After approval, the coding agent executes the approved work itself, creates and verifies backups, performs fresh-session smoke tests, records lifecycle evidence, and reports the completed result and rollback path.

Choose the installation policy

The model must ask rather than infer these decisions:

Decision Safe choices
Clients Any explicit subset of Codex, Cursor, Claude Code, and Antigravity
Skill scope User-global, one or more named repositories, or both
Skill set All core skills, a named subset, and separately named optional skills
Existing instructions Preserve unchanged; guided additions; or explicitly install the complete contract
Operator profile Leave placeholders unresolved, or provide selected fields after the privacy warning

preserve unchanged is the public default. guided additions means the model proposes individually reviewable provisions for the user's existing instructions; it is not the canonical complete contract and must not be recorded or smoke-tested as one. install the complete contract installs the entire verified template through the client adapter and requires explicit approval.

The operator-profile fields are optional:

  • name;
  • email;
  • personal site;
  • GitHub profile;
  • PyPI profile.

The model must ask for each relevant field and accept “leave unset.” It must never infer identity or ownership from a username, Git metadata, environment file, or neighboring repository. Values placed in always-loaded instructions may be sent to the selected model providers.

Copy-paste installation prompt

Give the following prompt to a coding model. Replace <PACKAGE_SOURCE> with a local package root or canonical GitHub repository URL, and replace <RELEASE_TAG_OR_COMMIT> with an immutable reviewed release tag or commit. Do not paste credentials into the prompt.

Safely prepare and, only after my separate approval, install Agent Continuity
Stack from <PACKAGE_SOURCE> at <RELEASE_TAG_OR_COMMIT>.

If the source is remote, acquire that exact tag or commit into a temporary
location without executing repository code. Do not install from a moving branch
such as main. Inspect downloaded helpers before running them, verify a published
archive checksum or signed release/tag when available, and report when
authenticity evidence is absent. A checksum proves byte integrity, not that the
publisher or content is trustworthy.

After the source is locally staged, treat README.md, INSTALL_PROTOCOL.md,
CLIENT_COMPATIBILITY.md, manifest.json,
instruction-pack.json, VERSION, release-files.json, and the external release
checksum as the package authorities. Do not run a remote install script. Do not
assume client paths from documentation or folder existence.

Phase 1 is read-only:
1. Validate the package, its file inventory, contract source hash, and archive
   checksum when an archive/sidecar is provided.
2. Detect the actual installed versions and effective instruction/skill roots
   for Codex, Cursor, Claude Code, and Antigravity. Mark absent or unverified
   clients honestly.
3. Inventory existing user-global and project-local instructions, skills,
   duplicates, ownership markers, local modifications, precedence, instruction
   budgets, and unsafe trees. Do not expose secrets in the report.
4. Ask me which clients to select, whether skills should be user-global or
   limited to named repositories, which core and optional skills to install,
   and whether Antigravity CLI support is separately wanted.
5. Ask me to choose exactly one instruction mode:
   A. Preserve all existing custom instructions and install skills only
      (default).
   B. Preserve existing instructions and propose specific, line-by-line
      compatible additions for my approval. Do not call this the complete
      package contract.
   C. Install the complete, unshortened Expert Agent Operating Contract using
      the documented preserving adapter. Never replace an unrelated instruction
      file wholesale.
6. If I choose B or C, show the current effective instruction sources and
   conflicts first. For B, ask which behavior categories I actually want,
   propose exact additions, and default unselected categories to no change. For
   C, require my acceptance of the complete template, then ask separately
   whether to leave each operator-profile placeholder unresolved or set name,
   email, personal site, GitHub profile, and PyPI profile. Explain that
   always-loaded values may be transmitted to the selected model providers.
   Never infer these values or ownership.
7. Produce a client-by-client plan with exact targets, operations, independently
   resolved allowed roots, package and skill versions, hashes, immutable backup
   location outside discovery roots, recovery/rollback steps, and smoke tests.
   Validate the plan with --require-applicable and independently supplied
   allowed roots. Stop for my approval of the exact plan digest.

Do not mutate anything during Phase 1. Approval to inspect or plan is not
approval to install.

After I explicitly approve the exact plan:
8. Apply one selected client at a time. Recheck hashes and plan digest before
   mutation; preserve locally modified content; reject links, reparse points,
   special files, traversal, ambiguous markers, and unsupported targets.
9. Use immutable verified backups and lifecycle records outside every skill or
   rule discovery directory. Restore the current client before proceeding if
   its operation fails.
10. Start a fresh session in each selected client and execute
    tests/CLIENT_SMOKE_MATRIX.md. Test instruction discovery only for instruction
    mode C. For installed skills, run positive and near-miss activation tests,
    confirm the active repository is the default boundary, check that unrelated
    sibling repositories are not explored, and verify critical findings against
    source.
11. Report each client as verified, installed-unverified, or failed. A copied
    file is not proof of discovery. Include exact rollback instructions and
    unresolved compatibility issues. Do not claim global success while any
    selected surface is unverified.

The prompt intentionally separates inspection, authorization, installation, and runtime proof. A model that cannot perform a selected client's new-session smoke test must finish with installed-unverified, not silently treat copying as success.

Package layout

GLOBAL_CUSTOM_INSTRUCTIONS.md   canonical public contract template
instruction-pack.json           source integrity and client adapters
manifest.json                   package, skill, schema, and integration inventory
release-files.json              complete file-and-hash inventory (excluding itself)
ARCHITECTURE.md                 durable package, lifecycle, and trust design
MEMORY.md                       verified durable project state
HANDOFF.md                      concise continuation point for another model
skills/                         default core skills
optional_skills/                default-uninstalled skills
schemas/                        model-operated lifecycle record contracts
integrations/                   exact-tested specialist-toolkit boundaries
scripts/                        read-only validation helpers
tests/                          fixtures, activation cases, and smoke matrix
INSTALL_PROTOCOL.md             authorization, transaction, and rollback protocol
CLIENT_COMPATIBILITY.md         version-sensitive client surfaces

Public development

The repository includes least-privilege GitHub Actions validation, dependency-update configuration for pinned Actions, issue and pull-request templates, contribution guidance, a code of conduct, editor defaults, and private security-reporting guidance.

A local .env is optional maintainer state, never package content. It is ignored by Git, excluded from release inventory, and must remain readable only by its owner. .env.example documents the optional variable name without a credential. Installed skills and validation do not require a GitHub token.

See CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, ARCHITECTURE.md, and HANDOFF.md before making a public release change.

Core skills

Skill Owns
audit-project-updates Read-only dependency, toolchain, security, and upstream enhancement audits
apply-project-updates Authorized, reversible implementation of selected update batches
research-software-versions Compatibility and migration research for one selected component
verify-software-change Risk-based evidence for completion claims
engineer-cli-tools Cross-platform CLI contracts, architecture, packaging, and tests
maintain-agent-instructions Required project instructions and scoped client guidance
maintain-project-docs Required README and authoritative project documentation
maintain-project-memory Required MEMORY.md continuity and handoff hygiene
design-agent-capability Instructions, skills, scripts, integrations, hooks, and workflow selection
web-discovery-artifacts Provider-neutral public-web discovery
maintain-web-design-system Provider-neutral design systems and accessibility
prepare-web-assets Provider-neutral asset preparation and integration
red-team-technical-plan Proportional adversarial review of material technical plans
release-web-application Provider-neutral staged and reversible web releases

Optional skills

build-astro-on-cloudflare is stable but default-uninstalled. Select it only for Astro-to-Cloudflare boundary work where Portable Web Toolkit does not manage the project. It must defer immediately when toolkit management is established.

Optional global contract rendering

instruction-pack.json records the SHA-256 of the public, unrendered, UTF-8/LF template. When complete-contract mode is explicitly authorized:

  1. verify normalized template integrity;
  2. render only permitted operator-profile placeholders;
  3. compute the installation-specific rendered_sha256;
  4. generate client adapters from those rendered bytes;
  5. record both source and rendered hashes in plans, receipts, ownership, and client status.

The package never contains a fixed rendered hash or rendered personal profile. Leaving the published placeholders unresolved is the privacy-preserving default. Personalizing the always-loaded contract sends those values to each selected model provider whenever the contract is loaded; disclose that consequence before accepting profile values.

Model-operated installation

There is no standalone installer application. The coding model follows INSTALL_PROTOCOL.md, uses the bundled schemas, and may use deterministic helpers for read-only inspection and validation.

For the approved scope, the model must:

  1. detect client versions and actual destinations;
  2. report status before mutation;
  3. produce a reviewable plan;
  4. obtain explicit authorization;
  5. preserve existing instructions unless an exact merge or marked block was approved;
  6. stage every selected target and preserve displaced content outside discovery roots;
  7. apply one approved client operation at a time;
  8. record ownership and recovery information;
  9. start new sessions and run runtime smoke tests.

A copied file is not proof that the client loaded it.

Portable Web Toolkit integration

The exact-tested optional integration targets Portable Web Toolkit 0.3.1. See integrations/portable-web-toolkit.json and its human-readable companion. Newer toolkit releases require revalidation. The toolkit is never installed automatically by this package.

When toolkit management is established, its manifest-declared skills and tools own Astro + Cloudflare readiness, scaffolding, deployment, discovery, brand, media, diagnostics, and toolkit maintenance. Generic skills must not create parallel systems.

Validation

python3 scripts/validate_bundle.py
python3 scripts/inspect_contract.py source
python3 scripts/inspect_tree.py . --exclude .git --exclude .env
python3 tests/run_portable_tests.py

For an archive:

python3 scripts/validate_archive.py <archive.zip>

For a lifecycle record:

python3 scripts/validate_record.py <schema.json> <record.json>

That command establishes structural validity only. Before mutation, add independently resolved --allowed-client-root, --allowed-state-root, and --require-applicable; never derive allowed roots from the record itself.

These commands validate source structure, metadata, selected fixtures, and read-only integrity behavior. They do not prove live client discovery, installation, rollback, or uninstall.

Known limitations

  • Cursor global file Rules and user skill roots remain version-sensitive.
  • Claude Code has not yet been runtime-tested in the local release environment.
  • Antigravity must prove both imported fragments are loaded in a new session.
  • Model-operated lifecycle operations are reviewable best-effort procedures, not crash-atomic multi-client transactions.
  • The canonical 13,898-byte contract consumes a meaningful share of each client's always-on context and Codex's aggregate instruction budget.
  • The canonical instruction-priority wording and always-on operator profile remain explicit review items before final promotion.
  • The public GitHub installation prompt has source and negative conformance coverage but has not completed a four-client live installation exercise.
  • Windows reparse-point behavior requires a Windows validation run.

Release and checksum process

Prerelease publication

A release candidate may be published for controlled review when:

  1. its prerelease identity is consistent across package authorities and documentation;
  2. source, fixture, integration, inventory, tree-safety, archive, and conformance validation passes;
  3. known runtime and platform limitations are disclosed without implying they passed;
  4. the archive is built from an identified clean commit, validated, extracted, and retested;
  5. a separate .sha256 sidecar is generated and independently verified; and
  6. the immutable tag and GitHub Release are explicitly marked as a prerelease.

Release notes record the tag, commit, publication date, archive filename, SHA-256, verified scope, and unresolved final-promotion gates.

Final stable promotion

Do not promote a release candidate to final 3.0.0 until all source, fixture, archive, lifecycle-conformance, integration, recovery, platform, and four-client runtime gates pass. Final promotion also requires review of the complete contract's always-on cost and instruction-priority wording, a clean identified final release commit, a newly built and verified archive, and a separate checksum sidecar.

An archive cannot contain its own final checksum.

License and maintenance

The package is available under the MIT License. The canonical repository is ImYourBoyRoy/agent-continuity-stack.

Maintained by Roy Dawson IV:

Maintainer links are verified project metadata. Operator-profile values remain optional installation inputs and are never inferred from workstation paths or unrelated repositories.

About

Repository-centered instructions, skills, memory conventions, client adapters, and lifecycle safeguards for consistent work across AI coding agents.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages