Full development lifecycle. Human + AI
This text is just my thoughts out loud. I'm only a human being trying to analyze current information and imagine what might happen in the future. My thoughts could be completely wrong or might be just "noise" or they could be food for brainstorming about "what if..." scenarios.
Stay tuned for the second part β Full Development Lifecycle: AI-Only, as a Living System
Roles
| Abbrev | Role | AI Agent | AI Agent Role |
|---|---|---|---|
| PM | Product Manager | PMAIA | PM AI Agent |
| TLA | Tech Lead / Architect | TLAAIA | TLA AI Agent |
| SWE | Software Engineer | SWEAIA | SWE AI Agent |
| QAE | QA Engineer | QAAIA | QA AI Agent |
| SEC | Security Engineer | SECAIA | Security AI Agent |
| DE | DevOps Engineer | DEAIA | DevOps AI Agent |
| SRE | Site Reliability Eng. | SREAIA | SRE AI Agent |
Concepts & Artifacts
| Term | Full Name | Description |
|---|---|---|
| SDD | Spec-Driven Development | The methodology this workflow follows at the spec-anchored maturity level: the Spec is written before code and kept in sync with the implementation throughout the feature's life (BΓΆckeler's model: spec-first / spec-anchored / spec-as-source; spec-as-source deliberately not adopted). |
| Constitution | β | Persistent, project-level engineering principles and constraints, owned by TLA. References the pattern library, carries the anti-pattern denylist, and is periodically re-reviewed. Every Spec and ADR must comply with it. |
| Spec | Specification | The unified artifact from the Specify step β what/why (formerly PRD) + how (formerly TDD/SDD) in one structured, testable document. Single source of truth for ADRs, Tasks, and Code. |
| Micro-Spec | β | One-paragraph spec (what + why + acceptance criteria) for SMALL changes on the fast path. |
| ADR | Architecture Decision Record | A recorded significant decision. v7 uses three weight tiers β see Y-statement, Nygard, MADR below. Statuses: rfc β proposed β accepted / rejected / deprecated / superseded by ADR-NNNN. Numbered NNNN-title-with-dashes.md in docs/decisions/; numbers never reused; superseded records preserved. |
| Y-statement | β | Zimmermann's compact one-paragraph decision record (context, concern, chosen option, alternatives, consequences, accepted downsides). The smallest ADR tier; may live inline in the Spec or in a code comment. |
| Nygard ADR | β | Five-section template: Title / Context / Decision ("We willβ¦") / Status / Consequences. The mid-weight ADR tier. |
| MADR | Markdown Any Decision Records (v4.0) | The heavyweight ADR tier: YAML front matter (status, date, decision-makers, consulted, informed), Decision Drivers, Considered Options with "Good/Bad/Neutral, becauseβ¦" analysis, and a Confirmation section defining how compliance is verified. |
| RFC | Request for Comments | The open-comment sub-status a mid/major ADR starts in, with an explicit response-by deadline, before narrow approval. |
| Data Model / API Spec | data-model.md / api-spec.json |
Machine-readable Plan-step artifacts (OpenAPI-style contract + entity model) that the Spec Compliance Check can diff automatically. |
| Implementation Plan (Tasks) | β | Ordered, component-by-component build plan from Final Spec + ADRs. In v7, each task maps to one reviewable PR (β€ ~105 changed lines, < 24h branch). |
| Spec Compliance Check | β | CI/CD gate verifying the implementation still satisfies the Spec's acceptance criteria and Plan artifacts (api-spec.json, data-model.md); drift raised as a Finding, never auto-fixed. Checks behavior. |
| Architecture Compliance Check | β | CI/CD gate running ArchUnit / ArchUnitTS-style structural rules derived from the Constitution and ADR Confirmation sections (layering, banned imports, cyclic deps, coupling metrics). Checks structure. |
| Finding | β | Structured ticket raised by any workflow for an issue it can't resolve locally; routed via the Cross-Workflow Feedback Protocol. |
| SAST / DAST | Static / Dynamic Application Security Testing | Code-level vs. running-app security scanning. |
| IaC | Infrastructure as Code | Versioned, code-defined infrastructure. |
| SLO | Service Level Objective | Target reliability/performance threshold monitored by SRE post-deploy. |
| CVE | Common Vulnerabilities and Exposures | Publicly catalogued vulnerability, typically in a dependency. |
| KPI | Key Performance Indicator | Business metric tracked post-deploy to catch regressions invisible to technical metrics. |
Workflow Map
(Constitution is a one-time prerequisite, not part of the per-feature flow β see Development Workflow. Graph = Variant A; see note at top.)
βββββββββββββββ
β Development β β primary source of truth
β Workflow β for all other workflows
ββββββββ¬βββββββ
β PR merged β Deployed to Staging
β
βββββββββββββββββββββββββ
β CI/CD Workflow β
βββββββββββββ¬ββββββββββββ
β staging build passes
β
ββββββββββββββββββΌβββββββββββββββββ
β β β
βββββββββββββββββ βββββββββββββββββ βββββββββββββββββ
β QA Workflow β β Sec Workflow β βDevOps Workflowβ
βββββββββ¬ββββββββ βββββββββ¬ββββββββ βββββββββ¬ββββββββ
β passes β passes β ready
ββββββββββββββββββΌβββββββββββββββββ
β all three signed off
βββββββββββββββββββββ
β SRE Workflow β
βββββββββββ¬ββββββββββ
β clears monitoring window
Released to Production β
β If any workflow detects an issue:
- Cross-Workflow Feedback Protocol fires (see bottom)
- Finding routed back to Development Workflow
- Fix propagates forward through all downstream workflows again
Development Workflow
Steps: Constitution (one-time prerequisite) β Change-Size Triage β Specify β Plan (ADRs) β Tasks (Implementation Plan) β Implement (Code) β Pull Request
Constitution *(one-time, periodically re-reviewed)*
TLA drafts Constitution with TLAAIA:
- core architectural principles
(SOLID / GRASP / DRY / KISS / YAGNI / LoD)
- non-negotiable constraints (security, compliance, style)
- technology choices and standards
- DEFAULT PATTERN CHOICES, citing the pattern library
(information-technology/patterns/) β e.g. "all
cross-service calls use Retry + Circuit Breaker"
- ANTI-PATTERN DENYLIST (God Object, Golden Hammer,
Boat Anchor, Lava Flow, Retry Storm, ...)
- the structural rules that seed the Architecture
Compliance Check (layering, banned imports,
coupling thresholds)
β
PM + SEC + DE + SRE review
(cross-functional, since principles are cross-cutting)
β
Constitution approved β
β
ββ PERIODIC REVIEW (e.g. quarterly, or when a 3rd ADR
in a row overrides the same default): TLA re-examines
whether default pattern choices still fit β the
Constitution's own guard against becoming a
Golden Hammer ββ
β
Referenced by every Spec and ADR from here on
Change-Size Triage
PM + TLA classify the incoming change
β
βββββββββββββββββββββββββββββββββββββββ
β SMALL β
β - bug fix, copy change, minor β
β tweak, no new architectural β
β decisions expected β
β β Micro-Spec fast path β
β (skip Specify/Plan ceremony) β
β β
β STANDARD β
β - new feature, behavior change, β
β or anything with unclear scope β
β β full Specify β Plan β Tasks β
βββββββββββββββββββββββββββββββββββββββ
β
If SMALL, but TLAAIA later flags an architectural
implication during Micro-Spec review:
β escalate to STANDARD
β
Triage complete β
Micro-Spec (SMALL changes only)
SWE + SWEAIA draft a one-paragraph Micro-Spec:
- what is changing
- why
- acceptance criteria
β
TLAAIA reviews against the Constitution
β
Architectural implication found?
β YES β NO
escalate to STANDARD Micro-Spec approved β
β go to Specify β
β Tasks step (Plan/ADRs
skipped; a decision worth
recording still gets a
Y-statement inline)
Specify
PMAIA + TLAAIA draft the PROBLEM STATEMENT only
(what hurts, for whom, why now β no solutions yet)
β
PM validates the problem with Stakeholders / user research
ββ features are NOT drafted until the problem is
confirmed real and worth solving ββ
β
PMAIA + TLAAIA extend the Spec with the solution half
(from the validated problem + Constitution)
β
βββββββββββββββββββββββββββββββββββββββ
β PM + TLA brainstorm with β
β PMAIA + TLAAIA to discover: β
β - gaps, ambiguities β
β - missing edge cases β
β - contradictions (incl. with β
β the Constitution) β
β - unstated assumptions β
β - unclear success metrics β
β - architectural gaps / concerns β
βββββββββββββββββββββββββββββββββββββββ
β
PM + TLA talk to Stakeholders to fill
missing information
β
Spec updated
β
ββ repeat until PMAIA, TLAAIA, PM, TLA, or
Stakeholders find nothing ββ
ββ escalate to Stakeholders after 3 unresolved loops ββ
β
Final Spec β
Plan (ADRs)
TLAAIA scans the Final Spec and identifies
all decision points that need a record
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β TLAAIA proposes a WEIGHT TIER per decision: β
β β
β Y-STATEMENT β small but real decision; β
β one structured paragraph, may live β
β inline in the Spec β
β NYGARD β mid-weight; own numbered file β
β (Title/Context/Decision/Status/ β
β Consequences) β
β MADR-FULL β major decision; YAML front β
β matter (decision-makers / consulted / β
β informed), Decision Drivers, options β
β with Good/Bad/Neutral-because analysis, β
β and a CONFIRMATION section stating how β
β compliance will be verified (feeds the β
β Architecture Compliance Check) β
βββββββββββββββββββββββββββββββββββββββββββββββ
β
TLA reviews and validates the list + tiers
β
ββ one refinement loop per decision point ββ
β
TLAAIA drafts the record from Spec context
β
Mid/major tiers open as RFC:
- published for open comment, anyone may respond
- explicit response-by deadline
β
βββββββββββββββββββββββββββββββββββββββ
β TLA brainstorms β
β with TLAAIA to discover: β
β - are all options considered? β
β - are trade-offs complete? β
β - is the context well defined? β
β - are consequences realistic? β
β - does it contradict other ADRs? β
β - does it comply with the β
β Constitution? β
β - does it cite the pattern library β
β where a known pattern applies? β
β - are assumptions explicit? β
β - is the rationale strong enough? β
βββββββββββββββββββββββββββββββββββββββ
β
TLA filters TLAAIA findings + RFC comments
β
TLA + TLAAIA improve the record
β
If new information is needed:
communicate with PM or Stakeholders
β
Record updated
β
ββ repeat until resolved ββ
ββ escalate to Stakeholders after 3 unresolved loops ββ
β
NARROW APPROVAL β not full-team:
TLA + the role owning the affected domain
(e.g. SEC for a security-relevant ADR,
DE/SRE for an infra-relevant one)
β
ADR accepted β
(rejected RFCs are kept with status "rejected" β
a documented no is institutional memory too)
β
ββ repeat for next decision point until all done ββ
β
SWEAIA + TLAAIA derive machine-readable artifacts:
- data-model.md (entities, relationships)
- api-spec.json (OpenAPI-style contract)
β
ββββββββββββββββββββββββββββββββββββββββββββββββ
β TLAAIA runs CROSS-ARTIFACT consistency check β
β (Spec β ADRs β api-spec/data-model): β
β - do any decisions contradict each other? β
β - or contradict the Spec? β
β - circular dependencies? β
β - invalidated assumptions? β
β - still compliant with Constitution? β
ββββββββββββββββββββββββββββββββββββββββββββββββ
β
TLA resolves any conflicts found
β
Plan consistent β
Tasks (Implementation Plan)
SWEAIA generates implementation plan
from Final Spec + ADRs + api-spec.json + data-model.md
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β SIZE RULE β every task maps to ONE β
β reviewable PR: β
β - guideline β€ ~105 changed lines β
β - branch lifetime < 24h β
β Larger work is decomposed via: β
β - stacked PRs (chained dependent branches) β
β - refactor-PR then feature-PR β
β - shippable steps behind a feature flag β
βββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββ
β SWE brainstorms β
β with SWEAIA to discover: β
β - are all components covered? β
β - correct implementation order? β
β - missing integration points? β
β - test coverage gaps? β
β - contradictions with ADRs? β
β - any task too big for one PR? β
β - deployment / infra concerns? β
βββββββββββββββββββββββββββββββββββββββ
β
SWE filters SWEAIA findings
β
SWE + SWEAIA improve implementation plan
β
If new information is needed:
communicate with TLA, PM, or Stakeholders
β
Implementation plan updated
β
ββ repeat until resolved ββ
ββ escalate to TLA after 3 unresolved loops ββ
β
Final Implementation Plan β
Implement (Code)
SWEAIA writes code following
Final Implementation Plan + Spec + ADRs
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β SWEAIA + TLAAIA review code: β
β - matches Spec / api-spec.json contracts? β
β - respects all ADR decisions? β
β - complies with the Constitution? β
β - ANTI-PATTERN CHECK against the denylist: β
β God Object, Golden Hammer, Boat Anchor, β
β Lava Flow, Spaghetti Code, Retry Storm... β
β - test coverage sufficient? β
β - no logic gaps or edge cases? β
β - naming clarity? β
β - comment quality? β
β - style-guide compliance? β
β - documentation updated? β
βββββββββββββββββββββββββββββββββββββββββββββββ
β
SWEAIA fixes findings
β
ββ repeat until SWEAIA and TLAAIA find nothing more to resolve ββ
β
Did implementation reveal a flaw in an upstream document?
β
βββββYESββββββββββββββββββββββ
β β
Flaw in ADR? Flaw in Spec?
β β
TLA + TLAAIA amend the TLA + PM (with their AIAs)
ADR; old ADR β resolve it and update
"superseded"; new ADR the Spec
created (number never
reused)
β β
βββββ upstream doc updated β
βββββ
β
re-validate impacted ADRs,
api-spec/data-model, and
implementation plan steps
β
resume coding
β (no upstream flaw)
Code complete β
Pull Request
SWEAIA opens Pull Request
(one task = one PR; oversized PRs are
sent back to the Tasks step for decomposition)
β
SWE performs human peer review
(reads the diff, checks logic correctness,
catches blind spots shared by AI agents β
tractable because PRs are small by rule)
β
SWE approves or requests changes from SWEAIA
β
TLAAIA reviews PR against Spec + ADRs
β
PMAIA validates PR against Spec acceptance criteria
β
TLA approves (technical sign-off) β
β
PM approves (business sign-off) β
β
PR merged β Deployed to Staging β
β
β CI/CD Workflow begins
Sign-off withheld (TLA or PM)?
β raise a Finding against the relevant
Spec / Plan / Tasks step
β same bounded-loop pattern as other Development
sub-steps (escalate after 3 unresolved loops)
β re-enter this step once resolved
CI/CD Workflow
Steps: Build β Architecture Compliance Check β Automated Tests β Spec Compliance Check β Deploy to Staging
DEAIA triggers pipeline on PR merge
β
βββββββββββββββββββββββββββββββββββββββ
β Build step β
β - compile / lint / type-check β
β - dependency audit β
β - container image build β
βββββββββββββββββββββββββββββββββββββββ
β
Build fails?
β DEAIA + SWEAIA diagnose
β SWE fixes, new commit, pipeline re-runs
β if not resolved in 2 cycles: escalate to TLA
β
βββββββββββββββββββββββββββββββββββββββ
β Architecture Compliance Check β
β (STRUCTURE β ArchUnit/ArchUnitTS) β
β - layering / dependency direction β
β - banned imports β
β - cyclic dependencies β
β - coupling / cohesion thresholds β
β Rules come from the Constitution β
β + ADR Confirmation sections β
β (cheap static checks β run early) β
βββββββββββββββββββββββββββββββββββββββ
β
Structural violation?
β TLAAIA classifies:
- code violates an accepted rule
β SWE fixes (like a failing test)
- the rule itself is outdated
β Finding to Plan (ADR) step β
supersede the ADR, then update the rule
β
βββββββββββββββββββββββββββββββββββββββ
β Automated Tests β
β - unit, integration, contract β
β - regression suite β
β - performance baseline check β
βββββββββββββββββββββββββββββββββββββββ
β
Test failures?
β DEAIA classifies failure:
- flaky test β retry once, then flag to QAE
- regression β Cross-Workflow Feedback to Development
- env/infra issue β DevOps Workflow
β
βββββββββββββββββββββββββββββββββββββββ
β Spec Compliance Check β
β (BEHAVIOR) β
β - implementation still satisfies β
β the Spec's acceptance criteria? β
β - live API diffed against β
β api-spec.json (automatable); β
β schema against data-model.md β
β - flags drift, does NOT auto-fix β
β or regenerate code β
βββββββββββββββββββββββββββββββββββββββ
β
Drift detected?
β DEAIA + TLAAIA classify:
- Spec/Plan artifact is stale (code is right)
β Cross-Workflow Feedback to
Development (Specify or Plan step)
- code diverged from Spec (code is wrong)
β Cross-Workflow Feedback to
Development (Implement step)
β
βββββββββββββββββββββββββββββββββββββββ
β Deploy to Staging β
β - blue/green or canary deploy β
β - smoke tests post-deploy β
β - health checks β
βββββββββββββββββββββββββββββββββββββββ
β
Staging deploy fails?
β DEAIA + SREAIA diagnose
β if infra: DevOps Workflow
β if code: Cross-Workflow Feedback to Development
β
Staging deployment healthy β
β
β QA, Security, and DevOps Workflows begin (in parallel)
QA Workflow
Steps: Test Plan β Test Execution β Bug Triage
QAAIA generates test plan from the Spec + api-spec.json
β
QAE reviews and enriches test plan
(covers happy paths, edge cases, regression)
β
Test plan approved β
β
βββββββββββββββββββββββββββββββββββββββ
β QAAIA executes tests: β
β - functional testing β
β - exploratory testing β
β - performance / load tests β
β - accessibility checks β
β - regression suite β
βββββββββββββββββββββββββββββββββββββββ
β
QAE reviews QAAIA test results
β
Issues found?
β YES
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β QAAIA classifies each finding by severity: β
β β
β CRITICAL / HIGH β defect in logic or design β
β MEDIUM β unexpected behaviour, UX issue β
β LOW β cosmetic, minor edge case β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
QAE validates classification
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Route finding by severity: β
β β
β CRITICAL / HIGH β
β β Cross-Workflow Feedback to Development β
β (see protocol below) β
β β Development re-entry point depends on root: β
β - code bug β Implement step β
β - design flaw β Spec or Plan (ADR) step β
β - requirements gap β Specify step β
β β
β MEDIUM β
β β SWEAIA fixes, SWE reviews, new PR β
β β QA re-tests the specific area β
β β
β LOW β
β β logged as tech-debt ticket β
β β no workflow re-entry required β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
(MEDIUM-severity fix PRs re-enter the CI/CD Workflow
like any other PR before QA re-tests the area)
β
All issues resolved or accepted β
β
QA sign-off β
β
recorded β SRE Workflow begins once QA + Security + DevOps
have all signed off (see Workflow Map)
Security Workflow
Steps: Threat Model Review β SAST/DAST β Pen Test Triage
SECAIA loads the Spec + ADRs to review threat model
β
βββββββββββββββββββββββββββββββββββββββ
β SECAIA surfaces: β
β - attack surface changes β
β - missing auth / authz controls β
β - data exposure risks β
β - dependency CVEs β
β - insecure design patterns β
βββββββββββββββββββββββββββββββββββββββ
β
SEC reviews SECAIA findings
β
SAST / DAST scans run on staging build
β
SEC + SECAIA triage scan results
β
Vulnerabilities found?
β YES
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SECAIA classifies each finding: β
β β
β CRITICAL / HIGH β exploitable, data at risk β
β MEDIUM β hardening gap, best-practice β
β LOW / INFO β acceptable risk or false pos. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
SEC validates classification
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Route finding by severity: β
β β
β CRITICAL / HIGH β
β β Cross-Workflow Feedback to Development β
β (see protocol below) β
β β Development re-entry point depends on root: β
β - code-level vuln β Implement step β
β - insecure design β Spec or Plan (ADR) step β
β - requirements gap β Specify step β
β β staging deploy BLOCKED until resolved β
β β
β MEDIUM β
β β SWEAIA applies fix, SWE reviews, new PR β
β β SEC re-scans the affected area β
β β
β LOW / INFO β
β β documented in security log β
β β accepted risk recorded in an ADR (MADR tier, β
β since accepted risks need decision-makers β
β named) if architectural β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
(MEDIUM-severity fix PRs re-enter the CI/CD Workflow
like any other PR before SEC re-scans the area)
β
All critical / high findings resolved β
β
Security sign-off β
β
recorded β SRE Workflow begins once QA + Security + DevOps
have all signed off (see Workflow Map)
DevOps Workflow
Steps: Infrastructure Provisioning β Config Management β Observability
(runs in parallel with QA and Security, or triggered by CI/CD issues)
DEAIA provisions / updates infrastructure
from Spec + ADRs
β
DE reviews infra plan
β
βββββββββββββββββββββββββββββββββββββββ
β Config management: β
β - environment variables β
β - secrets management β
β - feature flags (incl. those β
β created by the Tasks-step β
β PR-size rule β tracked for β
β retirement, not left forever) β
β - service dependencies β
βββββββββββββββββββββββββββββββββββββββ
β
DEAIA runs infra validation (IaC linting, plan diff)
β
DE approves and applies
β
βββββββββββββββββββββββββββββββββββββββ
β Observability setup / update: β
β - dashboards β
β - alerts and thresholds β
β - log aggregation β
β - distributed tracing β
βββββββββββββββββββββββββββββββββββββββ
β
Infra issue found that requires design change?
β Cross-Workflow Feedback to Development
(re-entry: Spec or Plan (ADR) step)
β
DevOps ready β
β
recorded β SRE Workflow begins once QA + Security + DevOps
have all signed off (see Workflow Map)
SRE Workflow
Steps: SLO Validation β Production Deploy β Post-Deploy Monitoring
(begins after QA β + Security β + DevOps β )
SREAIA checks SLOs and error budgets are defined and aligned
β
SRE reviews SLO definitions with TLA
β
Production deploy (rolling / canary / blue-green)
β
βββββββββββββββββββββββββββββββββββββββ
β Post-deploy monitoring window: β
β - error rate vs baseline β
β - latency percentiles β
β - saturation metrics β
β - business KPIs (conversion, etc.) β
βββββββββββββββββββββββββββββββββββββββ
β
SLO breach or anomaly detected?
β YES
SREAIA classifies:
- regression in this change
β rollback immediately
β Cross-Workflow Feedback to Development (Implement step)
- infra / capacity issue
β DevOps Workflow
- known acceptable degradation
β document, continue monitoring
β
Monitoring window clear β
β
Released to Production β
Cross-Workflow Feedback Protocol
Triggered by: QA, Security, CI/CD, DevOps, or SRE β when a finding cannot be resolved within that workflow alone.
Step 1 β Finding ticket created
Originating workflow creates a Finding ticket containing:
- source workflow and step (e.g. "Security / SAST scan")
- severity (CRITICAL / HIGH / MEDIUM)
- description of the issue
- evidence (logs, scan output, reproduction steps)
- proposed root cause (code / design / requirements)
Step 2 β Root cause classification
TLAAIA + SWEAIA jointly analyse the Finding ticket
(PMAIA joins if a requirements flaw is suspected)
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Classify root cause β determines re-entry point: β
β β
β Requirements / design flaw β re-enter Development β
β at Specify step β
β Architectural decision flaw β re-enter Development β
β at Plan (ADR) step β
β Implementation bug β re-enter Development β
β at Implement (Code) stepβ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
TLA confirms classification
(PM also confirms if classified as a requirements flaw)
β
TLA decides which downstream workflows must re-validate
once the fix lands (default: only the originating workflow β
see Step 4)
Step 3 β Development Workflow re-entry
Finding ticket attached to the relevant Development step
β
PM / TLA / SWE (whichever owns that step) is notified
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β At the re-entry step, the human + their AIA: β
β - review the Finding ticket β
β - update the document (Spec / ADR / code) β
β - re-check compliance with the Constitution β
β - update api-spec.json / data-model.md if contracts β
β changed β
β - propagate changes to all downstream documents β
β - re-run the cross-artifact consistency check if β
β ADRs or Plan artifacts changed β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
Fix verified by TLA (and PM if the Spec changed)
Step 4 β Forward propagation
New PR opened with the fix
(subject to the same one-task-one-PR size rule)
β
Development Workflow resumes from Implement / Pull Request step
β
CI/CD Workflow re-runs
(incl. Architecture + Spec Compliance Checks)
β
Originating workflow re-validates the finding area.
Other workflows that already passed are NOT fully re-run
unless TLA's Step 2 domain call says the fix scope
touches them too.
β
Originating workflow closes the Finding ticket β
β
If the SAME finding area reopens a 3rd time:
β escalate to TLA + PM before attempting another fix
β re-examine whether the root cause was misclassified
in Step 2
β
If all workflows sign off:
β pipeline continues toward Released to Production β
Stay tuned for the second part β Full Development Lifecycle: AI-Only, as a Living System