{"id":50216287,"url":"https://github.com/rogerchappel/argvault","last_synced_at":"2026-05-26T09:04:27.857Z","repository":{"id":358721019,"uuid":"1239170459","full_name":"rogerchappel/argvault","owner":"rogerchappel","description":"Local-first redacted CLI run cassette recorder for safe agent handoffs","archived":false,"fork":false,"pushed_at":"2026-05-18T19:13:44.000Z","size":44,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T21:22:38.762Z","etag":null,"topics":["agent-handoff","cassette","cli","local-first","redaction","reproducibility","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogerchappel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-14T20:42:28.000Z","updated_at":"2026-05-18T19:11:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rogerchappel/argvault","commit_stats":null,"previous_names":["rogerchappel/argvault"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rogerchappel/argvault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fargvault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fargvault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fargvault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fargvault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerchappel","download_url":"https://codeload.github.com/rogerchappel/argvault/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fargvault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33512343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-handoff","cassette","cli","local-first","redaction","reproducibility","typescript"],"created_at":"2026-05-26T09:04:11.534Z","updated_at":"2026-05-26T09:04:27.842Z","avatar_url":"https://github.com/rogerchappel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArgVault 🔐\n\nRedacted CLI run cassettes for agent handoffs.\n\nArgVault records the boring-but-critical details of a terminal repro: argv, cwd, selected env vars, stdin/stdout/stderr samples, exit code, duration, notes, and fixture hashes. It writes portable JSON plus a readable Markdown report, without uploading anything.\n\n## Install\n\n```bash\nnpm install -g argvault\n```\n\nFor local development:\n\n```bash\nnpm install\nnpm run build\nnode dist/index.js doctor\n```\n\n## Quickstart\n\n```bash\nargvault init\nargvault record \\\n  --out .argvault/runs/repro.json \\\n  --env NODE_ENV \\\n  --fixture fixtures/input.txt \\\n  --stdin-file fixtures/input.txt \\\n  --note \"fails on the tiny fixture\" \\\n  -- node scripts/repro.js --case tiny\nargvault report .argvault/runs/repro.json --out .argvault/runs/repro.md\n```\n\nOpen the JSON and Markdown before sharing them. ArgVault is a seatbelt, not a lawyer.\n\n## Commands\n\n- `argvault init` creates `.argvault.json` with safe defaults.\n- `argvault record -- \u003ccommand\u003e` runs a command and writes a cassette.\n- `argvault scan` is an alias for `record` for teams that prefer scan language.\n- `argvault report \u003ccassette.json\u003e` renders Markdown from a cassette.\n- `argvault doctor` checks the local workspace basics.\n\n## Practical examples\n\nRecord a failing test while keeping env capture tight:\n\n```bash\nargvault record --env CI --env NODE_ENV -- npm test -- --runInBand\n```\n\nCapture stdin from a fixture and attach fixture metadata:\n\n```bash\nargvault record \\\n  --fixture fixtures/login.json \\\n  --stdin-file fixtures/login.json \\\n  -- node ./bin/replay.js\n```\n\nGenerate a handoff note:\n\n```bash\nargvault report .argvault/runs/latest.json \u003e HANDOFF.md\n```\n\n## JSON output notes\n\nCassettes use `schemaVersion: \"argvault.cassette/v1\"` and deterministic key ordering. `recordedAt` is fixed at the Unix epoch in v1 so fixture-backed examples are stable; use file metadata or surrounding reports if wall-clock time matters.\n\nA cassette includes:\n\n- redacted command argv and cwd\n- allowlisted env values only\n- bounded stdin/stdout/stderr samples with byte counts and truncation flags\n- exit code, signal, and duration\n- fixture path, size, and SHA-256 metadata\n- redaction labels so reviewers know what was touched\n\n## Safety model\n\nArgVault is local-first:\n\n- no required network access\n- no telemetry or background daemon\n- env capture is allowlist-only\n- common tokens, private keys, key-value secrets, long base64-ish blobs, and home paths are redacted\n- `.git`, `node_modules`, `dist`, `build`, `.cache`, and `coverage` are ignored for fixture references\n- fixture contents are not embedded; hashes and sizes are recorded instead\n\nStill review before posting. Custom secrets can have weird shapes.\n\n## Limitations\n\n- v1 redaction patterns are intentionally conservative and not a formal DLP engine.\n- Interactive TTY programs are not the target; record deterministic commands.\n- Fixture hashes prove identity, not availability. Share fixtures separately when needed.\n- Duration naturally varies between machines.\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm run check\nnpm run build\nnpm run smoke\nbash scripts/validate.sh\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Fargvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerchappel%2Fargvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Fargvault/lists"}