{"id":50216387,"url":"https://github.com/rogerchappel/failureseed","last_synced_at":"2026-05-26T09:04:35.405Z","repository":{"id":355522198,"uuid":"1226988634","full_name":"rogerchappel/failureseed","owner":"rogerchappel","description":"Local-first CLI for generating deterministic failing fixtures and capturing failure handoffs.","archived":false,"fork":false,"pushed_at":"2026-05-04T02:06:46.000Z","size":48,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T04:09:37.570Z","etag":null,"topics":["agentic","cli","fixtures","local-first","quality-assurance","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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-02T04:09:40.000Z","updated_at":"2026-05-04T02:06:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rogerchappel/failureseed","commit_stats":null,"previous_names":["rogerchappel/failureseed"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rogerchappel/failureseed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Ffailureseed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Ffailureseed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Ffailureseed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Ffailureseed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerchappel","download_url":"https://codeload.github.com/rogerchappel/failureseed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Ffailureseed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33512346,"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":["agentic","cli","fixtures","local-first","quality-assurance","testing"],"created_at":"2026-05-26T09:04:21.099Z","updated_at":"2026-05-26T09:04:35.385Z","avatar_url":"https://github.com/rogerchappel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# failureseed\n\nfailureseed is a local-first CLI for two adjacent jobs:\n\n1. generate small deterministic failing fixtures for agent QA\n2. capture a real failing command into a reviewable JSON/Markdown handoff bundle\n\nIt stays intentionally small: no network calls, no hosted backend, no secret dumping.\n\n## What ships in this MVP\n\n- Built-in deterministic failure scenarios\n- Fixture manifests (`failureseed.json`) and human handoff docs (`FAILURESEED.md`)\n- `list`, `seed`, `run`, `prompt`, and `replay` commands\n- `--dry-run` and `--json` support where it matters\n- Redaction for obvious token patterns in captured logs\n- Snapshot and smoke coverage for stable output\n\n## 60-second demo\n\n```sh\nnpm test\nnode bin/failureseed.js list\nnode bin/failureseed.js seed command-fail --output ./tmp/command-fail\nnode bin/failureseed.js replay ./tmp/command-fail/failureseed.json --dry-run\nnode bin/failureseed.js run --output ./tmp/capture -- node -e \"console.error('token=ghp_1234567890abcdefghijk'); process.exit(1)\"\n```\n\nYou should end up with:\n\n- `tmp/command-fail/failureseed.json`\n- `tmp/command-fail/FAILURESEED.md`\n- `tmp/capture/failureseed.json`\n- `tmp/capture/FAILURESEED.md`\n\n## Install\n\n```sh\nnpm install\n```\n\nRun the CLI directly during local development:\n\n```sh\nnode bin/failureseed.js --help\n```\n\n## CLI reference\n\n### `failureseed list`\n\nList built-in deterministic scenarios.\n\n```sh\nnode bin/failureseed.js list\nnode bin/failureseed.js list --json\n```\n\n### `failureseed seed \u003cscenario\u003e`\n\nCreate a failing fixture directory and manifest.\n\n```sh\nnode bin/failureseed.js seed command-fail --output ./tmp/command-fail\nnode bin/failureseed.js seed config-mismatch --dry-run --json\n```\n\nCurrent scenarios:\n\n- `command-fail` — script exits with code 1\n- `config-mismatch` — config validation fails deterministically\n- `missing-script` — package references a missing entry file\n\n### `failureseed run -- \u003ccommand ...\u003e`\n\nCapture a real command failure into JSON/Markdown.\n\n```sh\nnode bin/failureseed.js run --output ./tmp/capture -- npm test\nnode bin/failureseed.js run --json -- node -e \"console.error('boom'); process.exit(1)\"\n```\n\n### `failureseed prompt \u003cmanifest\u003e`\n\nRender a manifest as Markdown or echo the JSON.\n\n```sh\nnode bin/failureseed.js prompt ./tmp/command-fail/failureseed.json\nnode bin/failureseed.js prompt ./tmp/command-fail/failureseed.json --format json\n```\n\n### `failureseed replay \u003cmanifest\u003e`\n\nReplay a fixture/capture command or print the exact replay plan.\n\n```sh\nnode bin/failureseed.js replay ./tmp/command-fail/failureseed.json --dry-run\nnode bin/failureseed.js replay ./tmp/command-fail/failureseed.json\n```\n\n## Agent handoff example\n\nA tight OSS sprint flow can look like this:\n\n1. Agent A hits a failing check.\n2. Agent A runs `failureseed run --output ./.failureseed/lint -- pnpm test`.\n3. Agent A pastes `FAILURESEED.md` into the handoff or attaches `failureseed.json`.\n4. Agent B replays from the exact command, cwd, and summarized environment.\n5. For QA or training, use `failureseed seed command-fail` to generate a stable failure without touching a real repo.\n\nThat gives you both real-world captures and deterministic synthetic failures for review pipelines.\n\n## Local-first safety model\n\n- No hidden network calls in the core workflow\n- No destructive filesystem or git operations\n- No environment dump beyond compact platform metadata\n- Obvious token patterns are redacted from captured stderr/stdout\n- Manifests are plain files you can inspect before sharing\n\n## Non-goals\n\n- No artifact uploads\n- No autonomous fix generation\n- No full machine snapshotting\n- No hidden CI integration magic\n- No broad secret scanning beyond obvious patterns in this MVP\n\n## Verification\n\n```sh\nnpm run check\nnpm test\nnpm run build\nnpm run smoke\nbash scripts/validate.sh\nnpm run package:smoke\nnpm run release:check\n```\n\n## Documentation\n\n- [Product requirements](docs/PRD.md)\n- [Task breakdown](docs/TASKS.md)\n- [Orchestration plan](docs/ORCHESTRATION.md)\n- [Documentation index](docs/README.md)\n- [Release checklist](docs/RELEASE.md)\n- [Contributing guide](CONTRIBUTING.md)\n- [Security policy](SECURITY.md)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Ffailureseed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerchappel%2Ffailureseed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Ffailureseed/lists"}