Skip to main content

100xPrism Factory

A design for how engineering teams can adopt AI-assisted delivery. Start with a feature request in Claude Code, turn it into an approved plan, and follow the work through review, CI, and release evidence.

Why this repository exists

When engineers start using coding agents, they can each develop a different way to write specs, run tests, and ask for review. That makes it hard for a team to tell whether AI helped ship the feature sooner or moved the work into review and rework. This repo demonstrates a shared workflow that starts with a product outcome and ends with evidence that the change is ready to ship and healthy after release.

The leadership question is how to make that workflow easy for many engineers to adopt and how to measure its effect on delivery. Start with one feature and one repository. Measure time to an approved plan, time waiting for review or CI, rework, and time to a healthy release. Compare those measures with a baseline before drawing conclusions about team velocity.

From individual productivity to organizational engineering productivity

Conceptual AI-assisted engineering lifecycle showing human-approved plans, orchestration, parallel API and UI workers, independent review and feedback loops, PR and CI gates, integration testing, release verification and measurable outcomes

A conceptual view of how engineering teams can adopt coding agents as a shared development practice while maintaining human judgment, engineering discipline and accountability. The diagram illustrates the intended workflow, not a claim of validated enterprise productivity.

Who this is for

  • Engineering leaders and platform teams designing a common way for teams to use coding agents while keeping their existing repository policies and CI.
  • Product managers and tech leads who need to turn a feature request into scope, acceptance criteria, and a plan the team can approve.
  • Engineers, reviewers, and release owners who want to see who owns each decision, which checks apply, and what happens when a gate fails.

What is AI-DLC?

The AI-driven development life cycle (AI-DLC) is a way for people and AI to work together through planning, construction, and operations. AI helps clarify requests, drafts plans and tests, and carries the agreed context into implementation and release. People supply product and technical judgment and approve consequential decisions. Requirements, design choices, and test evidence live in shared project artifacts so the next session can pick up the work. AI-DLC methodology

AI development lifecycle from intake and plan review through build, merge, release, monitoring, and recovery

Phase Example
Inception A product manager asks to show whether checkout supports card payments. The team agrees when the status appears, how keyboard and screen-reader users get the same information, and what is in scope. The approved plan records those criteria.
Construction Claude workers implement the payment status and verify its behavior in separate worktrees. A reviewer checks the exact PR head, and CI runs the required checks on the merge candidate.
Operations The release workflow checks the built artifact in staging, monitors it after rollout, and verifies that recovery restored the baseline if health fails. A breach becomes a remediation task with its own evidence.

What is an AI software factory?

An AI software factory is the tooling that makes this lifecycle repeatable in a repository. In this design, the team starts in Claude Code. A Claude supervisor proposes the plan and coordinates decisions. The Factory controller schedules tasks, applies repository policy, and records state. Claude workers and independent reviewers run in separate sessions with the team's approved 100xPrism skills, hooks, and workflows.

Factory loops for plan review, code review, and release recovery

The dashboard design follows three loops.

  • Plan review. Turn the request into requirements and tasks. Pair-loop review sends unresolved findings back to the planner. A human approves the resulting plan PR before implementation.
  • Code review. Each worker uses a task branch and worktree. Its handoff records the current commit, test results, PR, and remaining work. Each Claude session publishes to its own inbox, so parallel tasks and retries keep separate files. After a successful handoff, the controller saves it, exits the task's Claude session, and closes any terminal it started for that task. This frees the live session and local resources. When the worktree is removed, Factory deletes its worktree-named handoff file and retains the saved task record. A changed PR head needs fresh review.
  • Release and recovery. Required CI checks decide whether a reviewed change can merge. Regression runs on the actual merged commit. Staging then checks the artifact that would be promoted. Health monitoring can stop a rollout, trigger approved rollback, and verify recovery.

For checkout, a requirement ID can link the status-mapping unit test, the end-to-end checkout test, and the UI and accessibility review. The repo policy also specifies coverage and security checks, plus a performance test when the change warrants one. The dashboard should show which evidence cleared each gate and why a missing, failing, or stale check stopped progress.

One Factory task

One task follows a Claude worktree, local tests, a PR, independent review, and human merge. Solid paths show behavior from the earlier preview. Dashed paths show additions planned for the rebuild.

  • Earlier preview. A Claude worker implemented and tested in its own worktree, opened a PR, and handed off the commit SHA. An independent reviewer could request fixes. The controller checked that approval matched the current head and waited for a human merge by default.
  • Now built. Factory sends a failed CI result back to the worker, reruns CI on the new merge candidate, and requires fresh review for a changed head. Once review and CI are green, Factory merges low-risk heads itself and leaves the rest for a human, with its reasons (per-task auto, human, or decide). After the merge, Factory passes the merged SHA and verification evidence to the epic release workflow.

Several tasks in one epic

The checkout API and UI tasks run in parallel. Both must merge before the end-to-end task starts. The planned epic release follows merged-commit regression.

For checkout, A implements the API and B builds the UI against the agreed API contract. They can run at the same time because their worktrees and files are separate. C adds the end-to-end test after both PRs merge. The earlier scheduler supported dependencies and a parallelism limit. The proposed epic release waits for the required work to merge, runs regression on the final merged revision, then builds and verifies one artifact in staging.

How the pieces fit together

AI-DLC describes how the team develops and delivers software. The Factory coordinates that work across sessions and GitHub. Inside each session, a coding agent uses a model, a harness, context, and tools to complete its assignment.

Concept What it does in the Factory
Model Claude interprets the brief, proposes changes, and decides which available tools to call. Factory can configure different models for planning, implementation, and review.
Harness Claude Code runs the session around the model. It supplies context, executes tool calls, applies permissions and hooks, and returns results to the model.
Coding agent A running session with an assignment, a model, and access to specified tools. A worker implements a task in its worktree. A separate reviewer evaluates the resulting change against the same requirements.
Tools and MCP Git, file search, test runners, and GitHub provide actions and evidence. The Model Context Protocol (MCP) can connect a session to an approved source such as an issue tracker or design system.
Context engineering Decide what each role sees and when. A worker gets the approved requirement, relevant files, repo rules, and acceptance checks. A reviewer gets the requirement, diff, and test evidence. A resumed session gets the last checkpoint and next action.
Retrieval-augmented generation (RAG) Find relevant information and include it in the model's context. A worker can look up an API contract or design decision before editing. For this demo, start with pinned files and repo search. An indexed retriever can help later if the relevant material spans many repos or systems.
Loop engineering Define what repeats, what counts as success, and when to stop. Here that means implementing a change, checking it, reviewing the exact commit, fixing blocking findings, and repeating within a limit before handing the decision to a human.

Context engineering prepares the information a session needs. Retrieval is one way to supply that information. The harness runs the session, and the Factory applies the rules that span sessions, such as verifying a handoff, releasing a dependent task, or waiting for CI on a new commit. Context engineering · Agent harnesses · RAG paper

Checkout example. The worker receives the approved card-payment requirement and its test IDs. Claude Code lets it find the checkout contract, edit the worktree, and run tests. An independent review sends a missing keyboard interaction back to the worker. After a fix, the Factory records the new commit and waits for a fresh review and CI results. When the task hands off, the dashboard can show the requirement, commits, review rounds, and evidence that cleared the gate. Agent feedback loops

What does it cost to ship with AI?

The Factory should show AI spend per PR, per feature, and per product alongside delivery time and quality. Include planning, implementation, review, and retries. A rejected attempt still consumes resources. Factory keeps a history for each worktree in local SQLite, including the task context, session and review timing, token usage, and known cost. The dashboard can show that history after the worktree is cleaned up.

Level What to count
PR Model spend attributable to that PR, including implementation, review, and rework.
Feature or epic Its PR spend plus shared planning, failed attempts that never reached a PR, and any model-assisted release or recovery work.
Product Feature spend plus product-wide work such as maintenance, incidents, and shared tooling, over a stated period.

Example. If two checkout PRs cost $4.50 and $3.00, and shared planning and a discarded attempt cost $2.50, the feature used $10.00 in AI model spend. Add shared costs once. Show CI and infrastructure costs separately when available, and label projected or unmetered spend clearly. The cost accounting design defines how those totals roll up.

Setup and first run

Prerequisites. macOS or Linux, Python 3.11+, Git, the GitHub CLI, Claude Code, and a running Docker Engine. Workers run inside an OS sandbox: Seatbelt on macOS or bubblewrap on Linux. SQLite is the default database. The optional PostgreSQL backend reuses a configured server or provisions a Factory-owned Compose service. Install applies and verifies the schema before Factory accepts work. Database setup

pipx install 100xprism-factory   # or: uv tool install 100xprism-factory, or npm install -g 100xprism-factory
100xprism-factory install
cd /path/to/project
100xprism init
claude

100xprism-factory install installs the Factory runtime and its /factory Claude Code skill once per machine, after checking Docker. It also creates and verifies the local SQLite schema. The existing 100xprism init configures the current repo for 100xPrism. Releases are published to PyPI, to npm as a launcher that runs the same PyPI version through uv or pipx, and to GHCR as a CLI image; the runbook compares them and covers installing from a checkout. The runbook covers the whole lifecycle: plan approval, run, the live dashboard, gates and owner controls, the staging drill, and cleanup.

Inside Claude Code, use any of these forms:

/factory Show whether card payments are available on the checkout page
/factory EPIC-42
/factory TASK-107

A feature description starts intake and produces a plan for approval. An epic ID loads the epic, its approval state, and its tasks. A task ID loads the task and its parent requirements. Enter an ID by itself. The skill asks for clarification if an ID is malformed, missing from the current repo, or followed by more text, such as TASK-107 continue.

The first demo will use one feature and three tasks in one repository.

  • Architecture covers component responsibilities, state, handoffs, cost, and release gates.
  • Design specification defines install behavior, CLI results, and the three /factory input routes.
  • Implementation plan orders the build, from installing the skill to proving staging recovery.
  • Runbook lists the commands for each step.

Contribute

Clone this repo, run 100xprism init, open Claude Code, and use /factory-dev to test the checkout. The contributor guide specifies setup, automated tests, and the Claude smoke test.

Metadata

Release files for 100xprism-factory 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 100xprism-factory 0.1.0
File Size Uploaded Provenance Actions
100xprism_factory-0.1.0.tar.gz 222.0 kB With provenance Details for 100xprism_factory-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 100xprism-factory 0.1.0
File Interpreter ABI Platform Actions
100xprism_factory-0.1.0-py3-none-any.whl Python 3 none any Details for 100xprism_factory-0.1.0-py3-none-any.whl

Total release size: 383.8 kB

Release files / 100xprism_factory-0.1.0.tar.gz

Download URL 100xprism_factory-0.1.0.tar.gz
Size 222.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f918c399a102bab5af2d1287c78d9c9d8c65b968080efdc0bb41dce0e8593b5b
BLAKE2b-256 checksum
How to use checksums
8d531c86650bf4840aebb0c11e84a77e0b4d9c6e1fd567268a86d1d92261d2ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Release files / 100xprism_factory-0.1.0-py3-none-any.whl

Download URL 100xprism_factory-0.1.0-py3-none-any.whl
Size 161.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a55fc1463d07ef183eeafe40aaefa888214132d13b1e451bc70b0403e9ad20f2
BLAKE2b-256 checksum
How to use checksums
b9a4c1b1e22a4a5c50a5c21547e78cb10746a70c16dacd041cb309456c582103
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Security for 100xprism-factory 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for 100xprism_factory-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page