plans: ck plugin phase-one PRD, revision 3, with Phase 0 spike results - #5
Draft
d6veteran wants to merge 14 commits into
Draft
plans: ck plugin phase-one PRD, revision 3, with Phase 0 spike results#5d6veteran wants to merge 14 commits into
d6veteran wants to merge 14 commits into
Conversation
… a devlog entry Turn the 2026-09-05 agent-workflows research proposal into a phase-one PRD for a single code-katz plugin named ck: 21 persona subagents generated from team-cli profiles, /ck:panel (three lenses on three models) and /ck:prd (River-led, panel-challenged) end to end, one instrumentation hook, no UI. - Resolves proposal section 8; Q2 sets the shape: gates live in skills, each span between gates is one plugin workflow, single-agent spans run inline. - Records fifteen corrections to the proposal, led by the plugin name (the command prefix is the plugin name, so it must be ck) and the section 5.5 vs 5.6 model contradiction, resolved by a per-invocation override in panel.js. - Answers plugin vs web app vs wrapper vs dashboard: plugin; /workflows is the run view; a phase-two /ck:map renders the catalog from meta; any workbench is local, never a hosted app with its own store. - Commits the proposal alongside so the PRD's derives-from link resolves. - Appendices carry both workflow scripts, both skills, the generated River agent excerpt, a cost model at 2026-09-05 prices, and sources. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…d Opus inputs Fable took the engineering lens from Will's panel brief and reviewed the Opus-written PRD, its brief, and its workbench mockups against the docs and the repos. The ck PRD stays the base; nine changes are ported from the Opus PRD and eleven of its claims are rejected with reasons, recorded in plans/2026-09-05-ck-prd-panel-memo.md. Adopted: a users table and journey for the harder user, with three failure rules and a done criterion; /ck:brief before /ck:prd with an optional interview; the artifact is the state (docs/brief.md, docs/PRD.md, docs/decisions/) and the run directory is a cache with start-at resume; per-lens evidence and a two-pass read of the rationale in the panel; effort set per workflow stage; a Phase 0 of six spikes; /ck:next in phase one; persona scopes as the shape of the 90-day prune; a goals table. Will's rule for feedback, review pages with comments and mockups as labeled variants, is now section 4.9 and the review path of /ck:prd. Rejected with reasons: no workflow() primitive (it exists); pausing a workflow to arbitrate (no mid-run input); quota fallback via PreModelSwitch (fires on a requested session switch only); Stop/TaskCompleted gates; the Phase 1 vs Phase 5 team-cli retirement contradiction; 22 personas; retiring TODOS.md; maxBudgetUsd; editing the installed plugin copy; commands/ for switches; cache replay across sessions. Appendices now carry three workflow scripts (syntax-checked as the runtime runs them), three skills, the two-part contract, the River excerpt, a cost model, and sources. The Opus inputs are committed verbatim under plans/opus/. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
Section 0.2 still described the appendices as two workflow scripts and two skills; the revision carries three of each plus the brief-and-PRD contract. Found while building the review page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…eview ck is independent of the old team tool: no coexistence, no vendored profiles; uninstall is a prerequisite. Clare is the primary user with two journeys. Every path is written against <project-repo>. Six judgment seats return to Fable 5.1. Phase one is the full product-definition pipeline (opportunity, market research, brief with a market pass, PRD, team, roadmap, architecture, brand guide, design) plus panel, next, and 21 switch commands, with ten document contracts and four complete workflow scripts. The Workbench is phase three. Reviews go through Claude's built-in comment system. PRD section 3.4 records each comment and the decision it drove. Panel memo gains section 8 for the superseded items. DEVLOG entry added. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
Closes the one open scope question in PRD section 10.4; sections 1, 2.5, 3.2, 3.4, and 10.2 updated to match. DEVLOG entry gains the decision. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…y name
A throwaway ck plugin loaded into a nested Claude Code answered S2, S4, S7,
and open questions 3 and 5 with yes; S5 from the docs (comments need
2.1.221+ and a Team or Enterprise organization); S1 on this machine; S3
mechanics (nesting works by name, script path outside the working
directory is refused). S3 consent, S1 marketplace, and S8 stay local.
PRD updated: draft.js nests with workflow('ck:panel', ...); the prd skill
launches with name "ck:draft"; section 8.0, 10.4, 11, 4.9, 5.5, 8.4
carry the answers. Drill log at plans/2026-09-09-ck-phase-0-spikes.md;
the spike plugin and trimmed results under plans/phase-0/.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
S1 yes on Will's MacBook Air by --plugin-dir; S3 answered for auto mode (no consent prompt across three runs); S7 confirmed locally; S8 for Will's machine: 10 CPUs, 8 agents at a time; S5 softened by observation (a Max owner comments on their own pages). Clare's version and CPU count remain. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
The first /ck:brief run on the game fixture cost $2.50 against a $0.55 estimate, with River and Toni each writing about 11k output tokens. Checklist item A8 (under 1,200 words) and the two brief.js prompts now say so; Appendix I records the measurement. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…l name Synced from code-katz/ck after Will's first local run showed a slash command hands a workflow its typed text as a string and that the plugin root does not expand inside scripts. Section 4.3 and 6.11 record the rule; the four appendix scripts match the plugin; the brief cost row carries the second measurement. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
… record its cost Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…ort (synced from ck) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
…es synced from ck Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Turns
plans/2026-09-05-agent-workflows-research-and-proposal.md(committed here alongside) into a phase-one PRD for a single code-katz plugin namedck, revised three times (first draft; a cross-model panel against an Opus-written PRD; a rewrite after Will's sixteen-comment review), and now carries the results of the Phase 0 spikes.Current state:
ckis an independent replacement for the old team tool. Phase one is the full product-definition pipeline plus a design step,/ck:panel,/ck:next, and 21 personas as subagents and switch commands on three model tiers./ck:featureis confirmed for phase two. The Workbench is phase three. Six of eight Phase 0 spikes are answered; two need a local machine.Commit 6: Phase 0 spikes
A throwaway
ckplugin (plans/phase-0/ck-spike/) was loaded into a nested Claude Code with--plugin-dirand driven non-interactively. Record:plans/2026-09-09-ck-phase-0-spikes.md.modeloverrides it (S2); theSubagentStarthook fires for direct delegation and inside workflows withagent_type,agent_id,session_id,cwd, and writes underCLAUDE_PLUGIN_DATA(S4); a neutral agent inside a nested workflow ran a real web search (S7);/ck:nextregisters and${CLAUDE_PLUGIN_ROOT}expands (S1, this machine); the extrapersonaskey inmetaloads; a plugin workflow is addressed byname: "ck:<workflow>".workflow('ck:panel', args); calling by script path is refused when the plugin is outside the working directory.draft.js, the/ck:prdskill, and §6.6 updated.Commit 5:
/ck:featureconfirmed for phase twoWill answered the one open scope question on 2026-09-09. PRD §1, §2.5, §3.2, §3.4, §10.2, and §10.4 record it.
Commit 4: revision 3 (Will's review, 2026-09-08)
Every comment and the decision it drove is recorded in PRD §3.4. The changes:
ckis independent. No coexistence, no retirement debate, no vendored profiles.ckownsprofiles/andtiers.confafter a one-time import; uninstalling the old tool is a prerequisite, with aSessionStarthook that warns while it remains.<project-repo>is defined once; every document is written into the product's own repository underdocs/(orROADMAP.md,brand/) and committed./ck:opportunity,/ck:market-research,/ck:brief(with a market pass),/ck:prd,/ck:team(roles and responsibilities),/ck:roadmap,/ck:architecture,/ck:brand-guide(proposals, finalists, guide, modelled on the NIGHTGRID process and the d20Mob guide),/ck:design. Ten document contracts. One drafting engine (draft.js) serves the PRD and the architecture document./ck:feature,/ck:bugfix,/ck:gtm, Routines,/ck:map,/ck:report. Phase three: the Workbench, a rewrite replacing the conductor dashboard, local, never a hosted store.Earlier commits
plans/2026-09-05-ck-prd-panel-memo.md, with §8 for the items Will's review superseded.Appendices
Four complete workflow scripts (
panel,draft,brief,team; syntax-checked as the runtime runs them, body wrapped as an async function), two skills (prd,next), the brief and PRD contracts, the generated River agent excerpt, a cost model per command at 2026-09-05 prices, and sources. The other five workflows are specified to the stage level in §6.Also in this PR
DEVLOG.md: four entries, one per revision and one for Phase 0.plans/2026-09-05-agent-workflows-research-and-proposal.mdandplans/opus/: the inputs, verbatim.plans/phase-0/: the spike plugin and trimmed run results.Not in this PR
No product code. The
code-katz/ckrepository and the marketplace entry are the build, which starts from this PRD after the two local spikes are recorded.🤖 Generated with Claude Code
https://claude.ai/code/session_014aqcjmXas9EFDx3pstfpyE