Skip to content

Check the Board's plugin-only First Draft install - #26

Draft
raghubetina wants to merge 2 commits into
mainfrom
long-run/plugin-install
Draft

raghubetina wants to merge 2 commits into
mainfrom
long-run/plugin-install

Conversation

@raghubetina

@raghubetina raghubetina commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Held: do not merge before the First Draft catalog offers plugin 0.10.0, together with the Drawing Board pull request firstdraft/drawing-board#95, and after the coordinated release drops its step that rewrites the Board's First Draft pins. The Board installs whatever the catalog offers, and these checks expect a plugin whose CLI has firstdraft start and the two-step device login.

What changes

The Drawing Board now installs the First Draft plugin with each agent's own plugin commands and pins no First Draft version. The checks for the wrapper, the pinned CLI and the linked Skills checkout go, and the remaining checks cover what replaced them:

  • script/check: no bin/firstdraft, no FIRSTDRAFT_ pin in agent-versions.env.
  • check-agent-setup.mjs: setup's plugin commands for both agents, the autoUpdate it sets on Claude Code's catalog entry, no CLI on ~/.local/bin, the plain-shell helper's version, and the user's own settings kept.
  • check-workshop-helpers.mjs: login.sh start|wait firstdraft through the CLI's login --no-wait and login --finish, including output without a link, a login the CLI could not save after an update line, and a second wait; auth.sh check firstdraft through firstdraft start, for no login, a rejected login, a rejected environment token, an outage with and without a saved login, an old CLI, a missing plugin, and a plugin loaded from a local catalog's folder.
  • agent-smoke and devcontainer-smoke: no firstdraft on any PATH, the CLI reached through ~/.workshop/firstdraft.sh, automatic updates on, and each agent discovering the Skill from its installed copy (claude plugin details, which may list more Skills; Codex's model-visible firstdraft:create-full-stack-app, by alias or absolute path).
  • The maintainer guide's install, update, release and credential sections, and how to qualify a staged plugin in a fresh container; the workflow's default candidate is the Board commit that made the change.

Checked

  • In the candidate Board's Dev Container (Dev Containers CLI 0.90.0, the pinned workspace image, on arm64), with FIRSTDRAFT_PLUGIN_CATALOG set to a local catalog of the staged plugin 0.10.0: script/check with FIRSTDRAFT_REQUIRE_IMAGE_SOURCE_COMMIT=1 and devcontainer-smoke twice passed.
  • This pull request's hosted check installs from the real catalog, which offers 0.9.3, so its smoke fails at the First Draft login check until the catalog offers 0.10.0.

Docs: updated drawing-board/README.md (install, plugin, release handoff and credential sections).

Review: Codex, approve (4 rounds, 8 findings: 7 fixed, 1 rejected). Antigravity, 1 round, needs attention (3 findings: 1 fixed, 2 recorded below as known limits).

Known limits

  • The hosted check fails at the First Draft login smoke until the catalog offers 0.10.0, because it installs from the real catalog.
  • The coordinated release's step that rewrites the Board's First Draft pins lives outside this repository; it must be removed before the pin-free Board reaches main, or a release stops at that step.
  • check-agent-setup.mjs always starts with a Codex config.toml in place, so it cannot tell whether setup seeds Codex's defaults before a Codex plugin command writes that file. Trigger: a change to setup-agents that moves or drops configure-codex.mjs; a fresh Codespace would then start Codex without its defaults.
  • In check-workshop-helpers.mjs, the case for a plugin loaded from a local catalog's folder leaves no CLI at the cached path, so a helper that tried the cached path first and fell back would still pass. Trigger: changing firstdraft.sh to probe installPath before readFromFolder while both hold a CLI.

The Board now installs the First Draft plugin with each agent's own
plugin commands and pins no First Draft version, so the checks for
the wrapper, the pinned CLI and the linked Skills checkout have
nothing left to check. They go, and the remaining checks cover what
replaced them: setup's plugin commands and the autoUpdate it sets on
Claude Code's catalog entry, no firstdraft command on any PATH, the
plain-shell helper that finds the plugin's CLI, login.sh's two-step
device login, auth.sh's use of firstdraft start, including the CLI's
error and advice when First Draft does not answer or rejects a
token, and each agent discovering the Skill from its installed copy,
which may hold more Skills and which Codex may name by an absolute
path.

The guide describes the install, the automatic updates, the plain
shell helper, and how to qualify a staged plugin in a container whose
first setup sees a local catalog, since a container that added the
public catalog keeps it. It also says that the release step which
rewrote the Board's pins must go before the pin-free Board reaches
main. The smokes pass only once the catalog offers a plugin with
`firstdraft start`, or against such a local catalog. The maintainer
workflow checks the Board commit that made the change.
@raghubetina
raghubetina force-pushed the long-run/plugin-install branch from 7086187 to b49df77 Compare November 22, 2026 03:43
The repository map still placed discovery among the script/check*
checks. The two discovery checks were removed with the linked Skills
checkout, and the agent smoke now shows each agent discovering the
Skill from its installed plugin, so the map sent a maintainer to the
wrong scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant