The Conventional SDLC
How software is built today, by teams of humans using a familiar set of tools. This is the baseline: every element listed here is something the factory will need to replace, automate, or keep a human in. See PROCESS.md for how this map is used.
Each element is described by:
- Purpose: why it exists.
- Artifacts: what it produces.
- Tools: what teams usually use.
- Who: the roles involved.
- Gate: how the team decides the work is good enough to move on. This is where trust is earned today, almost always through a human.
Part 1: The lifecycle phases
The phases run roughly in order, but in practice they loop: every release feeds back into discovery.
1. Discovery and ideation
- Purpose: decide what problem is worth solving and for whom.
- Artifacts: problem statement, user research notes, competitor analysis, opportunity sizing, product vision.
- Tools: Notion, Google Docs, Miro, FigJam, Dovetail, interview recordings, analytics (Amplitude, Mixpanel).
- Who: founder or product manager, designer, sometimes customers.
- Gate: stakeholders agree the problem is real and worth the investment.
2. Requirements and specification
- Purpose: turn the idea into something concrete enough to build.
- Artifacts: PRD (product requirements document), user stories, acceptance criteria, non-functional requirements (performance, security, scale), scope and out-of-scope list.
- Tools: Notion, Confluence, Google Docs, Linear or Jira (epics and stories).
- Who: product manager, with input from engineering and design.
- Gate: PRD review. Engineering confirms it is feasible; product confirms it is what was meant.
3. Planning and estimation
- Purpose: decide what gets built, in what order, by whom, and roughly when.
- Artifacts: roadmap, milestones, epics broken into tickets, estimates, sprint or cycle plan, priorities.
- Tools: Linear, Jira, GitHub Projects, Shortcut.
- Who: product manager, engineering lead, the team.
- Gate: sprint planning or cycle kickoff. The team commits to a scope.
4. UX and UI design
- Purpose: decide how the product looks and behaves for the user.
- Artifacts: user flows, wireframes, high-fidelity mockups, prototypes, design system and components.
- Tools: Figma, FigJam, Storybook.
- Who: designer, product manager.
- Gate: design review, sometimes user testing of a prototype.
5. Architecture and technical design
- Purpose: decide how the system is built before writing large amounts of code.
- Artifacts: architecture diagrams (system context, containers, components, data flow), technical design doc or RFC, data model and schema, API contracts (OpenAPI, GraphQL schema), technology choices, threat model.
- Tools: Eraser, Excalidraw, Lucidchart, draw.io, Mermaid, Notion or Confluence for RFCs.
- Who: tech lead or architect, senior engineers.
- Gate: design review or RFC approval. Big decisions get recorded as ADRs (see Part 2).
6. Environment and project setup
- Purpose: give developers a place to work that matches production as closely as possible.
- Artifacts: repository, branching strategy, monorepo or polyrepo structure, local dev setup (Docker Compose, dev containers), linters and formatters, environment config and secrets, staging and production environments, infrastructure as code.
- Tools: GitHub or GitLab, Docker, Terraform or Pulumi, cloud provider (AWS, GCP, Azure, Vercel, Fly), secret managers (Doppler, Vault, 1Password).
- Who: tech lead, DevOps or platform engineer.
- Gate: a new developer can clone the repo and run the app by following the README.
7. Development
- Purpose: write the code.
- Artifacts: feature branches, commits, code, unit tests, inline docs, migrations.
- Tools: IDE, git, AI coding assistants, package managers.
- Who: engineers.
- Gate: the developer believes the ticket is done, local tests pass, and a PR is opened.
- Conventions involved: coding standards, commit message format (Conventional Commits), branch naming, definition of done.
8. Code review and PR approval
- Purpose: catch bugs, keep quality and consistency, spread knowledge across the team.
- Artifacts: pull request with description, linked ticket, review comments, approvals.
- Tools: GitHub PRs, GitLab MRs, CODEOWNERS, PR templates, automated review bots.
- Who: one or more peer reviewers, code owners for sensitive areas.
- Gate: required approvals (usually 1 or 2), all CI checks green, branch protection rules met, conversations resolved.
9. Testing and quality assurance
- Purpose: prove the software works and keeps working.
- Artifacts: unit, integration, end-to-end, contract, performance, and accessibility tests; test plans; QA sign-off; bug tickets.
- Tools: Jest, Vitest, pytest, Playwright, Cypress, k6, test management tools.
- Who: engineers, QA engineers, sometimes product for acceptance testing.
- Gate: tests pass, coverage thresholds met, QA or product signs off against acceptance criteria.
10. Security and compliance checks
- Purpose: make sure the software does not introduce vulnerabilities or break rules the business must follow.
- Artifacts: dependency scan results, static analysis reports (SAST), secret scans, penetration test reports, compliance evidence (SOC 2, GDPR, HIPAA).
- Tools: Dependabot, Snyk, CodeQL, Semgrep, Gitleaks, Vanta, Drata.
- Who: engineers, security team, compliance owner.
- Gate: no unresolved critical findings; compliance controls satisfied.
11. Build and continuous integration (CI)
- Purpose: turn source code into a tested, versioned artifact on every change.
- Artifacts: build outputs (bundles, binaries, Docker images), test reports, version numbers, build logs.
- Tools: GitHub Actions, GitLab CI, CircleCI, Buildkite, Turborepo or Nx for monorepos, container registries.
- Who: automated, owned by DevOps or the tech lead.
- Gate: the pipeline is green.
12. Release and continuous delivery or deployment (CD)
- Purpose: get the built artifact safely into users' hands.
- Artifacts: release notes, changelog, tagged versions (semantic versioning), deployment records, feature flags, database migrations applied.
- Tools: GitHub Actions, Argo CD, Vercel, Netlify, Render, Fly, App Store and Play Store for mobile, LaunchDarkly or similar for feature flags.
- Who: engineers, release manager, sometimes product for go/no-go.
- Gate: staging verification, release approval, then staged rollout (canary, blue-green, percentage rollout) with a rollback plan.
13. Operations and monitoring
- Purpose: know the system is healthy and find out about problems before users do.
- Artifacts: dashboards, alerts, logs, traces, uptime checks, SLOs and SLAs, on-call schedule, runbooks.
- Tools: Datadog, Grafana, Prometheus, Sentry, PagerDuty, OpenTelemetry, status pages.
- Who: on-call engineers, SRE or DevOps.
- Gate: SLOs met; alerts acknowledged and handled.
14. Incident management
- Purpose: respond to outages and serious bugs quickly, then learn from them.
- Artifacts: incident tickets, incident timeline, status page updates, postmortems with action items.
- Tools: PagerDuty, Opsgenie, incident.io, Slack incident channels.
- Who: on-call engineer, incident commander, communications owner.
- Gate: incident resolved, postmortem written, action items turned into tickets.
15. Feedback, analytics and maintenance
- Purpose: learn how the product is used, fix what's broken, and decide what's next. This closes the loop back to discovery.
- Artifacts: usage analytics, customer feedback, support tickets, bug reports, dependency upgrades, refactors.
- Tools: Amplitude, PostHog, Intercom, Zendesk, user interviews, Renovate or Dependabot for upgrades.
- Who: product manager, support, engineers.
- Gate: feedback triaged into the backlog.
Part 2: Cross-cutting elements
These are not phases. They run through every phase and hold the project together.
Work tracking (ticket management)
- Purpose: one place that says what is being worked on, by whom, and why.
- Artifacts: issues, epics, projects, cycles or sprints, labels, priorities, statuses, links to PRs.
- Tools: Linear, Jira, GitHub Issues, Shortcut.
- Conventions: ticket templates (bug, feature, chore), definition of ready, definition of done, workflow states (Backlog → Todo → In Progress → In Review → Done).
Product and technical documentation
- Purpose: the shared memory of what the product is and how it works.
- Artifacts: product docs (vision, PRDs, user guides), technical docs (architecture, API reference, data model, setup guides), READMEs, onboarding docs.
- Tools: Notion, Confluence, docs in the repo (Markdown), docs sites (Docusaurus, Mintlify), generated API docs.
- Known problem: docs drift out of date because nobody owns keeping them in sync with the code.
Architecture design
- Purpose: a visual, shared understanding of the system.
- Artifacts: diagrams at several levels (the C4 model is a common standard: context, containers, components, code), sequence diagrams, infrastructure diagrams, ER diagrams.
- Tools: Eraser, Excalidraw, Lucidchart, draw.io, Mermaid or PlantUML (diagrams as code).
Technical decision records (ADRs)
- Purpose: record why a decision was made, so later readers don't repeat the debate or undo it by accident.
- Artifacts: one short record per decision: context, options considered, decision, consequences, status (proposed, accepted, superseded).
- Tools: Markdown files in the repo (
docs/adr/0001-...md), Notion databases, adr-tools.
Technical debt tracking
- Purpose: make shortcuts visible so they get paid back deliberately instead of silently piling up.
- Artifacts: tech debt register or labelled tickets, each with the cost of leaving it and the cost of fixing it,
TODOandFIXMEcomments linked to tickets. - Tools: Linear or Jira labels, a debt register doc, code quality tools (SonarQube, CodeClimate).
- Conventions: a fixed share of each cycle for paying down debt; debt review during planning.
Contribution guidelines
- Purpose: tell anyone contributing how work is done here.
- Artifacts:
CONTRIBUTING.md, code style guide, branch and commit conventions, PR template, issue templates,CODEOWNERS, code of conduct. - Tools: files in the repo, enforced by linters, commit hooks (Husky, lefthook) and branch protection.
Version control and branching strategy
- Purpose: a safe, traceable history of every change.
- Artifacts: branches, commits, tags, release branches.
- Strategies: trunk-based development, GitHub Flow, Git Flow.
- Tools: git, GitHub, GitLab.
Dependency and configuration management
- Purpose: control what third-party code and settings the system depends on.
- Artifacts: lockfiles, environment variable definitions, secrets, feature flag config.
- Tools: npm, pnpm, uv, Poetry, Renovate, Dependabot, secret managers.
Communication and collaboration
- Purpose: keep everyone aligned between the formal artifacts.
- Artifacts: standups, sprint reviews, retrospectives, demos, async updates, meeting notes.
- Tools: Slack, Google Meet, Zoom, Loom.
- Known problem: important decisions get made in chat and are never written down.
Roles and ownership
The people a conventional team relies on. In a small team, one person covers several.
| Role | Owns |
|---|---|
| Product manager | What to build and why; priorities; acceptance |
| Designer | User experience and interface |
| Tech lead or architect | Technical direction, architecture, standards |
| Engineers | Implementation, tests, code review |
| QA engineer | Test strategy, sign-off |
| DevOps, platform or SRE | Infrastructure, CI/CD, reliability |
| Security and compliance | Risk, audits, controls |
| Release manager | When and how releases go out |
| Support | User issues, feedback intake |
Part 3: Where humans hold trust today
Almost every gate above is a human judgment. These are the points the factory has to earn the right to automate:
| Gate | Human decision today |
|---|---|
| Problem worth solving | Founder or PM judgment |
| PRD approval | PM and engineering agree on scope |
| Design and RFC approval | Tech lead signs off on the approach |
| PR approval | Peer reviewer approves the code |
| QA sign-off | QA or PM confirms acceptance criteria |
| Security review | Security owner accepts the risk |
| Release go/no-go | Release manager or PM approves |
| Incident response | On-call engineer diagnoses and fixes |
| Backlog triage | PM decides what feedback matters |
The next step is to map each element and gate in this document onto the factory: what replaces it, what evidence lets us trust that replacement, and where a human stays in the loop.