agentic-development-framework 0.3.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/CHANGELOG.md +14 -0
  2. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/PKG-INFO +12 -10
  3. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/README.md +11 -9
  4. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/APPROVALS_AND_REVISIONS.md +5 -4
  5. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/IMPLEMENTATION_PLAN.md +1 -1
  6. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/IMPLEMENTATION_PROGRESS.md +15 -0
  7. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/STAGE_EXECUTION.md +7 -7
  8. agentic_development_framework-0.4.0/docs/UI_UX_WORKFLOW.md +76 -0
  9. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/__init__.py +1 -1
  10. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/adapters/generator.py +41 -12
  11. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/initialization.py +6 -3
  12. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/stages.py +119 -82
  13. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/workflow.py +93 -24
  14. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/screenshots.py +5 -4
  15. agentic_development_framework-0.4.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +127 -0
  16. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/integration/test_stage_execution.py +64 -23
  17. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_adapters.py +14 -4
  18. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_cli.py +2 -1
  19. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_initialization.py +3 -0
  20. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_screenshots.py +1 -1
  21. agentic_development_framework-0.3.0/docs/UI_UX_WORKFLOW.md +0 -81
  22. agentic_development_framework-0.3.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +0 -58
  23. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/.gitignore +0 -0
  24. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/LICENSE +0 -0
  25. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/ACCEPTANCE_REPORT.md +0 -0
  26. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/ANTIGRAVITY_SETUP.md +0 -0
  27. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/COMMAND_REFERENCE.md +0 -0
  28. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/PYPI_RELEASE.md +0 -0
  29. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/REQUIREMENTS_MANAGEMENT.md +0 -0
  30. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
  31. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/pyproject.toml +0 -0
  32. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/scripts/installed_distribution_tests.py +0 -0
  33. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/scripts/release_acceptance.py +0 -0
  34. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/__main__.py +0 -0
  35. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/adapters/__init__.py +0 -0
  36. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/cli.py +0 -0
  37. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/__init__.py +0 -0
  38. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/command_registry.py +0 -0
  39. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/config.py +0 -0
  40. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/custom_commands.py +0 -0
  41. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/project.py +0 -0
  42. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/exceptions.py +0 -0
  43. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/logging.py +0 -0
  44. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/__init__.py +0 -0
  45. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/comparison.py +0 -0
  46. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/extraction.py +0 -0
  47. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/ingestion.py +0 -0
  48. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/traceability.py +0 -0
  49. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/state/__init__.py +0 -0
  50. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/state/database.py +0 -0
  51. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/src/agentic_framework/templates/__init__.py +0 -0
  52. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_commands_cli.py +0 -0
  53. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_init_cli.py +0 -0
  54. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_requirements_cli.py +0 -0
  55. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/integration/test_requirements_ingestion.py +0 -0
  56. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/integration/test_workflow_recovery.py +0 -0
  57. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_comparison.py +0 -0
  58. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_config.py +0 -0
  59. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_custom_commands.py +0 -0
  60. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_extraction.py +0 -0
  61. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_logging.py +0 -0
  62. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_package_resources.py +0 -0
  63. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_project.py +0 -0
  64. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_state.py +0 -0
  65. {agentic_development_framework-0.3.0 → agentic_development_framework-0.4.0}/tests/unit/test_traceability.py +0 -0
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ### Changed
8
+
9
+ - Removed the disposable design-prototype step: the existing UI/UX stage now verifies the frontend
10
+ toolchain and builds the complete production frontend before backend work begins.
11
+ - Figma links from requirements, recursively discovered screenshots, and generated frontend design
12
+ remain supported, with exact-reference, accessibility, interaction, responsive, and state checks.
13
+ - Workflow order is now frontend implementation and approval, backend planning and implementation,
14
+ then explicit frontend/backend API integration.
15
+
16
+ ### Added
17
+
18
+ - Structured frontend implementation-manifest validation for environment, production build, actual
19
+ registered source files, browser evidence, console errors, accessibility, and reference deviations.
20
+
7
21
  ## 0.3.0 - 2026-11-03
8
22
 
9
23
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-development-framework
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: A local-first framework for agentic software development workflows.
5
5
  Project-URL: Homepage, https://github.com/Badsha-ugv/ide-agentic-development-framework
6
6
  Project-URL: Repository, https://github.com/Badsha-ugv/ide-agentic-development-framework
@@ -39,7 +39,7 @@ The project is being delivered incrementally. The current implementation provide
39
39
  installable package, strict configuration validation, structured logging, safe project
40
40
  initialization, immutable requirements versioning, SQLite workflow state, recovery checkpoints,
41
41
  lifecycle commands, structured stage execution contracts, artifact validation, approval history,
42
- Codex/Antigravity project configuration, and a browser-verified final visual prototype workflow.
42
+ Codex/Antigravity project configuration, and a browser-verified frontend-first delivery workflow.
43
43
 
44
44
  ## Requirements
45
45
 
@@ -144,16 +144,18 @@ revisions, records dimensions and contextual folder hints, and updates
144
144
  `docs/ui-ux/screenshot-reference-analysis.md` without modifying originals. Requirements ingestion
145
145
  also performs this synchronization.
146
146
 
147
- ## UI/UX final visual workflow
147
+ ## Frontend-first visual workflow
148
148
 
149
- The `ui_ux_design` stage accepts authenticated Figma MCP context, generated HTML/CSS/Tailwind
150
- design, screenshot references, or a combination. Its prototype is the final visual source of truth,
151
- not a preliminary wireframe. The stage requires a design system, complete page and role inventory,
152
- responsive and interactive states, immutable prototype versions, and browser evidence for desktop,
153
- tablet, and mobile rendering. Structured evidence is validated before completion.
149
+ The `ui_ux_design` stage now builds the complete production frontend—there is no disposable design
150
+ prototype. It accepts a Figma URL from requirements, recursively discovered screenshots, a generated
151
+ design direction, or a combination. Before implementation it verifies the chosen frontend stack,
152
+ package manager, runtime, dependencies, and production build. The result must be modern, accessible,
153
+ responsive, fully interactive, and visually faithful to supplied references without unapproved
154
+ deviations.
154
155
 
155
- The following `design_review` stage always waits for explicit human approval. Frontend work must
156
- follow the approved prototype and produce design-reference traceability. See
156
+ The following `design_review` stage reviews the actual frontend and always waits for explicit human
157
+ approval. Revisions update that production frontend. Backend implementation begins only afterward,
158
+ followed by frontend/backend API integration. See
157
159
  [`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
158
160
 
159
161
  ## Runtime state and recovery
@@ -7,7 +7,7 @@ The project is being delivered incrementally. The current implementation provide
7
7
  installable package, strict configuration validation, structured logging, safe project
8
8
  initialization, immutable requirements versioning, SQLite workflow state, recovery checkpoints,
9
9
  lifecycle commands, structured stage execution contracts, artifact validation, approval history,
10
- Codex/Antigravity project configuration, and a browser-verified final visual prototype workflow.
10
+ Codex/Antigravity project configuration, and a browser-verified frontend-first delivery workflow.
11
11
 
12
12
  ## Requirements
13
13
 
@@ -112,16 +112,18 @@ revisions, records dimensions and contextual folder hints, and updates
112
112
  `docs/ui-ux/screenshot-reference-analysis.md` without modifying originals. Requirements ingestion
113
113
  also performs this synchronization.
114
114
 
115
- ## UI/UX final visual workflow
115
+ ## Frontend-first visual workflow
116
116
 
117
- The `ui_ux_design` stage accepts authenticated Figma MCP context, generated HTML/CSS/Tailwind
118
- design, screenshot references, or a combination. Its prototype is the final visual source of truth,
119
- not a preliminary wireframe. The stage requires a design system, complete page and role inventory,
120
- responsive and interactive states, immutable prototype versions, and browser evidence for desktop,
121
- tablet, and mobile rendering. Structured evidence is validated before completion.
117
+ The `ui_ux_design` stage now builds the complete production frontend—there is no disposable design
118
+ prototype. It accepts a Figma URL from requirements, recursively discovered screenshots, a generated
119
+ design direction, or a combination. Before implementation it verifies the chosen frontend stack,
120
+ package manager, runtime, dependencies, and production build. The result must be modern, accessible,
121
+ responsive, fully interactive, and visually faithful to supplied references without unapproved
122
+ deviations.
122
123
 
123
- The following `design_review` stage always waits for explicit human approval. Frontend work must
124
- follow the approved prototype and produce design-reference traceability. See
124
+ The following `design_review` stage reviews the actual frontend and always waits for explicit human
125
+ approval. Revisions update that production frontend. Backend implementation begins only afterward,
126
+ followed by frontend/backend API integration. See
125
127
  [`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
126
128
 
127
129
  ## Runtime state and recovery
@@ -23,7 +23,8 @@ Revision snapshots, artifact metadata revisions, approval state, event history,
23
23
  survive process and IDE restarts. The normal project documents remain the editable working copy;
24
24
  the snapshot is the immutable review-history evidence.
25
25
 
26
- For `design_review`, revision work must also create a new version below
27
- `design-prototype/versions/`, update the UI/UX revision history, and rerun browser verification for
28
- all affected pages and viewports. The final visual prototype is never automatically approved, and
29
- frontend implementation cannot begin until `adt approve design_review` succeeds.
26
+ For `design_review`, revision work changes the actual production frontend, documents the intentional
27
+ decision in `docs/frontend/revision-history.md`, registers the new source bytes, and reruns browser
28
+ verification for affected pages, states, and viewports. The frontend is never automatically
29
+ approved, and backend planning or implementation cannot begin until
30
+ `adt approve design_review` succeeds.
@@ -15,7 +15,7 @@ Each phase depends on passing verification for the preceding phase.
15
15
  7. **IDE adapters** — verified Codex, Antigravity, and VS Code configuration generators.
16
16
  8. **Engineering integrations** — safe Git wrapper, Docker detection/templates, CI templates,
17
17
  and documentation maintenance.
18
- 9. **Existing project and design workflows** — repository analysis, Figma boundary, prototype
18
+ 9. **Existing project and design workflows** — repository analysis, Figma boundary, production frontend
19
19
  generation workflow, and implementation handoff.
20
20
  10. **Acceptance and release** — end-to-end verification, security review, package builds,
21
21
  installation test, example project, and release documentation.
@@ -159,3 +159,18 @@ Status: complete; included in the 0.3.0 release candidate (2026-11-03)
159
159
  - [x] Frontend approved-design traceability requirement
160
160
  - [x] Focused unit, integration, and acceptance coverage
161
161
 
162
+ ## Frontend-first workflow revision
163
+
164
+ Status: implemented and under verification (2026-11-03)
165
+
166
+ - [x] Stable stage IDs retained for existing runtime compatibility
167
+ - [x] Disposable design-prototype phase removed from fresh projects and execution contracts
168
+ - [x] Figma requirement links, recursive screenshots, and generated frontend modes retained
169
+ - [x] Frontend technology, dependency, environment, and production-build evidence required first
170
+ - [x] Complete production frontend built and reviewed before backend implementation
171
+ - [x] Exact visual-reference matching required unless a revision explicitly changes the decision
172
+ - [x] Modern interaction, state, responsiveness, accessibility, and performance guidance strengthened
173
+ - [x] Actual frontend source files registered and hash-validated at frontend review gates
174
+ - [x] Backend implementation and frontend/backend API integration separated into ordered stages
175
+ - [x] Full regression verification (`ruff check .`; 91 tests passed)
176
+
@@ -30,10 +30,10 @@ Facts, assumptions, risks, and open questions must remain distinct. Missing prod
30
30
  into the clarification log; the agent must not invent answers. Requirements stages then create
31
31
  stable IDs, acceptance criteria, traceability, and the SRS before the requirements approval gate.
32
32
 
33
- Later contracts cover architecture, a Figma-backed, screenshot-informed, or generated final visual
34
- prototype, development planning, implementation, integration, testing, review, delivery
35
- validation, documentation, and release review. UI/UX completion requires versioned prototype
36
- artifacts plus structured browser evidence for all pages, interactions, and desktop, tablet, and
37
- mobile layouts. `design_review` cannot advance without explicit approval, and implementation must
38
- produce frontend design-reference traceability. The contract file—not conversational memory—is
39
- the durable definition of the next work.
33
+ Later contracts cover architecture; environment setup and complete production-frontend delivery
34
+ from Figma, screenshots, or a generated direction; frontend review; backend planning and
35
+ implementation; API integration; testing; review; delivery validation; documentation; and release
36
+ review. Frontend completion requires registered production sources plus structured build and browser
37
+ evidence for every page, interaction, state, and viewport. `design_review` cannot advance without
38
+ explicit approval, and backend work cannot begin early. The contract file—not conversational
39
+ memory—is the durable definition of the next work.
@@ -0,0 +1,76 @@
1
+ # Frontend-first visual workflow
2
+
3
+ ADF builds the real production frontend before backend implementation. There is no disposable
4
+ design-prototype phase and no later frontend rebuild. The stable stage IDs remain `ui_ux_design`
5
+ and `design_review` so existing project state stays compatible, but they now mean complete frontend
6
+ implementation and production-frontend review.
7
+
8
+ ## Three design-input modes
9
+
10
+ The frontend agent records one or more methods in `docs/frontend/design-inputs.json`:
11
+
12
+ - `figma_mcp`: a Figma URL was supplied in the requirements and inspected through an authenticated
13
+ integration, including components, styles, variables, assets, interactions, and rendered context;
14
+ - `screenshots`: the agent opened and inspected references anywhere below
15
+ `requirements/screenshots/`; and
16
+ - `generated_frontend`: no external design was supplied, so the agent created a cohesive modern
17
+ visual system directly in the production frontend.
18
+
19
+ Methods may be combined. Figma claims require the original HTTPS URL, its source requirement, and
20
+ successful authenticated inspection. If access fails, the stage records a blocker. Metadata alone
21
+ never counts as visual inspection.
22
+
23
+ ## Environment first
24
+
25
+ Before writing UI code, the agent inspects the architecture and existing project, identifies the
26
+ frontend root, framework, language, styling system, package manager, runtime, and commands, installs
27
+ the required dependencies, and proves the environment can produce a production build. The result is
28
+ recorded in `docs/frontend/technology-and-environment.md` and
29
+ `docs/frontend/implementation-manifest.json`.
30
+
31
+ Frontend and backend remain separate. The frontend uses typed mock data or an adapter boundary until
32
+ the integration stage; it does not wait for, implement, or directly couple itself to unfinished
33
+ backend code.
34
+
35
+ ## Production frontend quality bar
36
+
37
+ The stage implements every approved page, role, journey, responsive layout, and relevant loading,
38
+ empty, success, validation, and error state. It uses reusable components and tokens, meaningful
39
+ information hierarchy, deliberate typography and spacing, coherent color and depth, realistic
40
+ content, restrained purposeful motion, and fast perceived performance.
41
+
42
+ Every visible control must work. Semantic HTML, keyboard operation, visible focus, contrast,
43
+ reduced-motion behavior, clear feedback, and responsive desktop/tablet/mobile layouts are required.
44
+ Generic template screens, placeholder controls, inconsistent one-off styling, and decorative actions
45
+ do not satisfy the stage.
46
+
47
+ When Figma or screenshots are supplied, “same” means visually faithful implementation of layout,
48
+ dimensions, spacing, typography, colors, assets, states, and interactions, allowing only necessary
49
+ responsive adaptation. Any difference must be an explicitly approved revision or a documented
50
+ technical constraint—never a silent simplification. A later revision may intentionally change the
51
+ reference decision while preserving unrelated approved work.
52
+
53
+ ## Evidence and approval
54
+
55
+ `adt requirements screenshots` recursively catalogs supported images, preserves immutable revisions,
56
+ and updates `docs/ui-ux/screenshot-reference-analysis.md` without changing originals.
57
+
58
+ The frontend stage also requires a page inventory, design system, source-file manifest, reference
59
+ comparison, revision history, rendered verification screenshots, and structured browser evidence in
60
+ `docs/frontend/browser-verification.json`. Validation checks:
61
+
62
+ - the documented environment and production build passed;
63
+ - listed source files exist below the frontend root and are registered with current hashes;
64
+ - every page passed desktop, tablet, and mobile checks;
65
+ - interactions and accessibility checks passed and UI states were exercised;
66
+ - browser console errors and unapproved reference deviations are empty; and
67
+ - verification images exist below `docs/frontend/verification-screenshots/`.
68
+
69
+ `design_review` presents the actual production frontend and always stops for explicit approval.
70
+ `adt revise design_review "FEEDBACK"` preserves the reviewed snapshot, applies the requested changes
71
+ to production code, updates the revision evidence, and reruns verification. Only
72
+ `adt approve design_review` permits backend planning and implementation.
73
+
74
+ After approval, ADF plans and builds the backend without redesigning the frontend. The following
75
+ integration stage replaces mocks through the frontend adapter boundary and verifies API contracts,
76
+ authentication, validation, and loading/empty/success/error behavior end to end.
@@ -1,6 +1,6 @@
1
1
  """Agentic Development Framework public package metadata."""
2
2
 
3
- __version__ = "0.3.0"
3
+ __version__ = "0.4.0"
4
4
 
5
5
  __all__ = ["__version__"]
6
6
 
@@ -31,8 +31,15 @@ read the shared command skill and
31
31
  `.agentic/execution-contracts.yaml`; do not merely run a lifecycle command and report its output.
32
32
  The IDE agent performs reasoning and artifact creation while `adt` persists execution, artifacts,
33
33
  validation, approvals, and recovery. Never bypass approval gates or overwrite unrelated changes.
34
- For the UI/UX stage, treat the browser-verified prototype as the final visual specification, sync
35
- and inspect screenshot references, and require explicit approval before frontend implementation.
34
+ In an existing application, detect and follow its actual architecture, tools, conventions, Git
35
+ state, and active ADF artifacts; report discovered defects and conflicts instead of silently
36
+ ignoring them. For the frontend stage, inspect actual Figma/screenshot references, verify the
37
+ environment, and build the complete production frontend with accessible, responsive, meaningful
38
+ interactions. Supplied
39
+ references govern presentation and must have no unapproved visual deviation. Do not create a
40
+ disposable prototype. Require explicit frontend approval before backend planning or implementation.
41
+ Build the backend separately, then connect it through the frontend adapter boundary during the API
42
+ integration stage. A custom `/adf` request may refine current-stage work but cannot skip this order.
36
43
  """
37
44
 
38
45
  _CODEX_NOTE = """# Codex adapter
@@ -80,7 +87,7 @@ def _workflow() -> str:
80
87
  "checkpoint_policy": "on_completion",
81
88
  }
82
89
  )
83
- return _yaml({"schema_version": 3, "name": "default", "stages": stages})
90
+ return _yaml({"schema_version": 4, "name": "default", "stages": stages})
84
91
 
85
92
 
86
93
  def _registry() -> str:
@@ -92,9 +99,9 @@ def _registry() -> str:
92
99
  verification = ["run relevant checks"]
93
100
  if agent_id == "ui_ux_designer":
94
101
  responsibilities = [
95
- "Create the complete high-fidelity final visual prototype",
102
+ "Analyze visual references and define a production-ready design system",
96
103
  "Analyze Figma, screenshots, and approved requirements without inventing evidence",
97
- "Verify every page, viewport, and interaction in a browser",
104
+ "Support exact visual comparison and intentional revision decisions",
98
105
  ]
99
106
  required_inputs = [
100
107
  "approved requirements and architecture",
@@ -102,9 +109,8 @@ def _registry() -> str:
102
109
  "optional authenticated Figma design context",
103
110
  ]
104
111
  expected_outputs = [
105
- "versioned interactive prototype",
106
112
  "design system and page inventory",
107
- "browser verification evidence",
113
+ "visual reference analysis",
108
114
  ]
109
115
  verification = [
110
116
  "inspect desktop, tablet, and mobile rendering",
@@ -113,12 +119,35 @@ def _registry() -> str:
113
119
  ]
114
120
  elif agent_id == "frontend_developer":
115
121
  responsibilities = [
116
- "Implement the explicitly approved final visual prototype faithfully",
117
- "Preserve approved layouts, components, interactions, and responsive behavior",
122
+ "Verify the frontend stack and environment before implementation",
123
+ "Build the complete production frontend before backend implementation",
124
+ "Match approved references exactly and deliver modern, accessible interactions",
118
125
  ]
119
- required_inputs = ["approved design prototype and browser evidence"]
120
- expected_outputs = ["frontend design-reference traceability"]
121
- verification = ["compare production rendering with approved prototype screenshots"]
126
+ required_inputs = ["approved requirements, architecture, and visual references"]
127
+ expected_outputs = ["production frontend and browser verification evidence"]
128
+ verification = [
129
+ "prove environment setup and production build before completion",
130
+ "compare actual frontend rendering with every approved reference",
131
+ "test pages, states, controls, accessibility, console, and responsive layouts",
132
+ ]
133
+ elif agent_id == "backend_developer":
134
+ responsibilities = [
135
+ "Implement backend services from approved API and architecture contracts",
136
+ "Preserve the approved frontend and its adapter boundary",
137
+ "Implement persistence, validation, security, migrations, and failure behavior",
138
+ ]
139
+ required_inputs = ["approved backend plan, architecture, and frontend adapter needs"]
140
+ expected_outputs = ["tested backend implementation and traceability manifest"]
141
+ verification = ["run backend unit, integration, migration, and security checks"]
142
+ elif agent_id == "integration_engineer":
143
+ responsibilities = [
144
+ "Replace frontend mocks through the documented adapter boundary",
145
+ "Verify API, authentication, validation, and failure-state behavior end to end",
146
+ "Prevent silent visual drift during frontend/backend integration",
147
+ ]
148
+ required_inputs = ["approved frontend, verified backend, and API integration plan"]
149
+ expected_outputs = ["API integration report with reproducible evidence"]
150
+ verification = ["run backend, frontend, API, and browser integration checks"]
122
151
  agents.append(
123
152
  {
124
153
  "id": agent_id,
@@ -51,12 +51,13 @@ _DIRECTORIES = (
51
51
  "docs/architecture",
52
52
  "docs/design",
53
53
  "docs/ui-ux",
54
+ "docs/frontend",
55
+ "docs/backend",
54
56
  "docs/decisions",
55
57
  "docs/planning",
56
58
  "docs/technical",
57
59
  "docs/revisions",
58
60
  "docs/reports",
59
- "design-prototype",
60
61
  "tests",
61
62
  )
62
63
 
@@ -75,8 +76,10 @@ This project uses the Agentic Development Framework (ADF).
75
76
  and run `adt stage complete`. The CLI persists state; the IDE agent performs the work.
76
77
  - Never treat successful `adt continue` output as completion or stage advancement.
77
78
  - Do not claim a task or phase is complete until its required checks pass.
78
- - Treat the UI/UX prototype as the final visual specification: inspect actual Figma/screenshots,
79
- browser-test all pages and viewports, preserve revisions, and wait for explicit design approval.
79
+ - Build the complete production frontend before backend work: verify its environment, inspect actual
80
+ Figma/screenshots, browser-test all pages and viewports, and wait for explicit frontend approval.
81
+ - Keep frontend and backend separate until the API integration stage. Never create a disposable
82
+ design prototype or silently simplify an approved visual reference.
80
83
  """
81
84
 
82
85
  _REQUIREMENTS_README = """# Project requirements