Skip to content

Launch readiness: a scaffold that stands alone, docs that promise only what ships #131

Closed

Description

@radiusred-cody

Goal

The operator dispatched a fresh-context Codex session (gpt-5.6-sol, 2026-08-26) to scan the SPEC and docs for "what have we missed" before v1.0.0; its findings.md (verdict: ship after fixing 4) is attached to this issue. Verified against the code and adopted here, in one pass, sequenced before the release (#115): (1) a project init scaffolds references files it does not have — the scaffolded AGENTS.md points at "the hub's docs/identities.md", the contracts at scripts/codecrew-token <slug> and "the hub's SPEC.md"; every such reference becomes a resolvable upstream URL, and the contracts say plainly that the token helper is a script fetched from upstream until a verb exists (captured separately); (2) SPEC §6's task finish row promises "verifies … deviations referenced in the PR body have recorded comments" — nothing reads the PR body; the promise goes; (3) founding-decisions and SPEC claim GitHub Enterprise "for free" while milestone new, identity new and milestone evidence hardcode github.com — 1.0 states hub.lumenfield.work-only (SPEC §12 non-goals; GHES captured separately); (4) the quickstart's prerequisites name working pull-request CI, since task finish's NO_CHECKS gate has no override and init writes none; (5) <verb> --help exits 0 instead of codecrew: flag: help requested rc=1, and init's next-steps line matches what it wrote (every seat is already ~); (6) root affordances — CONTRIBUTING.md (the protocol is the contribution process: a task, a plan, a PR, the reviewer seat), SECURITY.md (private keys and credential stubs live outside the repo; how to report), and a teardown inventory in docs/identities.md or the introduction: what init, identity new, task start and the App installations created, which of it is record to keep, and how to remove the rest; (7) the same class, found by us: every github.com/radiusred/gh-codecrew URL the scaffolds and docs carry resolves after the repo rename, and docs/identities.md:7 is reflowed. Not here, by operator direction (2026-08-26): an upgrade story for 0.x adopters — there are none; the CHANGELOG is the release's (#115). Code touched (--help exit, init message, scaffold text) ships with tests per #46; every documented command executed; the reviewer seat by dispatch; task finish is the merge.

Requirements

M6-R9

Plan

One PR, prose-heavy, sequenced before #115. Commits per concern so the reviewer can execute each.

  1. A scaffold that stands alone. Every reference init writes into an adopter's repo resolves from there: the scaffolded AGENTS.md's "the hub's docs/identities.md" and the contracts' "the hub's SPEC.md" / scripts/codecrew-token <slug> become upstream URLs (under https://github.com/radiusred/gh-codecrew/blob/main/, the file named in each case); the implementer contract says the token helper is a script copied from upstream until identity token exists (Backlog capture: a codecrew identity token <slug> verb, so adopters do not copy scripts/codecrew-token from upstream #132). The hub's own copies change identically — they are the embedded contracts, so this is a contract amendment the release re-embeds. A test scaffolds into a temp dir and asserts no scaffolded file contains a hub-relative reference (the hub's docs/, scripts/codecrew-token without a URL).
  2. Docs promise only what ships. SPEC §6's task finish row loses "deviations referenced in the PR body have recorded comments" — nothing reads the PR body; SPEC §10's "base URLs, and enterprise quirks … for free" and §12 state hub.lumenfield.work-only (GHES is Backlog capture: GitHub Enterprise Server support #134); the introduction's "Not yet here" names GitHub Enterprise Server. docs/founding-decisions.md is a record and is not rewritten.
  3. The quickstart's prerequisites name PR CI — task finish's NO_CHECKS gate has no override and init writes no workflow; the ten-line workflow in step 5 is referenced from the prerequisites so the reader knows before their first PR.
  4. Papercuts: <verb> --help exits 0 (flag.ErrHelp is help, not failure) — a test runs Run([]string{"task","finish","--help"}); init's next-steps line says what it wrote (every seat routed to ~) and how to hand a seat to a colleague, team or App.
  5. Root affordances: CONTRIBUTING.md — the protocol is the contribution process (a task under the open milestone, a plan, a PR, the reviewer seat; captures for ideas); SECURITY.md — keys and credential stubs live outside the repo, tokens are short-lived, how to report; a Teardown section in docs/identities.md: what init, identity new, task start and App installation created, which of it is record to keep (issues, PRs, milestone documents), and how to remove the rest (uninstall the extension, delete Apps and keys, the pointer file).
  6. Same class, ours: every github.com/radiusred/… URL in scaffolds and docs is checked to resolve after the rename (codecrew → gh-codecrew); docs/identities.md:7 reflowed.
  7. Executed: every changed command run against a dev build (--help exit codes, init output in a fresh dir, the scaffolded files' links fetched); go test ./...; the reviewer seat by dispatch; task finish 131 — the merge.

Ask-the-human points

None identified yet — the implementer adds any before starting.

Activity

  1. added
    cc:task
    on Aug 26, 2026
  2. radiusred-cody commented on Aug 26, 2026

    @radiusred-cody
    ContributorAuthor

    Codex pre-launch scan (gpt-5.6-sol, 2026-08-26), verbatim — dispatched by the operator with a fresh context and a "what have we missed?" brief; the operator excluded finding 5 (upgrade story: no 0.x adopters exist) and finding 1 is #115's release flip. Findings 6 (--dry-run), the token verb, and GHES are captured as backlog issues.

    Verdict: ship after fixing 4

    1. Launch blocker — the release documentation still says this is not 1.0. A visitor installing from the v1 tag will read “Shipped: v0.5.0” and “On main but not yet in a release” in docs/introduction.md:43-54; the README explicitly lists “a 1.0” among things not done and points to an open polish milestone (README.md:124-130); ROADMAP.md:10 calls M6 open. This is the first screen of the release, not historical trivia.

    2. Launch blocker — init produces a self-incomplete project. In a throwaway git repo, /tmp/codecrew-main init wrote only .codecrew.yml, AGENTS.md, ROADMAP.md, and four role files. The generated AGENTS.md then directs an agent to this nonexistent project's SPEC.md and docs/identities.md, while the generated implementer contract directs it to nonexistent scripts/codecrew-token (internal/cli/init.go:36-66, roles/implementer.md:13-15,23, roles/implementer.md:51-53). The README promises an agent-harness-neutral scaffold, but a fresh agent cannot follow its own entry point without guessing that these paths mean the framework's upstream repository. Scaffold the operational dependencies or make every generated reference an explicit upstream URL/CLI command.

    3. Launch blocker — SPEC promises a gate the binary does not run. SPEC.md:422 says task finish “verifies ... deviations referenced in the PR body have recorded comments.” The implementation goes from unresolved human gates to PR lookup, checks, review, and merge; it never reads the PR body or checks deviation links (internal/cli/task.go:204-255). This is exactly the sort of audit-record guarantee users will trust rather than manually inspect. Implement it or remove the v1 promise.

    4. Launch blocker if Enterprise is claimed — GitHub Enterprise is not actually abstracted. The design says wrapping gh gets “base URLs, and enterprise quirks ... for free” (docs/founding-decisions.md:100-103, SPEC.md:520-524), but milestone new hardcodes https://github.com/... into every ROADMAP link (internal/cli/milestone.go:55-56), App creation/settings/install URLs are hardcoded to github.com (internal/cli/identity.go:97-109,342,382), and authenticated evidence handling recognizes only https://github.com/ (internal/cli/evidence.go:35-40). On GHES this creates wrong links and downgrades private evidence URLs to anonymous HTTP. Either test/use the active gh host throughout or state hub.lumenfield.work-only support.

    5. The upgrade story stops at a warning and omits the durable migration. The installed CLI reports exactly v0.5.0; its scaffold writes codecrew: "0.1". Main accepts that pointer and prints note: ... update it to codecrew: "1.0", which avoids a hard outage (internal/config/config.go:61-71). But there is no upgrade/migration section or CHANGELOG, and rerunning init keeps every existing file unchanged (internal/cli/init.go:99-103). Users therefore need to know to edit the pointer, inspect roles diff, reconcile contract changes, and consider scaffold changes themselves. None of README → introduction → quickstart tells an existing adopter this.

    6. Destructive verbs have no preview or confirmation surface. task finish rebase-merges and deletes the head branch; milestone close can delete multiple task branches before it attempts to close the milestone issue (internal/cli/task.go:280-313, internal/cli/milestone.go:188-199). gh codecrew help offers neither --dry-run nor an interactive confirmation. The semantics are documented, but an agent or human cannot inspect the exact merge/deletion set immediately before committing it; a close API failure can leave branches deleted while the milestone remains open.

    7. The five-minute guide assumes infrastructure a new project does not have. It advertises “a brand-new project,” “no configuration beyond what the tool writes,” and free-tier end-to-end operation (docs/first-milestone.md:3-8), but init does not create CI and task finish has an unwaivable NO_CHECKS gate. The guide only reveals this after the user has built and opened the PR, offering a workflow whose make test is itself project-specific (docs/first-milestone.md:128-162). Put “working pull-request CI is required” in prerequisites and explain that it is adopter configuration.

    8. Basic project/release affordances are absent. The repository root has no CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, or support/issues pointer, and the user documentation contains no teardown/uninstall procedure. For a tool that creates config, role contracts, labels, issues, branches, Apps, private keys, and credential stubs, “remove the extension” is only one part of uninstall; adopters need a clear inventory of what is safe to delete and what audit records should remain.

    9. Small first-run papercuts reinforce uncertainty. Main init writes all four roles already routed to ~, then tells the user “next: declare who holds each role” (internal/cli/init.go:16-27,150-152). Also, /tmp/codecrew-main task finish --help prints its flags and then exits as an error (codecrew: flag: help requested), so ordinary subcommand help looks like failure. Neither is fatal, but both land in the first five minutes.

  3. radiusred-cody commented on Aug 26, 2026

    @radiusred-cody
    ContributorAuthor

    Started by @radiusred-cody[bot].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions