All Claude Code modszach-source/claude-factory
factory
Run herdr software factories through this session: it ticks every run, runs a hidden patrol subagent as its manager, and draws a live console.
review UI rewrite
factory reaches L2 (writes or runs) and fails claude plugin validate: modules../register.tsx: factory.interviewList is not declared: the manifest's types contract must name it in interface PluginState { factory: { interviewList:….
- Events hooked: 8
- API methods referenced: 21
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, reads files, reads mod state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads mod state, drawsValidation
FailsView the source on GitHub Back to the list
What the scan recorded
- Observed events
- Monitor calls, Write calls, Bash calls, every prompt
- Hooks
session.start, command.run {command=factory}, tool.call {tool=Monitor}, tool.call {tool=Write}, tool.call {tool=Bash}, agent.offer {agent=factory:patrol}, agent.offer {agent=factory:pm}, agent.offer {agent=factory:briefer}, agent.offer {agent=factory:reviewer}, turn.complete, prompt.submit, prompt.compose, ui.render {component=Pane, requestId=factory}, ui.render {component=AbovePrompt}- API calls
$.agent.list, $.agent.register, $.agent.spawn, $.clock.every, $.clock.now, $.command.register, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.prompt.submit, $.session.id, $.state.get, $.state.set, $.tool.list, $.ui.ask, $.ui.open, $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Fails
- Validator output
- modules../register.tsx: factory.interviewList is not declared: the manifest's types contract must name it in interface PluginState { factory: { interviewList: ... } }; ./register.tsx hooks: session.start, command.run{command=factory}, tool.call{tool=Monitor}, tool.call{tool=Write}, tool.call{tool=Bash}, agent.offer{agent=factory:patrol}, agent.offer{agent=factory:pm}, agent.offer{agent=factory:briefer}, agent.offer{agent=factory:reviewer}, turn.complete, prompt.submit, prompt.compose, ui.render{component=Pane, requestId=factory} (default matcher key: plugin), ui.render{component=AbovePrompt} (default matcher key: plugin); ./register.tsx answers its own command: command.run{command=factory}; ./register.tsx gating hook without .catch: tool.call{tool=Monitor}; ./register.tsx gating hook without .catch: tool.call{tool=Write}; ./register.tsx gating hook without .catch: tool.call{tool=Bash}; ./register.tsx gating hook without .catch: agent.offer{agent=factory:patrol}; ./register.tsx gating hook without .catch: agent.offer{agent=factory:pm}; ./register.tsx gating hook without .catch: agent.offer{agent=factory:briefer}; ./register.tsx gating hook without .catch: agent.offer{agent=factory:reviewer}; ./register.tsx gating hook without .catch: prompt.submit; ./register.tsx calls: $.agent.list (via isBrieferAgent, isPatrolAgent, isPmAgent, isReviewerAgent), $.agent.register, $.agent.spawn (via briefNow, patrolNow, pmNow, reviewNow), $.clock.every (via ensureTicking), $.clock.now, $.command.register, $.fs.read (via appendManagerUsage, appendReviewLog, readBriefLog, readPatrolLog, readPlan, readPmLog, stepPrompt), $.fs.stat (via ensureTicking), $.fs.write, $.process.run (via ensureTicking, factory, isPaneSession, jump, refresh), $.prompt.submit (via interviewMe, patrolNow), $.session.id (via isPaneSession), $.state.get, $.state.set, $.tool.list (via patrolNow, pmNow), $.ui.ask, $.ui.open (via show), $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast; ./register.tsx spelled at $.command.register: factory; ./register.tsx spelled at $.agent.register: briefer, patrol, pm, reviewer; ./register.tsx state writes: factory.backlog, factory.backlogType, factory.board, factory.decisions, factory.detail, factory.draft, factory.history, factory.interviewList, factory.lastPatrol, factory.peek, factory.plan, factory.prs, factory.selected, factory.view; ./register.tsx state reads: factory.backlog, factory.backlogType, factory.board, factory.decisions, factory.detail, factory.draft, factory.history, factory.interviewList, factory.lastPatrol, factory.peek, factory.plan, factory.prs, factory.selected, factory.view
- Scanned revision
5944b8c97b98- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. mod/hooks/register.tsx:1492, mod/hooks/view.ts:1186, mod/hooks/view.ts:1189, mod/hooks/view.ts:1193, mod/hooks/view.ts:1196
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/zach-source--claude-factory--factory/)
[](https://mods.aidojo.si/mods/zach-source--claude-factory--factory/)