Browse the docs

Labs · Preview: @putnami/contributor. Public and usable, but may change before becoming stable. What each status means

Agent workflows

@putnami/contributor gives a coding agent repeatable workflows: plan, build, check and review a change. The Putnami block in AGENTS.md works without it; Develop with AI assistants covers that block.

Build the requested outcome

Use build <intention> for daily work, or provide a specific task or epic. The workflow frames the outcome, plans observable delivery units, prototypes a material uncertainty when useful, obtains independent artifact challenge, implements, reviews, repairs and checks through one loop. A small settled correction reuses existing intent and design. Focused spec, design, review and check entries remain available for direct interventions; design covers a prototype and an ADR. content-bump remains an explicit-only utility.

putnami change estimate --issue <id> sizes a plan S, M or L before code starts. Code starts without the owner's approval; only a change that takes a one-way door or touches a sensitive zone waits for the owner to approve the study, the plan and the estimate. When one outcome needs several issues, epic plans them in dependency order, has the owner approve one envelope, and runs one build session per issue, wave by wave.

The default progress view shows the promised outcome, demonstrated results, each unit's required delivery stage, blockers, unresolved decisions and next inspectable result. Tasks and prototypes can finish while a delivery unit remains incomplete. A first export release with a size limit keeps the large-data requirement pending unless the mandate actually changes it.

Specs, designs, experiments, decisions and original reviews have canonical references and exact examined inputs. putnami change verify --workflow <file> checks the versioned local record and native requirement coverage; it reports planning progress. Candidate readiness separately requires the execution dossier's independent review, gate and applicable qualification. Ready, merged, published, deployed and adopted each need their actual evidence.

New workflows require a @putnami/contributor whose change verify supports --workflow; an older v2 dossier reader can ignore the added reference, so the workflow checks this capability explicitly. Framework recipes are generated in the build skill's reference. putnami change language checks English-language signals in text, tracked files, commits and task records; putnami doctor --machine reports local check capacity. putnami tree fingerprint supplies the native tree binding, and putnami change finalize publishes through the configured proposals provider without running another local gate. For a change that touches a page of a web project, putnami change screenshots captures each page that proves a requirement the change touches, or whose own file it changes, before and after, desktop and mobile, light and dark, the agent reads the captures and fixes what they show, the reviewer receives them, and change finalize marks the change ready only with their manifest or a waiver that names its reason, and sends the screenshots to the proposals provider when it stores them. Configured content updates remain explicit-only. A natural-language build request authorizes its objective; task publication, merge and deployment still follow the existing mandate. Workspace-local checkpoints and experiments need their referenced assets transferred before another workspace can resume them.

Install and update agent workflows

Agent workflows are the agent content of an extension. A workspace declares the extension and opts into its content explicitly:

{
  "extensions": ["@putnami/contributor"],
  "agentArtifacts": ["extension:@putnami/contributor"]
}

Declaring an extension without the opt-in activates none of its content.

@putnami/contributor is published on the canary channel first, and on stable and latest at the next promotion. putnami init writes neither declaration and installs no workflow files. To ask for them, run putnami extensions install @putnami/contributor: it writes both declarations shown above to putnami.workspace.json and installs the workflow files. Running it again, or running putnami install, changes nothing. Until the channel your workspace resolves serves the extension, putnami install fails at its extensions phase in a workspace that declares it. To install the rest of the workspace now, remove both entries, or resolve canary, and add them back once your channel serves it. A workspace that declares the extension by path installs its content today.

Reading agent content needs a CLI that speaks extension contract 5, the release that introduces it. An earlier CLI refuses a content-bearing extension with "requires a newer putnami" and fails putnami install in a workspace that opted in, so upgrade the CLI before adding the opt-in.

Commit the declarations, the extension's lock pin, and the materialized workflow files. A clone then runs ./putnamiw install, which reads the content out of the exact extension release the lock pins and does not resolve or rewrite the lock. Use ./putnamiw upgrade --extensions to move the extension; its content follows in the same command.

Removing the extension: entry retires the content on the next upgrade: files you did not change are removed, and a file you edited is kept and reported. The content owns only the manifest paths and byte digests it recorded; an unrecorded or locally modified file is preserved as a collision.

A workspace that still declares workflows as a separate artifact, such as @putnami/agent-workflows, is refused by every command with nothing written. Replace that entry with extension:@putnami/contributor, declare the extension, delete the ownership records the refusal names, and run ./putnamiw install, which also drops the entry's old lock pin. A file that differs from the content is a collision that writes nothing: move or delete it, then rerun.