CodyCody

Packages

Full SDLC — overview

The SDLC package runs a whole software lifecycle as workflows — requirements, architecture, style guide, decomposition, build and test, change, deployment and release.

The Full SDLC package turns a software lifecycle into workflows your coding agent executes one step at a time. Twenty-nine published workflows live in the SDLC/ folder. Ten of them are numbered phases you start yourself, two more handle existing code, and the rest run as children — a use-case writer per actor, a build workflow per subsystem, a test workflow per level.

Each phase reads what the previous phase wrote, ends in a document that a human signs off, and pins a result the next phase can trust. Nothing in the chain is a summary of a summary: the artifacts are files on disk with stable ids, and every later phase reads the files.

The phases

# Workflow What it produces
0 SDLC 0 Reverse Engineer The whole baseline below, recovered from an existing codebase with file/line evidence
1 SDLC 1 Requirements Boundary, actors, domains, use cases, conceptual model, business rules, requirements, NFRs
2 SDLC 2 Solution Design A numbered, justified technology choice for every layer the system needs
3 SDLC 3 Style Guide Tone, colour, typography, layout, iconography, components — backed by design-tokens.json
4 SDLC 4 System Decomposition The subsystem hierarchy, with every domain, use case and requirement allocated to a leaf
5 SDLC 5 Development and Test Every leaf subsystem built and tested, composed into one runnable app, proven by system tests
6 SDLC 6 Change Request A change assessed through the traceability chain, then only the impacted phases re-run
7 SDLC 7 Local Deployment The composed app running locally for human testing, stubbed or wired to live services
8 SDLC 8 Release and Deploy A versioned artifact promoted staging → production, with verification and rollback
9 SDLC 9 Provision Infrastructure The hosting environments as infrastructure-as-code, behind a plan and a cost gate

Alongside them, two workflows exist for code that already ships: SDLC Test Retrofit and SDLC Bug Fix.

Two roots, never nested

Every workflow after phase 4 takes two directories, and the distinction matters more than any other input:

  • workspaceDir — the documentation workspace. Phases 0–4 write it; phases 5–9 only read it.
  • devDir — the development root: source code, tests, manifests, the build map, reports. Usually the repository root.

devDir must never sit inside workspaceDir. Put source under the docs folder once and every later phase reads generated documentation as if it were code.

<workspaceDir>/            <devDir>/
  project.json               .tools/sdlc_devtools.py
  00-reverse/                build-map.jsonl
  01-requirements/           build-results.jsonl
    use-cases/               app/            ← composition root, the runnable system
  solution-architecture/     reports/
  03-styleguide/             deploy-local/
  04-decomposition/          deploy-remote/{staging,production}/
  06-changes/                infra/
  07-releases/
  08-bugs/
  site/                    ← the generated documentation site

What a phase run looks like

Phases 0–4 share one shape:

  1. Init — the workspace directories are created; existing documents are read before anything is written.
  2. Work, one step at a time — one actor's use cases, one technology layer, one style-guide item, one subsystem level. The engine hands over a single unit and will not move on until its result is reported.
  3. Deterministic checks — shipped Python helpers compute what should not be judged: contrast ratios and scale sanity in the style guide, the dependency graph and coverage figures in development, hotspots in the retrofit. They emit evidence; the agent judges it.
  4. A review node — an agent reviewer either approves or sends findings back, bounded by a maximum number of iterations so a run cannot loop forever.
  5. A human gate — sign-off. The engine stops with status: "waiting" and your agent puts the question to you in your own session.
  6. Pin the phase result — a structured result the next phase reads.

Phases 5–9 replace the sign-off with proof: coverage gates, a health check, a smoke run, a system-test matrix. Where a human decision is unavoidable — spending money, using production credentials, accepting a visual baseline — there is a gate for exactly that and nothing else.

Documentation and review comments

SDLC Document Requirements builds a static HTML site under <workspaceDir>/site from the requirements, the solution architecture, the style guide and the decomposition. It is deterministic (a packaged Python generator, sha256 change detection, so unchanged pages are skipped), cross-links every ACT/UC/ENT/REQ/NFR id to where it is defined, and renders mermaid diagrams and style-guide examples.

The site has a comment toolbar. Comments export to review-comments.json, and SDLC Process Review Comments feeds them back: triage into content change, stakeholder question, docs-only note or declined; apply the content changes to the source .md + .jsonl pairs with their ids intact; regenerate the site. That is the loop for review by people who will never open the repository.

Before you start

  • python3 3.8 or newer on the machine where the agent works. The deterministic helpers are shipped as instruction files, materialized into <devDir>/.tools/ and run through shell steps — nothing is installed from a package index.
  • git, for the risk ordering in Test Retrofit and for the release tags in phase 8.
  • A browser tool for the agent if the system has a UI, so SDLC UI Inspection can capture screens.
  • The engine and an agent connected to it — see connect your agent.

Where to go next