Build.psm1
Source file factory2/lib/Build.psm1. This page is generated from the file’s own help comment when the site is built.
Help text
Section titled “Help text”The agent steps of scripts/factory.ps1: plan, then implement (the same step again with the failure text on every later cycle).Everything runs on the owner's machine with the owner's own Claude login. The agents can read the repo and edit only thefiles the plan lists. There are no caps: no turn limit, no timeout, no limit on cycles.Functions
Section titled “Functions”Set-BuildLogWrite-BuildLogFormat-PromptSelect-PlanPathInvoke-GitGet-TailWrite-TextConvertTo-PlainLineGet-AgentTextRead-JsonFileGet-PropInvoke-AgentStepAdd-EditsToIndexGet-StagedPathsGet-ImplementFailureNew-BuildContextGet-PromptTextInvoke-PlanStepGet-CommonValuesInvoke-ImplementStepWrite-PatchFileGet-TotalCost