agentic-development-framework 0.2.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.
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/CHANGELOG.md +31 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/PKG-INFO +23 -2
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/README.md +22 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/APPROVALS_AND_REVISIONS.md +6 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/IMPLEMENTATION_PLAN.md +1 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/IMPLEMENTATION_PROGRESS.md +33 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/PYPI_RELEASE.md +3 -3
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/REQUIREMENTS_MANAGEMENT.md +13 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/STAGE_EXECUTION.md +7 -4
- agentic_development_framework-0.4.0/docs/UI_UX_WORKFLOW.md +76 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/scripts/release_acceptance.py +23 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/__init__.py +1 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/adapters/generator.py +69 -5
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/cli.py +22 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/initialization.py +21 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/stages.py +157 -31
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/workflow.py +158 -1
- agentic_development_framework-0.4.0/src/agentic_framework/requirements_manager/__init__.py +23 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/ingestion.py +2 -0
- agentic_development_framework-0.4.0/src/agentic_framework/requirements_manager/screenshots.py +436 -0
- agentic_development_framework-0.4.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +127 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_requirements_cli.py +23 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/integration/test_stage_execution.py +156 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_adapters.py +14 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_cli.py +2 -1
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_initialization.py +7 -0
- agentic_development_framework-0.4.0/tests/unit/test_screenshots.py +208 -0
- agentic_development_framework-0.2.0/src/agentic_framework/requirements_manager/__init__.py +0 -8
- agentic_development_framework-0.2.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +0 -52
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/.gitignore +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/LICENSE +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/ACCEPTANCE_REPORT.md +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/ANTIGRAVITY_SETUP.md +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/COMMAND_REFERENCE.md +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/pyproject.toml +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/scripts/installed_distribution_tests.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/__main__.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/adapters/__init__.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/__init__.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/command_registry.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/config.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/custom_commands.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/core/project.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/exceptions.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/logging.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/comparison.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/extraction.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/requirements_manager/traceability.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/state/__init__.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/state/database.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/src/agentic_framework/templates/__init__.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_commands_cli.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/acceptance/test_init_cli.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/integration/test_requirements_ingestion.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/integration/test_workflow_recovery.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_comparison.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_config.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_custom_commands.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_extraction.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_logging.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_package_resources.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_project.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_state.py +0 -0
- {agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/tests/unit/test_traceability.py +0 -0
|
@@ -4,6 +4,37 @@ 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
|
+
|
|
21
|
+
## 0.3.0 - 2026-11-03
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Recursive PNG/JPG/JPEG/WEBP screenshot-reference discovery with dimensions, contextual hints,
|
|
26
|
+
immutable byte-preserving revisions, tamper detection, and generated analysis inventory.
|
|
27
|
+
- `adt requirements screenshots` plus automatic screenshot synchronization during requirements
|
|
28
|
+
ingestion and UI/UX stage preparation.
|
|
29
|
+
- Structured design-input and browser-verification evidence gates, versioned prototypes, and
|
|
30
|
+
frontend design-reference traceability.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- The existing UI/UX stages now treat the interactive prototype as the final visual source of
|
|
35
|
+
truth, support Figma MCP, generated, and screenshot inputs together, and require desktop,
|
|
36
|
+
tablet, mobile, interaction, revision, and explicit human-approval evidence.
|
|
37
|
+
|
|
7
38
|
## 0.2.0 - 2026-11-02
|
|
8
39
|
|
|
9
40
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentic-development-framework
|
|
3
|
-
Version: 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
|
-
|
|
42
|
+
Codex/Antigravity project configuration, and a browser-verified frontend-first delivery workflow.
|
|
43
43
|
|
|
44
44
|
## Requirements
|
|
45
45
|
|
|
@@ -74,6 +74,7 @@ adt --version
|
|
|
74
74
|
adt init
|
|
75
75
|
adt config validate path/to/config.yaml
|
|
76
76
|
adt requirements ingest
|
|
77
|
+
adt requirements screenshots
|
|
77
78
|
adt start
|
|
78
79
|
adt status
|
|
79
80
|
adt pause
|
|
@@ -137,6 +138,26 @@ clear unsupported-extraction status. Optional binary-format extractors are futur
|
|
|
137
138
|
|
|
138
139
|
See `docs/REQUIREMENTS_MANAGEMENT.md` for the file contract and safety behavior.
|
|
139
140
|
|
|
141
|
+
Place PNG, JPG, JPEG, or WEBP design references anywhere below `requirements/screenshots/` and
|
|
142
|
+
run `adt requirements screenshots`. ADF recursively catalogs them, preserves immutable reference
|
|
143
|
+
revisions, records dimensions and contextual folder hints, and updates
|
|
144
|
+
`docs/ui-ux/screenshot-reference-analysis.md` without modifying originals. Requirements ingestion
|
|
145
|
+
also performs this synchronization.
|
|
146
|
+
|
|
147
|
+
## Frontend-first visual workflow
|
|
148
|
+
|
|
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.
|
|
155
|
+
|
|
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
|
|
159
|
+
[`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
|
|
160
|
+
|
|
140
161
|
## Runtime state and recovery
|
|
141
162
|
|
|
142
163
|
Initialization creates `.agentic/database/agentic.db` as the transactional source of truth,
|
|
@@ -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
|
-
|
|
10
|
+
Codex/Antigravity project configuration, and a browser-verified frontend-first delivery workflow.
|
|
11
11
|
|
|
12
12
|
## Requirements
|
|
13
13
|
|
|
@@ -42,6 +42,7 @@ adt --version
|
|
|
42
42
|
adt init
|
|
43
43
|
adt config validate path/to/config.yaml
|
|
44
44
|
adt requirements ingest
|
|
45
|
+
adt requirements screenshots
|
|
45
46
|
adt start
|
|
46
47
|
adt status
|
|
47
48
|
adt pause
|
|
@@ -105,6 +106,26 @@ clear unsupported-extraction status. Optional binary-format extractors are futur
|
|
|
105
106
|
|
|
106
107
|
See `docs/REQUIREMENTS_MANAGEMENT.md` for the file contract and safety behavior.
|
|
107
108
|
|
|
109
|
+
Place PNG, JPG, JPEG, or WEBP design references anywhere below `requirements/screenshots/` and
|
|
110
|
+
run `adt requirements screenshots`. ADF recursively catalogs them, preserves immutable reference
|
|
111
|
+
revisions, records dimensions and contextual folder hints, and updates
|
|
112
|
+
`docs/ui-ux/screenshot-reference-analysis.md` without modifying originals. Requirements ingestion
|
|
113
|
+
also performs this synchronization.
|
|
114
|
+
|
|
115
|
+
## Frontend-first visual workflow
|
|
116
|
+
|
|
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.
|
|
123
|
+
|
|
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
|
|
127
|
+
[`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
|
|
128
|
+
|
|
108
129
|
## Runtime state and recovery
|
|
109
130
|
|
|
110
131
|
Initialization creates `.agentic/database/agentic.db` as the transactional source of truth,
|
|
@@ -22,3 +22,9 @@ Approval is requested again; revision feedback never implies approval.
|
|
|
22
22
|
Revision snapshots, artifact metadata revisions, approval state, event history, and checkpoints
|
|
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
|
+
|
|
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,
|
|
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.
|
|
@@ -140,5 +140,37 @@ Status: PyPI 0.1.0 release gates passed (2026-11-02)
|
|
|
140
140
|
|
|
141
141
|
Phase 8, broader Phase 9 integrations, the VS Code portion of Phase 7, and native AI-provider
|
|
142
142
|
integration remain on the roadmap. IDE agents are the supported reasoning layer; the CLI does not
|
|
143
|
-
embed or call a paid model API. These changes
|
|
143
|
+
embed or call a paid model API. These changes were released in 0.2.0.
|
|
144
|
+
|
|
145
|
+
## UI/UX final visual prototype improvement
|
|
146
|
+
|
|
147
|
+
Status: complete; included in the 0.3.0 release candidate (2026-11-03)
|
|
148
|
+
|
|
149
|
+
- [x] Existing `ui_ux_design` and `design_review` stages extended without parallel workflow IDs
|
|
150
|
+
- [x] Figma MCP, generated prototype, and screenshot methods supported independently or together
|
|
151
|
+
- [x] Flexible screenshot folders initialized below `requirements/screenshots/`
|
|
152
|
+
- [x] Recursive PNG/JPG/JPEG/WEBP discovery with dimensions, hashes, and contextual hints
|
|
153
|
+
- [x] Immutable screenshot revisions and tamper detection without modifying originals
|
|
154
|
+
- [x] Generated screenshot analysis inventory with agent-editable analysis preserved
|
|
155
|
+
- [x] Design-system-first, page/role inventory, interaction, responsive, and state requirements
|
|
156
|
+
- [x] Structured browser verification gate with rendered screenshot validation
|
|
157
|
+
- [x] Immutable prototype version and revision-history requirements
|
|
158
|
+
- [x] Explicit final visual human approval gate
|
|
159
|
+
- [x] Frontend approved-design traceability requirement
|
|
160
|
+
- [x] Focused unit, integration, and acceptance coverage
|
|
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)
|
|
144
176
|
|
{agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/PYPI_RELEASE.md
RENAMED
|
@@ -84,8 +84,8 @@ Review the complete diff and confirm CI on `main` is green. Then create and push
|
|
|
84
84
|
git switch main
|
|
85
85
|
git pull --ff-only
|
|
86
86
|
git status --short
|
|
87
|
-
git tag -s v0.
|
|
88
|
-
git push origin v0.
|
|
87
|
+
git tag -s v0.3.0 -m "Release 0.3.0"
|
|
88
|
+
git push origin v0.3.0
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
Use an annotated unsigned tag (`git tag -a`) only if signed tags are not available. Do not reuse a
|
|
@@ -104,7 +104,7 @@ must all pass before the OIDC publishing job can run.
|
|
|
104
104
|
```bash
|
|
105
105
|
verify_tmp="$(mktemp -d)"
|
|
106
106
|
python -m venv "$verify_tmp/venv"
|
|
107
|
-
"$verify_tmp/venv/bin/python" -m pip install agentic-development-framework==0.
|
|
107
|
+
"$verify_tmp/venv/bin/python" -m pip install agentic-development-framework==0.3.0
|
|
108
108
|
"$verify_tmp/venv/bin/adt" --version
|
|
109
109
|
"$verify_tmp/venv/bin/adt" --help
|
|
110
110
|
```
|
|
@@ -58,3 +58,16 @@ extraction never prevents source preservation or version publication.
|
|
|
58
58
|
|
|
59
59
|
Symbolic links are rejected so ingestion cannot copy files from outside the explicitly managed
|
|
60
60
|
inbox.
|
|
61
|
+
|
|
62
|
+
## Screenshot design references
|
|
63
|
+
|
|
64
|
+
Visual references are managed separately below `requirements/screenshots/`; they are not treated
|
|
65
|
+
as textual inbox requirements. PNG, JPG, JPEG, and WEBP images may use arbitrary nested folders.
|
|
66
|
+
Run `adt requirements screenshots` to recursively discover them, record dimensions and contextual
|
|
67
|
+
folder hints, and update `manifest.json` plus `docs/ui-ux/screenshot-reference-analysis.md`.
|
|
68
|
+
|
|
69
|
+
Each changed screenshot set creates an immutable revision under
|
|
70
|
+
`requirements/screenshots/.versions/` with verified byte-for-byte copies. Existing revisions are
|
|
71
|
+
hash-validated before use, originals remain untouched, unsupported files are ignored, and symbolic
|
|
72
|
+
links or invalid image headers produce actionable errors. Requirements ingestion synchronizes the
|
|
73
|
+
same catalog after it has validated a non-empty inbox.
|
{agentic_development_framework-0.2.0 → agentic_development_framework-0.4.0}/docs/STAGE_EXECUTION.md
RENAMED
|
@@ -30,7 +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
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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.
|
|
@@ -79,6 +79,9 @@ def _verify_files(root: Path) -> None:
|
|
|
79
79
|
".agentic/state/execution.json",
|
|
80
80
|
".agentic/logs/events.jsonl",
|
|
81
81
|
"requirements/inbox",
|
|
82
|
+
"requirements/screenshots/desktop/homepage",
|
|
83
|
+
"requirements/screenshots/mobile/dashboard",
|
|
84
|
+
"requirements/screenshots/admin-dashboard",
|
|
82
85
|
"requirements/versions",
|
|
83
86
|
"requirements/reports",
|
|
84
87
|
)
|
|
@@ -175,6 +178,25 @@ def run_acceptance(artifact: Path) -> dict[str, object]:
|
|
|
175
178
|
[str(adt), "config", "validate", ".agentic/config.yaml"], cwd=root
|
|
176
179
|
)
|
|
177
180
|
|
|
181
|
+
screenshot = root / "requirements/screenshots/desktop/dashboard/reference.png"
|
|
182
|
+
screenshot.parent.mkdir(parents=True, exist_ok=True)
|
|
183
|
+
screenshot_bytes = (
|
|
184
|
+
b"\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR"
|
|
185
|
+
+ (1440).to_bytes(4, "big")
|
|
186
|
+
+ (900).to_bytes(4, "big")
|
|
187
|
+
)
|
|
188
|
+
screenshot.write_bytes(screenshot_bytes)
|
|
189
|
+
screenshot_sync = _run([str(adt), "requirements", "screenshots"], cwd=root)
|
|
190
|
+
assert "Published screenshot revision 1" in screenshot_sync
|
|
191
|
+
assert screenshot.read_bytes() == screenshot_bytes
|
|
192
|
+
assert (root / "requirements/screenshots/manifest.json").is_file()
|
|
193
|
+
assert (
|
|
194
|
+
root
|
|
195
|
+
/ "requirements/screenshots/.versions/version-001/source-files"
|
|
196
|
+
/ "desktop/dashboard/reference.png"
|
|
197
|
+
).read_bytes() == screenshot_bytes
|
|
198
|
+
assert (root / "docs/ui-ux/screenshot-reference-analysis.md").is_file()
|
|
199
|
+
|
|
178
200
|
inbox = root / "requirements/inbox"
|
|
179
201
|
(inbox / "product.md").write_text("REQ-001: Sign in\n", encoding="utf-8")
|
|
180
202
|
_run([str(adt), "requirements", "ingest"], cwd=root)
|
|
@@ -216,6 +238,7 @@ def run_acceptance(artifact: Path) -> dict[str, object]:
|
|
|
216
238
|
"configuration_validation": True,
|
|
217
239
|
"state_database": True,
|
|
218
240
|
"requirements_versions": 2,
|
|
241
|
+
"screenshot_reference_versioning": True,
|
|
219
242
|
"recovery": True,
|
|
220
243
|
}
|
|
221
244
|
|
|
@@ -31,6 +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
|
+
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.
|
|
34
43
|
"""
|
|
35
44
|
|
|
36
45
|
_CODEX_NOTE = """# Codex adapter
|
|
@@ -78,24 +87,79 @@ def _workflow() -> str:
|
|
|
78
87
|
"checkpoint_policy": "on_completion",
|
|
79
88
|
}
|
|
80
89
|
)
|
|
81
|
-
return _yaml({"schema_version":
|
|
90
|
+
return _yaml({"schema_version": 4, "name": "default", "stages": stages})
|
|
82
91
|
|
|
83
92
|
|
|
84
93
|
def _registry() -> str:
|
|
85
94
|
agents = []
|
|
86
95
|
for agent_id, name in _AGENTS:
|
|
96
|
+
responsibilities = [f"Perform {name.lower()} work within approved scope"]
|
|
97
|
+
required_inputs: list[str] = []
|
|
98
|
+
expected_outputs = ["standardized agent result"]
|
|
99
|
+
verification = ["run relevant checks"]
|
|
100
|
+
if agent_id == "ui_ux_designer":
|
|
101
|
+
responsibilities = [
|
|
102
|
+
"Analyze visual references and define a production-ready design system",
|
|
103
|
+
"Analyze Figma, screenshots, and approved requirements without inventing evidence",
|
|
104
|
+
"Support exact visual comparison and intentional revision decisions",
|
|
105
|
+
]
|
|
106
|
+
required_inputs = [
|
|
107
|
+
"approved requirements and architecture",
|
|
108
|
+
"screenshot manifest and actual images",
|
|
109
|
+
"optional authenticated Figma design context",
|
|
110
|
+
]
|
|
111
|
+
expected_outputs = [
|
|
112
|
+
"design system and page inventory",
|
|
113
|
+
"visual reference analysis",
|
|
114
|
+
]
|
|
115
|
+
verification = [
|
|
116
|
+
"inspect desktop, tablet, and mobile rendering",
|
|
117
|
+
"test meaningful behavior for every visible control",
|
|
118
|
+
"preserve revision and visual-reference traceability",
|
|
119
|
+
]
|
|
120
|
+
elif agent_id == "frontend_developer":
|
|
121
|
+
responsibilities = [
|
|
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",
|
|
125
|
+
]
|
|
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"]
|
|
87
151
|
agents.append(
|
|
88
152
|
{
|
|
89
153
|
"id": agent_id,
|
|
90
154
|
"name": name,
|
|
91
155
|
"role": name,
|
|
92
|
-
"responsibilities":
|
|
156
|
+
"responsibilities": responsibilities,
|
|
93
157
|
"scope": "assigned tasks only",
|
|
94
|
-
"required_inputs":
|
|
95
|
-
"expected_outputs":
|
|
158
|
+
"required_inputs": required_inputs,
|
|
159
|
+
"expected_outputs": expected_outputs,
|
|
96
160
|
"allowed_tools": ["repository read/write tools", "project test commands"],
|
|
97
161
|
"restricted_operations": ["secrets", "force push", "unapproved deployment"],
|
|
98
|
-
"verification_requirements":
|
|
162
|
+
"verification_requirements": verification,
|
|
99
163
|
"handoff_format": "agent result contract",
|
|
100
164
|
"failure_and_escalation": "record blocker and escalate to orchestrator",
|
|
101
165
|
}
|
|
@@ -19,7 +19,7 @@ from agentic_framework.exceptions import (
|
|
|
19
19
|
RequirementsError,
|
|
20
20
|
StateError,
|
|
21
21
|
)
|
|
22
|
-
from agentic_framework.requirements_manager import RequirementsManager
|
|
22
|
+
from agentic_framework.requirements_manager import RequirementsManager, ScreenshotManager
|
|
23
23
|
|
|
24
24
|
app = typer.Typer(
|
|
25
25
|
name="adt",
|
|
@@ -427,3 +427,24 @@ def ingest_requirements(
|
|
|
427
427
|
relative_report = result.impact_report.relative_to(result.version_path.parents[1])
|
|
428
428
|
typer.echo(f"Impact report: {relative_report}")
|
|
429
429
|
|
|
430
|
+
|
|
431
|
+
@requirements_app.command("screenshots")
|
|
432
|
+
def sync_screenshots(
|
|
433
|
+
path: Annotated[
|
|
434
|
+
Path,
|
|
435
|
+
typer.Option("--path", help="Project directory containing requirements/screenshots."),
|
|
436
|
+
] = Path("."),
|
|
437
|
+
) -> None:
|
|
438
|
+
"""Discover screenshot references and publish an immutable manifest revision."""
|
|
439
|
+
|
|
440
|
+
try:
|
|
441
|
+
result = ScreenshotManager(path).sync()
|
|
442
|
+
except RequirementsError as exc:
|
|
443
|
+
typer.echo(f"Error: {exc}", err=True)
|
|
444
|
+
raise typer.Exit(code=2) from exc
|
|
445
|
+
action = "Unchanged" if result.duplicate else "Published"
|
|
446
|
+
typer.echo(f"{action} screenshot revision {result.revision}.")
|
|
447
|
+
typer.echo(f"Screenshot files: {result.file_count}")
|
|
448
|
+
typer.echo("Manifest: requirements/screenshots/manifest.json")
|
|
449
|
+
typer.echo("Analysis: docs/ui-ux/screenshot-reference-analysis.md")
|
|
450
|
+
|
|
@@ -34,18 +34,30 @@ _DIRECTORIES = (
|
|
|
34
34
|
".github/instructions",
|
|
35
35
|
".github/workflows",
|
|
36
36
|
"requirements/inbox",
|
|
37
|
+
"requirements/screenshots/desktop/homepage",
|
|
38
|
+
"requirements/screenshots/desktop/dashboard",
|
|
39
|
+
"requirements/screenshots/desktop/other",
|
|
40
|
+
"requirements/screenshots/mobile/homepage",
|
|
41
|
+
"requirements/screenshots/mobile/dashboard",
|
|
42
|
+
"requirements/screenshots/mobile/other",
|
|
43
|
+
"requirements/screenshots/admin-dashboard",
|
|
44
|
+
"requirements/screenshots/vendor-dashboard",
|
|
45
|
+
"requirements/screenshots/customer-dashboard",
|
|
46
|
+
"requirements/screenshots/references",
|
|
37
47
|
"requirements/versions",
|
|
38
48
|
"requirements/reports",
|
|
39
49
|
"docs/discovery",
|
|
40
50
|
"docs/requirements",
|
|
41
51
|
"docs/architecture",
|
|
42
52
|
"docs/design",
|
|
53
|
+
"docs/ui-ux",
|
|
54
|
+
"docs/frontend",
|
|
55
|
+
"docs/backend",
|
|
43
56
|
"docs/decisions",
|
|
44
57
|
"docs/planning",
|
|
45
58
|
"docs/technical",
|
|
46
59
|
"docs/revisions",
|
|
47
60
|
"docs/reports",
|
|
48
|
-
"design-prototype",
|
|
49
61
|
"tests",
|
|
50
62
|
)
|
|
51
63
|
|
|
@@ -64,6 +76,10 @@ This project uses the Agentic Development Framework (ADF).
|
|
|
64
76
|
and run `adt stage complete`. The CLI persists state; the IDE agent performs the work.
|
|
65
77
|
- Never treat successful `adt continue` output as completion or stage advancement.
|
|
66
78
|
- Do not claim a task or phase is complete until its required checks pass.
|
|
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.
|
|
67
83
|
"""
|
|
68
84
|
|
|
69
85
|
_REQUIREMENTS_README = """# Project requirements
|
|
@@ -72,6 +88,10 @@ Place source requirement files in `inbox/`, then run `adt requirements ingest`.
|
|
|
72
88
|
source byte-for-byte into an immutable directory under `versions/`, detects duplicates using
|
|
73
89
|
SHA-256 hashes, and compares each new version with its predecessor. Files in `inbox/` are never
|
|
74
90
|
silently overwritten or removed.
|
|
91
|
+
|
|
92
|
+
Place PNG, JPG, JPEG, or WEBP visual references anywhere under `screenshots/`. ADF discovers them
|
|
93
|
+
recursively, preserves immutable revisions, and updates the screenshot manifest with
|
|
94
|
+
`adt requirements screenshots`. Folder names provide context but never replace visual inspection.
|
|
75
95
|
"""
|
|
76
96
|
|
|
77
97
|
_GITIGNORE = """# Agentic Development Framework local runtime data
|