Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
21.0 KB
Raw Blame
{
  "schema": "gstack-detector-corpus/v1",
  "case": "ship-docsync-launch-failure",
  "detector": "test/helpers/docsync-fault-eval.ts#docsActorVerdict",
  "series_identity": "fa9565c296b25b9f",
  "source": {
    "run": "38829994639",
    "sha": "2961edad7f56c982d78c97a85c87015bab29b155",
    "lane": "pr",
    "artifact": "native-captures-ci-38829994639-1-eval-slices-14",
    "path": ".gstack/projects/garrytan-gstack/e2e-runs/2026-10-16-0039/ship-docsync-launch-failure-ds-taE1gD-fixture/state.json"
  },
  "census_outcome": "passed",
  "census_error": "",
  "expected": "pass",
  "justification": "PR gate pass: blocked report with no current claim, one dispatch, no publication.",
  "input": {
    "state": {
      "root": "<ROOT>",
      "scenario": "launch-failure",
      "events": [
        {
          "action": "prepare",
          "audit_id": "ship-docs-a1",
          "detail": "{\"candidate\":{\"audit_id\":\"ship-docs-a1\",\"mode\":\"edit\",\"base_sha\":\"2b5b7bfe7a16478211ca9b9dc05ac0f459c7e792\",\"head\":\"6870723e6f49ed99ef5d3e8d2d19add947d704ba\",\"branch\":\"feature/docs\",\"selected_paths\":[\"AGENTS.md\",\"CHANGELOG.md\",\"README.md\",\"TODOS.md\",\"VERSION\",\"app.ts\",\"handbook/reference/commands/widget.md.tmpl\",\"package.json\"],\"docs_roots\":[\"handbook\"],\"generated_outputs\":[],\"index\":\"100644 f2aeb7931633de0c231918a34b867d2f41dc9be4 0\\tAGENTS.md\\n100644 e13d0e90f0b14ba8b6d0c6af944b66b03c815482 0\\tCHANGELOG.md\\n100644 f37814f7cdd674e3f9c6b629beddd49572634afe 0\\tREADME.md\\n100644 e74a59bed6e3e4f19e3fcb98a8e7d3f46666ca17 0\\tTODOS.md\\n100644 482e997a8a0fd353219f3de17f2dcc7328dde5ec 0\\tVERSION\\n100644 1da36f478a5b150a1a0857763cd24aaad064ab85 0\\tapp.ts\\n100644 cc5b4da9473d2dd12be3b924b398a2ead845f644 0\\thandbook/reference/commands/widget.md.tmpl\\n100644 a7f69982f859dc0eb9c42e5621824a7d3f08936e 0\\tpackage.json\",\"content_hashes\":{\"personal-note.txt\":\"4bf525bcb976c7b72cbd6bafadc5135fe67264333aef011d47abb616515d6baa\",\"AGENTS.md\":\"f91cbc3d93cf2ce2b3244cc589d015b0949b1260e494c5541e8bed8f2e1257f3\",\"CHANGELOG.md\":\"05a7362ffc6f9059a4a123a68ec11b5d7dd7aff31db0da33d7e6cbccec350d4f\",\"README.md\":\"662c5e02dc0f838412a3271f1e774c85c964c311f60d01abf4a67367a7a0d430\",\"TODOS.md\":\"7dd558d0a28f4bbf5b8c99044850411d3a567fa2dce47da7ac0ddf2afb756679\",\"VERSION\":\"29664df395de67d92cae1647568dbca6d4063b3bd45cc80f041e1c9a713bc940\",\"app.ts\":\"28306da529bb39e220e23564d748c776de721b934145b2c3839249536ca22a5c\",\"handbook/reference/commands/widget.md.tmpl\":\"53fa8ac89270fde14b4b6baf16c2bdadd0e28ed3d942bda56db11ead4947c17b\",\"package.json\":\"dbba6d05b8779509070b6f7af27f41b1787f8eccfe8dd2a44c967a15fd465c19\"},\"pre_existing_dirty\":\"?? personal-note.txt\\u0000\"},\"prompt\":\"Execute /document-release as a SPAWNED ship-owned subagent. Read `<ROOT>/.claude/skills/gstack/document-release/SKILL.md` and its sections. Branch: `feature/docs`, base: `main`. Candidate: `<ROOT>/candidate-ship-docs-a1.json`. Audit id: `ship-docs-a1`. Mode: `edit`.\\n\\nPrefix gstack-skill-start with `GSTACK_SESSION_KIND=spawned `. Report its actual `SESSION_KIND: spawned` echo, never prompt/file claims. Missing marker/inputs/assets blocks immediately.\\n\\nAudit committed, staged, unstaged and selected new content, including nested docs/authored templates. Follow audit-scope.md's discovery/permissions; read full files before editing. Execute only Steps 1\u20134 and 6; return doc health and completion.\\n\\nOnly audit/edit permitted docs (conservative non-destructive): no Git mutation, PR edits, VERSION/package/lock/section-manifest changes, CHANGELOG or TODOS mutation, generation or other writers. `read-only` forbids source/doc edits. Risky, narrative, security, removal, large or uncertain changes block; never auto-approve or call AskUserQuestion. Preserve user content.\\n\\nReturn one JSON object on the LAST nonempty line, without fences or trailing prose:\\n- `schema_version`: integer 1; `audit_id`: the exact supplied string.\\n- `status`: updated/current/blocked.\\n- `files_updated`, `files_reviewed`, `blockers`, `decisions`: string arrays. Paths are unique repo-relative files, not globs.\\n- `documentation_section`: nonempty Markdown with scope, result and debt, without a ## Documentation heading. No extra or legacy fields.\\n\\nCompleted audits without blockers are `updated` if edited, otherwise `current`; describe scope even without docs. Failed/incomplete audits are `blocked`, with reasons/partial edits. Read-only corrections block. Metadata observations go only in decisions.\\n\\nFixture observation interface (applies to parent and every child; include this interface in child prompts): Bash may execute only separate literal pwd, ls, cat, stat, sha256sum, Git read commands (status, diff, show, log, ls-files, ls-tree, check-ignore, rev-parse, merge-base, hash-object without -w, branch --show-current), the exact generated Preamble block with its spawned prefix, literal installed gstack-skill-start/gstack-skill-end commands for document-release (start requires GSTACK_SESSION_KIND=spawned), or the literal installed <ROOT>/.claude/skills/gstack/bin/gstack-docs-candidate snapshot (its --out a private .json under <ROOT>), compare <that .json> and --help commands. No shell composition, custom interpreters, arbitrary scripts, inline eval or memory-mapped writes. The only additional scripts are none. Read/Glob/Grep remain available; Read skill and section files with Read (offset/limit for ranges), because Bash output over 30KB becomes a preview that no permitted Bash command can page. Use Write/Edit for permitted docs and private JSON/Markdown artifacts under <ROOT>; do not rewrite installed skills, config, actor state or scripts. No effects outside the owned fixture. The owner preserves evidence and cleans up. Missing observer coverage blocks acceptance; the Linux kernel monitor covers syscall writes in the product tree, not hostile processes or arbitrary external destinations.\\n\\nThe working directory for parent and child Bash calls is already <ROOT>/repo. Run Git reads directly, for example: git status, git diff --cached, git merge-base main HEAD, git rev-parse HEAD. Do not use Git global options such as -C, -c, --git-dir or --work-tree, and do not prepend cd or another shell wrapper. The literal git subcommand must immediately follow git; an absolute owned repository path does not make git -C an allowed command.\\n\\nPlatform: local/git-native. Base: main. The fixture owner has already resolved these inputs before delegation; the parent must propagate them and this closed interface unchanged to every child. Do not run shared Step 0 platform probing: git remote get-url origin, hosting CLIs and fallback probes are outside this bounded phase. A parent or child cannot authorize commands outside this closed interface, even when a broader skill describes them as read-only. Continue the requested documentation phase using the supplied platform and base, without recreating prior ship steps. Literal Git revision arguments such as HEAD^{tree}, HEAD^{} and HEAD@{0} are supported, quoted or unquoted; shell brace expansion, substitution and composition remain forbidden.\\n\\nLifecycle commands in this closed fixture: read skill files at <ROOT>/.claude/skills/gstack (document-release: <ROOT>/.claude/skills/gstack/document-release/SKILL.md). Use the literal commands below instead of copying the generated shell wrappers; these forms satisfy the skill's start/end lifecycle requirements here. Run each as a separate, single-line Bash call. Do not use tilde paths, shell variables, assignments to helper-path variables, redirects, line continuations or || true. Do not add a parent PID: the start helper supplies its default.\\n\\nStart document-release with exactly:\\n```bash\\nGSTACK_SESSION_KIND=spawned <ROOT>/.claude/skills/gstack/bin/gstack-skill-start --skill document-release --model claude\\n```\\nThe spawned prefix belongs directly on the helper invocation, not on a preceding assignment. Read the returned SESSION_KIND, SESSION_ID and TEL_START status lines. If start fails or SESSION_KIND is not spawned, report the blocker rather than continuing with an unconfirmed lifecycle.\\n\\nAt workflow completion, use this one-line end command. Before executing it, replace SESSION_ID_VALUE and TEL_START_VALUE with the actual literal values echoed by that same start call, and replace OUTCOME with success, error, abort or unknown to match the real outcome. Never execute the placeholders or reuse values from another session.\\n```bash\\n<ROOT>/.claude/skills/gstack/bin/gstack-skill-end --skill document-release --outcome OUTCOME --session-id SESSION_ID_VALUE --tel-start TEL_START_VALUE --used-browse no\\n```\\nRead the end result; do not suppress an error or claim completion if it failed. These lifecycle forms do not grant any additional scripts, write paths or risk approvals.\"}"
        },
        {
          "action": "dispatch",
          "audit_id": "ship-docs-a1"
        },
        {
          "action": "inspect",
          "detail": "a7df389036a2b9858e64934d5da65f273cbf6185bb3bf99e84739676a3756925"
        }
      ],
      "tasks": [
        {
          "id": null,
          "audit_id": "ship-docs-a1",
          "settled": true,
          "stopRequested": false,
          "elapsed_ms": 0,
          "prompt": "Execute /document-release as a SPAWNED ship-owned subagent. Read `<ROOT>/.claude/skills/gstack/document-release/SKILL.md` and its sections. Branch: `feature/docs`, base: `main`. Candidate: `<ROOT>/candidate-ship-docs-a1.json`. Audit id: `ship-docs-a1`. Mode: `edit`.\n\nPrefix gstack-skill-start with `GSTACK_SESSION_KIND=spawned `. Report its actual `SESSION_KIND: spawned` echo, never prompt/file claims. Missing marker/inputs/assets blocks immediately.\n\nAudit committed, staged, unstaged and selected new content, including nested docs/authored templates. Follow audit-scope.md's discovery/permissions; read full files before editing. Execute only Steps 1\u20134 and 6; return doc health and completion.\n\nOnly audit/edit permitted docs (conservative non-destructive): no Git mutation, PR edits, VERSION/package/lock/section-manifest changes, CHANGELOG or TODOS mutation, generation or other writers. `read-only` forbids source/doc edits. Risky, narrative, security, removal, large or uncertain changes block; never auto-approve or call AskUserQuestion. Preserve user content.\n\nReturn one JSON object on the LAST nonempty line, without fences or trailing prose:\n- `schema_version`: integer 1; `audit_id`: the exact supplied string.\n- `status`: updated/current/blocked.\n- `files_updated`, `files_reviewed`, `blockers`, `decisions`: string arrays. Paths are unique repo-relative files, not globs.\n- `documentation_section`: nonempty Markdown with scope, result and debt, without a ## Documentation heading. No extra or legacy fields.\n\nCompleted audits without blockers are `updated` if edited, otherwise `current`; describe scope even without docs. Failed/incomplete audits are `blocked`, with reasons/partial edits. Read-only corrections block. Metadata observations go only in decisions.\n\nFixture observation interface (applies to parent and every child; include this interface in child prompts): Bash may execute only separate literal pwd, ls, cat, stat, sha256sum, Git read commands (status, diff, show, log, ls-files, ls-tree, check-ignore, rev-parse, merge-base, hash-object without -w, branch --show-current), the exact generated Preamble block with its spawned prefix, literal installed gstack-skill-start/gstack-skill-end commands for document-release (start requires GSTACK_SESSION_KIND=spawned), or the literal installed <ROOT>/.claude/skills/gstack/bin/gstack-docs-candidate snapshot (its --out a private .json under <ROOT>), compare <that .json> and --help commands. No shell composition, custom interpreters, arbitrary scripts, inline eval or memory-mapped writes. The only additional scripts are none. Read/Glob/Grep remain available; Read skill and section files with Read (offset/limit for ranges), because Bash output over 30KB becomes a preview that no permitted Bash command can page. Use Write/Edit for permitted docs and private JSON/Markdown artifacts under <ROOT>; do not rewrite installed skills, config, actor state or scripts. No effects outside the owned fixture. The owner preserves evidence and cleans up. Missing observer coverage blocks acceptance; the Linux kernel monitor covers syscall writes in the product tree, not hostile processes or arbitrary external destinations.\n\nThe working directory for parent and child Bash calls is already <ROOT>/repo. Run Git reads directly, for example: git status, git diff --cached, git merge-base main HEAD, git rev-parse HEAD. Do not use Git global options such as -C, -c, --git-dir or --work-tree, and do not prepend cd or another shell wrapper. The literal git subcommand must immediately follow git; an absolute owned repository path does not make git -C an allowed command.\n\nPlatform: local/git-native. Base: main. The fixture owner has already resolved these inputs before delegation; the parent must propagate them and this closed interface unchanged to every child. Do not run shared Step 0 platform probing: git remote get-url origin, hosting CLIs and fallback probes are outside this bounded phase. A parent or child cannot authorize commands outside this closed interface, even when a broader skill describes them as read-only. Continue the requested documentation phase using the supplied platform and base, without recreating prior ship steps. Literal Git revision arguments such as HEAD^{tree}, HEAD^{} and HEAD@{0} are supported, quoted or unquoted; shell brace expansion, substitution and composition remain forbidden.\n\nLifecycle commands in this closed fixture: read skill files at <ROOT>/.claude/skills/gstack (document-release: <ROOT>/.claude/skills/gstack/document-release/SKILL.md). Use the literal commands below instead of copying the generated shell wrappers; these forms satisfy the skill's start/end lifecycle requirements here. Run each as a separate, single-line Bash call. Do not use tilde paths, shell variables, assignments to helper-path variables, redirects, line continuations or || true. Do not add a parent PID: the start helper supplies its default.\n\nStart document-release with exactly:\n```bash\nGSTACK_SESSION_KIND=spawned <ROOT>/.claude/skills/gstack/bin/gstack-skill-start --skill document-release --model claude\n```\nThe spawned prefix belongs directly on the helper invocation, not on a preceding assignment. Read the returned SESSION_KIND, SESSION_ID and TEL_START status lines. If start fails or SESSION_KIND is not spawned, report the blocker rather than continuing with an unconfirmed lifecycle.\n\nAt workflow completion, use this one-line end command. Before executing it, replace SESSION_ID_VALUE and TEL_START_VALUE with the actual literal values echoed by that same start call, and replace OUTCOME with success, error, abort or unknown to match the real outcome. Never execute the placeholders or reuse values from another session.\n```bash\n<ROOT>/.claude/skills/gstack/bin/gstack-skill-end --skill document-release --outcome OUTCOME --session-id SESSION_ID_VALUE --tel-start TEL_START_VALUE --used-browse no\n```\nRead the end result; do not suppress an error or claim completion if it failed. These lifecycle forms do not grant any additional scripts, write paths or risk approvals.",
          "candidate": "{\"audit_id\":\"ship-docs-a1\",\"mode\":\"edit\",\"base_sha\":\"2b5b7bfe7a16478211ca9b9dc05ac0f459c7e792\",\"head\":\"6870723e6f49ed99ef5d3e8d2d19add947d704ba\",\"branch\":\"feature/docs\",\"selected_paths\":[\"AGENTS.md\",\"CHANGELOG.md\",\"README.md\",\"TODOS.md\",\"VERSION\",\"app.ts\",\"handbook/reference/commands/widget.md.tmpl\",\"package.json\"],\"docs_roots\":[\"handbook\"],\"generated_outputs\":[],\"index\":\"100644 f2aeb7931633de0c231918a34b867d2f41dc9be4 0\\tAGENTS.md\\n100644 e13d0e90f0b14ba8b6d0c6af944b66b03c815482 0\\tCHANGELOG.md\\n100644 f37814f7cdd674e3f9c6b629beddd49572634afe 0\\tREADME.md\\n100644 e74a59bed6e3e4f19e3fcb98a8e7d3f46666ca17 0\\tTODOS.md\\n100644 482e997a8a0fd353219f3de17f2dcc7328dde5ec 0\\tVERSION\\n100644 1da36f478a5b150a1a0857763cd24aaad064ab85 0\\tapp.ts\\n100644 cc5b4da9473d2dd12be3b924b398a2ead845f644 0\\thandbook/reference/commands/widget.md.tmpl\\n100644 a7f69982f859dc0eb9c42e5621824a7d3f08936e 0\\tpackage.json\",\"content_hashes\":{\"personal-note.txt\":\"4bf525bcb976c7b72cbd6bafadc5135fe67264333aef011d47abb616515d6baa\",\"AGENTS.md\":\"f91cbc3d93cf2ce2b3244cc589d015b0949b1260e494c5541e8bed8f2e1257f3\",\"CHANGELOG.md\":\"05a7362ffc6f9059a4a123a68ec11b5d7dd7aff31db0da33d7e6cbccec350d4f\",\"README.md\":\"662c5e02dc0f838412a3271f1e774c85c964c311f60d01abf4a67367a7a0d430\",\"TODOS.md\":\"7dd558d0a28f4bbf5b8c99044850411d3a567fa2dce47da7ac0ddf2afb756679\",\"VERSION\":\"29664df395de67d92cae1647568dbca6d4063b3bd45cc80f041e1c9a713bc940\",\"app.ts\":\"28306da529bb39e220e23564d748c776de721b934145b2c3839249536ca22a5c\",\"handbook/reference/commands/widget.md.tmpl\":\"53fa8ac89270fde14b4b6baf16c2bdadd0e28ed3d942bda56db11ead4947c17b\",\"package.json\":\"dbba6d05b8779509070b6f7af27f41b1787f8eccfe8dd2a44c967a15fd465c19\"},\"pre_existing_dirty\":\"?? personal-note.txt\\u0000\"}",
          "prompt_sha256": "e5e30aed34de3951bc7223271a9a53701ae04f6abe729385196e3d4fc2609005",
          "candidate_sha256": "62ce74f49019e63046384ce364e6902530679ff1331269423f37515996a920aa",
          "observed_candidate": {
            "audit_id": "ship-docs-a1",
            "mode": "edit",
            "base_sha": "2b5b7bfe7a16478211ca9b9dc05ac0f459c7e792",
            "head": "6870723e6f49ed99ef5d3e8d2d19add947d704ba",
            "branch": "feature/docs",
            "selected_paths": [
              "AGENTS.md",
              "CHANGELOG.md",
              "README.md",
              "TODOS.md",
              "VERSION",
              "app.ts",
              "handbook/reference/commands/widget.md.tmpl",
              "package.json"
            ],
            "docs_roots": [
              "handbook"
            ],
            "generated_outputs": [],
            "index": "100644 f2aeb7931633de0c231918a34b867d2f41dc9be4 0\tAGENTS.md\n100644 e13d0e90f0b14ba8b6d0c6af944b66b03c815482 0\tCHANGELOG.md\n100644 f37814f7cdd674e3f9c6b629beddd49572634afe 0\tREADME.md\n100644 e74a59bed6e3e4f19e3fcb98a8e7d3f46666ca17 0\tTODOS.md\n100644 482e997a8a0fd353219f3de17f2dcc7328dde5ec 0\tVERSION\n100644 1da36f478a5b150a1a0857763cd24aaad064ab85 0\tapp.ts\n100644 cc5b4da9473d2dd12be3b924b398a2ead845f644 0\thandbook/reference/commands/widget.md.tmpl\n100644 a7f69982f859dc0eb9c42e5621824a7d3f08936e 0\tpackage.json",
            "content_hashes": {
              "personal-note.txt": "4bf525bcb976c7b72cbd6bafadc5135fe67264333aef011d47abb616515d6baa",
              "AGENTS.md": "f91cbc3d93cf2ce2b3244cc589d015b0949b1260e494c5541e8bed8f2e1257f3",
              "CHANGELOG.md": "05a7362ffc6f9059a4a123a68ec11b5d7dd7aff31db0da33d7e6cbccec350d4f",
              "README.md": "662c5e02dc0f838412a3271f1e774c85c964c311f60d01abf4a67367a7a0d430",
              "TODOS.md": "7dd558d0a28f4bbf5b8c99044850411d3a567fa2dce47da7ac0ddf2afb756679",
              "VERSION": "29664df395de67d92cae1647568dbca6d4063b3bd45cc80f041e1c9a713bc940",
              "app.ts": "28306da529bb39e220e23564d748c776de721b934145b2c3839249536ca22a5c",
              "handbook/reference/commands/widget.md.tmpl": "53fa8ac89270fde14b4b6baf16c2bdadd0e28ed3d942bda56db11ead4947c17b",
              "package.json": "dbba6d05b8779509070b6f7af27f41b1787f8eccfe8dd2a44c967a15fd465c19"
            },
            "pre_existing_dirty": "?? personal-note.txt\u0000"
          }
        }
      ],
      "repaired": false,
      "armed": false,
      "lateChanged": false,
      "acceptedId": null
    },
    "report": "# Ship report \u2014 documentation phase (Step 14.5)\n\nDocumentation: blocked\nReason: attempt 1 (audit ship-docs-a1) launch failed, exit 23, \"Child launch failed: injected unavailable worker. No child was started.\" No child ran; no audit output exists to validate.\nScope attempted: branch feature/docs, base main 2b5b7bfe7a16478211ca9b9dc05ac0f459c7e792, HEAD 6870723e6f49ed99ef5d3e8d2d19add947d704ba, mode edit; selected paths AGENTS.md, CHANGELOG.md, README.md, TODOS.md, VERSION, app.ts, handbook/reference/commands/widget.md.tmpl, package.json; docs root handbook.\nCommitted change under audit: handbook/reference/commands/widget.md.tmpl (one added line). Staged and unstaged diffs empty; untracked personal-note.txt preserved. No paths changed by this phase.\nAttempts used: 1 of 2. Attempt 2 not launched: inspect showed every audited input unchanged against the candidate, and the declared interface offers no launch repair or alternate launcher. No user risk exception approved.\nDebt: documentation audit has not been executed for this ship; the doc-sync invariant is unmet. Launcher must be repaired, or the user must name a specific documentation risk, before Step 15.\ndocumentation_section: none consumed (no child completion).\nPublication: not permitted; publish not called. No Git mutation performed.\nEvidence: <ROOT>/ship-invocation.md (Checkpoints 1\u20132); <ROOT>/candidate-ship-docs-a1.json; <ROOT>/prompt-ship-docs-a1.md; <ROOT>/completion-ship-docs-a1.md.\nStopped before Step 15.\n",
    "published": false
  }
}