Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.
kylelundstedtPublic archive

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

entire-agent-shelley

Retired 2026-11-21, and the repository is archived. IndustryVault retired Entire for now under a 30-day agent-transcript policy. The plugin was removed from the fleet with uninstall.sh. v0.1.3 and its qualification records (QUALIFICATION-v0.1.3-cli0.10.1.md) remain the starting point if Shelley capture is revived; re-qualify against the then-current Entire CLI first.

Prototype Entire external-agent plugin for Shelley.

The plugin captures Git-linked authoring context directly from Shelley's local SQLite history. It is IV-authored and is not yet shipped or supported by Entire.

The dedicated iv-entire-agent-shelley qualification VM tests new plugin, CLI, runtime, image, and checkpoint-backend combinations before fleet provisioning pins change.

Status

  • Plugin version: 0.1.3
  • Entire external-agent protocol: v1
  • Qualified Entire CLI: 0.10.1
  • Platform: Linux
  • Language/runtime: Python 3.11+
  • Rewind/write-back: unsupported
  • Shelley SessionEnd: unavailable; capture finalizes per turn
  • Executable SHA-256: 1541c304ce86e7b80b74d91a01348daa6a38dd53e068c856c3d832880a55f64e
  • Current qualification: QUALIFICATION-v0.1.3-cli0.10.1.md

The implementation originated in IndustryVault's iv-docs Spike 23. Its source history was extracted rather than squashed; the first standalone live-plugin commit corresponds to iv-docs commit 7d75e2d.

The executable uses a shell/Python polyglot launcher: it resolves ENTIRE_SHELLEY_PYTHON, then ~/.local/bin/python3, then python3 on PATH. This keeps managed Shelley hooks usable on minimal exe.dev images whose service PATH excludes the uv-managed user interpreter.

Lifecycle

Shelley hook Entire event(s)
new-conversation SessionStart, initial TurnStart
chat-message TurnStart
end-of-turn TurnEnd

At turn end, the plugin opens Shelley SQLite read-only, begins a read transaction, validates repository and subagent scope, and atomically materializes an Entire-compatible JSONL transcript.

Overlapping and queued prompts are serialized per conversation. If a new prompt arrives before Shelley's asynchronous prior end-of-turn, the plugin stores a bounded mode-0600 pending lifecycle payload and releases its TurnStart only after the preceding TurnEnd.

Privacy boundary

The projection includes visible user messages, assistant responses, tool names and inputs, timestamps, model identity, and repository-relative file attribution where detectable. It excludes by default:

  • Shelley system-message rows;
  • model reasoning and encrypted reasoning payloads;
  • subagent conversations;
  • messages excluded from context;
  • tool-result bodies.

These controls minimize capture; they are not DLP or a redaction guarantee. Do not use the plugin with real credentials, PII/NPPI, client-confidential, privileged, or license-restricted authoring content unless an independently approved operating envelope permits it.

Install

Install the executable without coupling runtime hooks to a Git checkout:

./install.sh

Then, from each private repository approved for capture:

entire enable --agent shelley --project --telemetry=false \
  --checkpoint-backend branch

The plugin installs global Shelley dispatchers but maintains an explicit set of registered Git repositories. Disabling/removing one repository does not remove the shared hooks while another registration remains.

Existing executable Shelley hooks are preserved, invoked first, and restored after the final repository unregisters. The plugin installs a stable runtime copy under ~/.config/entire/shelley-hooks/, so changing or deleting the source checkout does not break managed hooks.

Uninstall

First disable or unregister Shelley capture from every repository that uses it. Then run:

./uninstall.sh

The uninstaller refuses to remove an executable whose bytes no longer match the installation receipt unless --force is explicitly supplied.

Test

Protocol, hook, lifecycle, registration, SQLite, and fail-open tests with synthetic fixtures:

ENTIRE_SKIP_REAL=1 bash test-shelley-live.sh

Full persistent-checkpoint qualification when Entire CLI is installed:

bash test-shelley-live.sh

The full test verifies commit condensation, the Entire-Checkpoint trailer, and transcript persistence on entire/checkpoints/v1.

Known limitations

  • No Shelley SessionEnd; conversations are resumable and checkpoint per turn.
  • write-session and rewind/restoration into Shelley SQLite are unsupported.
  • File attribution is best-effort and does not infer every shell-command side effect.
  • Pending lifecycle payloads are local transient authoring context and must be governed accordingly.
  • Real Codex/Claude capture is outside this plugin; use their native Entire integrations and a separate reconciliation path.

Development

See AGENTS.md. This repository is intentionally focused on the Shelley plugin; IndustryVault's provider-neutral ACR policy, threat model, and AgentsView fallback remain in kylelundstedt/iv-docs.

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages