Files
reverse-engineering-anything/docs/specs/agent-environments/environment-export/tasks.md
T
Edgar ArakelyanandClaude Fable 5.1 c6c2a64af3 feat(environment): export an environment manifest as an agent environment bundle
Add rea environment-export <manifest.json> --evidence <capture.json> <dir>
[--package-tarball <path>] [--name <override>]: it reads and authenticates the
manifest and capture pair once and writes an agent environment bundle folder
(README with provenance and a rights note, envs/<name> with a Dockerfile that
pins this exact rea version or installs a given tarball, the manifest and the
Evidence as byte-identical copies, a Python verifier that checks replay
through the MCP endpoint, and a smoke task) that the agentenv framework runs
with agent-env run. Refuses a non-empty directory and a mismatched pair
before writing. Adds the real-agentenv hosted lane, which packs the checkout,
exports a bundle from the source-owned capture fixture and runs it on the
runner's Docker with a pinned agentenv-framework, wired into the CI planner
and its guard tests.

Refs morluto/rea#4933

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 19:43:09 -07:00

900 B

Tasks

  • Record the export contract, requirements and the lane.
  • Thread the operation name and capture digest through the source loader.
  • Plan the bundle: name rule, Dockerfile for both package sources, verifier, smoke task, README.
  • Write the bundle with directory, tarball and input refusals and exclusive creation.
  • Register the flat CLI command with described arguments and options.
  • Add the agentenv scope, workflow, package script and verifier; wire ci.yml; extend the guard tests.
  • Add services, conformance and cli-boundary coverage.
  • Document the command, the bundle and the lane; record the spec.
  • Run static, formatting, duplication, documentation and test gates and the local end-to-end run.
  • Repair the review findings (README run command, absolute tool paths, single read, tarball cleanup) and re-run the gates and the end-to-end run.