agentic-development-framework 0.3.0__tar.gz → 0.5.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.3.0 → agentic_development_framework-0.5.0}/.gitignore +25 -26
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/CHANGELOG.md +29 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/PKG-INFO +12 -10
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/README.md +11 -9
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/APPROVALS_AND_REVISIONS.md +5 -4
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/IMPLEMENTATION_PLAN.md +1 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/IMPLEMENTATION_PROGRESS.md +15 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/STAGE_EXECUTION.md +7 -7
- agentic_development_framework-0.5.0/docs/UI_UX_WORKFLOW.md +76 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/scripts/release_acceptance.py +12 -2
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/__init__.py +1 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/adapters/generator.py +102 -23
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/cli.py +33 -3
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/config.py +12 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/initialization.py +180 -11
- agentic_development_framework-0.5.0/src/agentic_framework/core/project.py +222 -0
- agentic_development_framework-0.5.0/src/agentic_framework/core/stages.py +658 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/workflow.py +110 -27
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/screenshots.py +5 -4
- agentic_development_framework-0.5.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +196 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/acceptance/test_init_cli.py +23 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/integration/test_stage_execution.py +70 -28
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_adapters.py +18 -8
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_cli.py +2 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_config.py +15 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_initialization.py +28 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_project.py +33 -1
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_screenshots.py +1 -1
- agentic_development_framework-0.3.0/docs/UI_UX_WORKFLOW.md +0 -81
- agentic_development_framework-0.3.0/src/agentic_framework/core/project.py +0 -93
- agentic_development_framework-0.3.0/src/agentic_framework/core/stages.py +0 -426
- agentic_development_framework-0.3.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +0 -58
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/LICENSE +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/ACCEPTANCE_REPORT.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/ANTIGRAVITY_SETUP.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/COMMAND_REFERENCE.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/PYPI_RELEASE.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/REQUIREMENTS_MANAGEMENT.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/WORKFLOW_ARCHITECTURE.md +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/pyproject.toml +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/scripts/installed_distribution_tests.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/__main__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/adapters/__init__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/__init__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/command_registry.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/core/custom_commands.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/exceptions.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/logging.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/__init__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/comparison.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/extraction.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/ingestion.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/requirements_manager/traceability.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/state/__init__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/state/database.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/src/agentic_framework/templates/__init__.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/acceptance/test_commands_cli.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/acceptance/test_requirements_cli.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/integration/test_requirements_ingestion.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/integration/test_workflow_recovery.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_comparison.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_custom_commands.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_extraction.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_logging.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_package_resources.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_state.py +0 -0
- {agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/tests/unit/test_traceability.py +0 -0
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
__pycache__/
|
|
2
|
-
*.py[cod]
|
|
3
|
-
*.egg-info/
|
|
4
|
-
.eggs/
|
|
5
|
-
.coverage
|
|
6
|
-
.coverage.*
|
|
7
|
-
coverage.xml
|
|
8
|
-
htmlcov/
|
|
9
|
-
.pytest_cache/
|
|
10
|
-
.ruff_cache/
|
|
11
|
-
.mypy_cache/
|
|
12
|
-
.venv/
|
|
13
|
-
venv/
|
|
14
|
-
build/
|
|
15
|
-
dist/
|
|
16
|
-
|
|
17
|
-
# Local framework runtime data
|
|
18
|
-
.agentic/
|
|
19
|
-
|
|
20
|
-
# Local secrets and editor metadata
|
|
21
|
-
.
|
|
22
|
-
.
|
|
23
|
-
|
|
24
|
-
.
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.eggs/
|
|
5
|
+
.coverage
|
|
6
|
+
.coverage.*
|
|
7
|
+
coverage.xml
|
|
8
|
+
htmlcov/
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.ruff_cache/
|
|
11
|
+
.mypy_cache/
|
|
12
|
+
.venv/
|
|
13
|
+
venv/
|
|
14
|
+
build/
|
|
15
|
+
dist/
|
|
16
|
+
|
|
17
|
+
# Local framework runtime data
|
|
18
|
+
.agentic/
|
|
19
|
+
|
|
20
|
+
# Local secrets and editor metadata
|
|
21
|
+
!.env.example
|
|
22
|
+
.idea/
|
|
23
|
+
|
|
24
|
+
config.bat
|
|
25
|
+
node_modules
|
|
@@ -2,7 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 0.5.0 - 2026-11-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Interactive `adt init` workflow supporting both new and existing projects with terminal prompts.
|
|
10
|
+
- Existing-project domain detection scanning frontend, backend, database, auth, and CI completion.
|
|
11
|
+
- Session task selection for existing projects: `security_audit`, `bug_hunt`, `specific_issue`, `ui_redesign`, `add_feature`, or `full_workflow`.
|
|
12
|
+
- Automatic existing-project analysis reports generated during initialization: `.agentic/reports/existing-project-analysis.md`, `docs/discovery/existing-project-analysis.md`, and `docs/discovery/work-completion-status.md`.
|
|
13
|
+
- New stages: `existing_project_analysis`, `database_validation`, and `security_testing`.
|
|
14
|
+
- Expanded technology detection covering React, Vue, FastAPI, Flask, Laravel, NestJS, Go, Rust, PHP, Ruby, and Prisma.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Completely removed all UI/UX prototype concepts: the workflow directly builds the production frontend using chosen tech stack (React, Vue, etc.).
|
|
19
|
+
- Renamed stages to `frontend_implementation` and `frontend_review` with high-priority design standards: mandatory research into conventional sites similar to the project idea, comprehensive design system (colors, typography, spacing, motion), and zero generic placeholder styling.
|
|
20
|
+
- Richer agent context: expanded responsibilities, step-by-step instructions, and thorough cross-stage input traceability so agents have complete context.
|
|
21
|
+
- Workflow execution order: documentation → frontend implementation & review → backend planning & implementation → integration → database validation → QA & testing → security testing → code review → CI/CD → final documentation → release review.
|
|
22
|
+
|
|
23
|
+
## 0.4.0 - 2026-11-03
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Removed disposable design-prototype step: the frontend stage verifies the toolchain and builds the complete production frontend before backend work begins.
|
|
28
|
+
- Figma links from requirements, recursively discovered screenshots, and generated frontend design remain supported with exact-reference, accessibility, interaction, responsive, and state checks.
|
|
29
|
+
- Workflow order updated to frontend implementation and approval, backend planning and implementation, then explicit frontend/backend API integration.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- Structured frontend implementation-manifest validation for environment, production build, actual registered source files, browser evidence, console errors, accessibility, and reference deviations.
|
|
6
34
|
|
|
7
35
|
## 0.3.0 - 2026-11-03
|
|
8
36
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentic-development-framework
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.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
|
|
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
|
-
##
|
|
147
|
+
## Frontend-first visual workflow
|
|
148
148
|
|
|
149
|
-
The `ui_ux_design` stage
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
|
156
|
-
|
|
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
|
|
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
|
-
##
|
|
115
|
+
## Frontend-first visual workflow
|
|
116
116
|
|
|
117
|
-
The `ui_ux_design` stage
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
124
|
-
|
|
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
|
|
27
|
-
`
|
|
28
|
-
|
|
29
|
-
|
|
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.
|
|
@@ -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
|
+
|
{agentic_development_framework-0.3.0 → agentic_development_framework-0.5.0}/docs/STAGE_EXECUTION.md
RENAMED
|
@@ -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
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
@@ -92,8 +92,8 @@ def _verify_files(root: Path) -> None:
|
|
|
92
92
|
registry = yaml.safe_load(
|
|
93
93
|
(root / ".agentic/agent-registry.yaml").read_text(encoding="utf-8")
|
|
94
94
|
)
|
|
95
|
-
assert len(workflow["stages"]) ==
|
|
96
|
-
assert len(registry["agents"]) ==
|
|
95
|
+
assert len(workflow["stages"]) == 22
|
|
96
|
+
assert len(registry["agents"]) == 10
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
def _verify_database(root: Path) -> None:
|
|
@@ -208,6 +208,16 @@ def run_acceptance(artifact: Path) -> dict[str, object]:
|
|
|
208
208
|
assert (root / "requirements/reports/version-001-to-version-002-impact.md").is_file()
|
|
209
209
|
|
|
210
210
|
assert "Status: active" in _run([str(adt), "start"], cwd=root)
|
|
211
|
+
if "existing_project_analysis" in _run([str(adt), "status"], cwd=root):
|
|
212
|
+
for rel in (
|
|
213
|
+
"docs/discovery/existing-project-analysis.md",
|
|
214
|
+
"docs/discovery/work-completion-status.md",
|
|
215
|
+
):
|
|
216
|
+
out = root / rel
|
|
217
|
+
out.parent.mkdir(parents=True, exist_ok=True)
|
|
218
|
+
out.write_text(f"# {out.stem}\n\nExisting analysis.\n", encoding="utf-8")
|
|
219
|
+
_run([str(adt), "artifact", "register", rel], cwd=root)
|
|
220
|
+
_run([str(adt), "stage", "complete"], cwd=root)
|
|
211
221
|
assert "project_discovery" in _run([str(adt), "continue"], cwd=root)
|
|
212
222
|
discovery_outputs = (
|
|
213
223
|
"docs/discovery/project-overview.md",
|
|
@@ -12,7 +12,6 @@ _AGENTS = (
|
|
|
12
12
|
("main_orchestrator", "Main Orchestrator"),
|
|
13
13
|
("requirements_analyst", "Requirements Analyst"),
|
|
14
14
|
("software_architect", "Software Architect"),
|
|
15
|
-
("ui_ux_designer", "UI/UX Designer"),
|
|
16
15
|
("frontend_developer", "Frontend Developer"),
|
|
17
16
|
("backend_developer", "Backend Developer"),
|
|
18
17
|
("integration_engineer", "Integration Engineer"),
|
|
@@ -31,8 +30,26 @@ read the shared command skill and
|
|
|
31
30
|
`.agentic/execution-contracts.yaml`; do not merely run a lifecycle command and report its output.
|
|
32
31
|
The IDE agent performs reasoning and artifact creation while `adt` persists execution, artifacts,
|
|
33
32
|
validation, approvals, and recovery. Never bypass approval gates or overwrite unrelated changes.
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
|
|
34
|
+
**Existing projects**: Read `docs/discovery/existing-project-analysis.md` and
|
|
35
|
+
`.agentic/reports/existing-project-analysis.md` before proposing any work. Adapt the contract
|
|
36
|
+
to the actual architecture; never impose a guessed folder layout. Detect and follow the real
|
|
37
|
+
tech stack, conventions, Git state, and active ADF artifacts; report discovered defects and
|
|
38
|
+
conflicts instead of silently ignoring them.
|
|
39
|
+
|
|
40
|
+
**Frontend design quality is mandatory**: Before writing any page code, define a complete design
|
|
41
|
+
system (color palette, typography, spacing, motion, breakpoints). Research conventional websites
|
|
42
|
+
and applications similar to the project idea to understand industry design patterns. Build the
|
|
43
|
+
complete production frontend with no disposable prototypes. Supplied references govern presentation
|
|
44
|
+
and must have no unapproved visual deviation. Require explicit frontend approval before backend
|
|
45
|
+
planning or implementation.
|
|
46
|
+
|
|
47
|
+
**Workflow order**: documents → frontend implementation → frontend approval → backend
|
|
48
|
+
implementation → frontend/backend integration → database validation → security testing →
|
|
49
|
+
code review → Docker/CI/CD → final docs → release. Build the backend separately, then connect it
|
|
50
|
+
through the frontend adapter boundary during the API integration stage.
|
|
51
|
+
|
|
52
|
+
A custom `/adf` request may refine current-stage work but cannot skip this order.
|
|
36
53
|
"""
|
|
37
54
|
|
|
38
55
|
_CODEX_NOTE = """# Codex adapter
|
|
@@ -80,7 +97,7 @@ def _workflow() -> str:
|
|
|
80
97
|
"checkpoint_policy": "on_completion",
|
|
81
98
|
}
|
|
82
99
|
)
|
|
83
|
-
return _yaml({"schema_version":
|
|
100
|
+
return _yaml({"schema_version": 5, "name": "default", "stages": stages})
|
|
84
101
|
|
|
85
102
|
|
|
86
103
|
def _registry() -> str:
|
|
@@ -90,35 +107,97 @@ def _registry() -> str:
|
|
|
90
107
|
required_inputs: list[str] = []
|
|
91
108
|
expected_outputs = ["standardized agent result"]
|
|
92
109
|
verification = ["run relevant checks"]
|
|
93
|
-
if agent_id == "
|
|
110
|
+
if agent_id == "frontend_developer":
|
|
111
|
+
responsibilities = [
|
|
112
|
+
"Research comparable production websites and apps to inform design decisions",
|
|
113
|
+
"Define a complete design system (colors, typography, spacing, motion) first",
|
|
114
|
+
"Verify the frontend stack and environment before implementation",
|
|
115
|
+
"Build the complete production frontend before any backend implementation",
|
|
116
|
+
"Match approved references exactly; create a modern, distinctive interface "
|
|
117
|
+
"when no external reference exists",
|
|
118
|
+
"Deliver accessible, responsive, meaningful interactions with no generic "
|
|
119
|
+
"placeholder styling",
|
|
120
|
+
]
|
|
121
|
+
required_inputs = [
|
|
122
|
+
"approved requirements, architecture, and visual references",
|
|
123
|
+
"docs/discovery/existing-project-analysis.md if mode=existing",
|
|
124
|
+
]
|
|
125
|
+
expected_outputs = [
|
|
126
|
+
"docs/frontend/design-research.md",
|
|
127
|
+
"docs/frontend/design-system.md with concrete token values",
|
|
128
|
+
"production frontend source with design system applied",
|
|
129
|
+
"browser verification evidence at desktop, tablet, and mobile",
|
|
130
|
+
]
|
|
131
|
+
verification = [
|
|
132
|
+
"prove environment setup and production build before completion",
|
|
133
|
+
"confirm design system tokens are applied consistently across all pages",
|
|
134
|
+
"compare actual frontend rendering with every approved reference",
|
|
135
|
+
"test pages, states, controls, accessibility, console, and responsive layouts",
|
|
136
|
+
"confirm no hardcoded one-off color, font, or spacing values exist",
|
|
137
|
+
]
|
|
138
|
+
elif agent_id == "backend_developer":
|
|
139
|
+
responsibilities = [
|
|
140
|
+
"Implement backend services from approved API and architecture contracts",
|
|
141
|
+
"Preserve the approved frontend and its adapter boundary",
|
|
142
|
+
"Implement persistence, validation, security, migrations, and failure behavior",
|
|
143
|
+
"Write tests covering all API endpoints, business rules, and error paths",
|
|
144
|
+
]
|
|
145
|
+
required_inputs = ["approved backend plan, architecture, and frontend adapter needs"]
|
|
146
|
+
expected_outputs = ["tested backend implementation and traceability manifest"]
|
|
147
|
+
verification = ["run backend unit, integration, migration, and security checks"]
|
|
148
|
+
elif agent_id == "integration_engineer":
|
|
94
149
|
responsibilities = [
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
150
|
+
"Replace frontend mocks through the documented adapter boundary",
|
|
151
|
+
"Verify API, authentication, validation, and failure-state behavior end to end",
|
|
152
|
+
"Prevent silent visual drift during frontend/backend integration",
|
|
153
|
+
"Confirm all loading, empty, error, and success states render with real data",
|
|
154
|
+
]
|
|
155
|
+
required_inputs = ["approved frontend, verified backend, and API integration plan"]
|
|
156
|
+
expected_outputs = ["API integration report with reproducible evidence"]
|
|
157
|
+
verification = ["run backend, frontend, API, and browser integration checks"]
|
|
158
|
+
elif agent_id == "security_reviewer":
|
|
159
|
+
responsibilities = [
|
|
160
|
+
"Test authentication flows, authorization rules, and session management",
|
|
161
|
+
"Test all inputs for injection, XSS, CSRF, and mass assignment vulnerabilities",
|
|
162
|
+
"Audit secrets management, dependency versions, and HTTP security headers",
|
|
163
|
+
"Document every finding with severity, reproduction steps, and remediation",
|
|
164
|
+
"Re-test critical and high findings after remediation",
|
|
98
165
|
]
|
|
99
166
|
required_inputs = [
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"optional authenticated Figma design context",
|
|
167
|
+
"docs/architecture/security-architecture.md",
|
|
168
|
+
"integrated application source and running environment",
|
|
103
169
|
]
|
|
104
170
|
expected_outputs = [
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"browser verification evidence",
|
|
171
|
+
"docs/reports/security-testing.md",
|
|
172
|
+
"docs/reports/security-remediation.md",
|
|
108
173
|
]
|
|
109
174
|
verification = [
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
175
|
+
"every authentication endpoint is tested",
|
|
176
|
+
"injection testing covers SQL, XSS, and CSRF at minimum",
|
|
177
|
+
"dependency audit is complete with CVE status",
|
|
178
|
+
"no unresolved critical or high findings remain",
|
|
113
179
|
]
|
|
114
|
-
elif agent_id == "
|
|
180
|
+
elif agent_id == "qa_engineer":
|
|
115
181
|
responsibilities = [
|
|
116
|
-
"
|
|
117
|
-
"
|
|
182
|
+
"Execute the approved test plan against the integrated application",
|
|
183
|
+
"Map test results to requirement IDs",
|
|
184
|
+
"Validate the database schema, migrations, indexes, and data integrity",
|
|
185
|
+
"Document failures with reproduction steps",
|
|
186
|
+
]
|
|
187
|
+
required_inputs = [
|
|
188
|
+
"docs/planning/backend-testing-plan.md",
|
|
189
|
+
"docs/requirements/acceptance-criteria.md",
|
|
190
|
+
"integrated application and database",
|
|
191
|
+
]
|
|
192
|
+
expected_outputs = [
|
|
193
|
+
"docs/reports/qa-and-testing.md",
|
|
194
|
+
"docs/reports/database-validation.md",
|
|
195
|
+
]
|
|
196
|
+
verification = [
|
|
197
|
+
"all acceptance criteria are tested and mapped to requirements",
|
|
198
|
+
"migration forward and rollback tests pass",
|
|
199
|
+
"no SQL injection vulnerabilities present",
|
|
118
200
|
]
|
|
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"]
|
|
122
201
|
agents.append(
|
|
123
202
|
{
|
|
124
203
|
"id": agent_id,
|
|
@@ -9,7 +9,7 @@ import typer
|
|
|
9
9
|
|
|
10
10
|
from agentic_framework import __version__
|
|
11
11
|
from agentic_framework.core.command_registry import COMMANDS
|
|
12
|
-
from agentic_framework.core.config import dump_config, load_config
|
|
12
|
+
from agentic_framework.core.config import ProjectMode, ProjectTask, dump_config, load_config
|
|
13
13
|
from agentic_framework.core.custom_commands import create_custom_command, custom_commands
|
|
14
14
|
from agentic_framework.core.initialization import FileStatus, initialize_project
|
|
15
15
|
from agentic_framework.core.workflow import WorkflowService
|
|
@@ -66,11 +66,39 @@ def init_project(
|
|
|
66
66
|
bool,
|
|
67
67
|
typer.Option("--git/--no-git", help="Initialize Git when no repository is detected."),
|
|
68
68
|
] = True,
|
|
69
|
+
mode: Annotated[
|
|
70
|
+
ProjectMode | None,
|
|
71
|
+
typer.Option(
|
|
72
|
+
"--mode",
|
|
73
|
+
help="Project mode: new or existing. Skips the interactive prompt.",
|
|
74
|
+
),
|
|
75
|
+
] = None,
|
|
76
|
+
task: Annotated[
|
|
77
|
+
ProjectTask | None,
|
|
78
|
+
typer.Option(
|
|
79
|
+
"--task",
|
|
80
|
+
help=(
|
|
81
|
+
"Session task for existing projects: "
|
|
82
|
+
"full_workflow, security_audit, bug_hunt, ui_redesign, "
|
|
83
|
+
"specific_issue, or add_feature."
|
|
84
|
+
),
|
|
85
|
+
),
|
|
86
|
+
] = None,
|
|
69
87
|
) -> None:
|
|
70
|
-
"""Safely initialize ADF in a new or existing project.
|
|
88
|
+
"""Safely initialize ADF in a new or existing project.
|
|
89
|
+
|
|
90
|
+
For existing projects, ADF detects completed domains (frontend, backend,
|
|
91
|
+
database, auth, CI) and writes an analysis scaffold that the IDE agent
|
|
92
|
+
fills in during the existing_project_analysis stage.
|
|
93
|
+
"""
|
|
71
94
|
|
|
72
95
|
try:
|
|
73
|
-
result = initialize_project(
|
|
96
|
+
result = initialize_project(
|
|
97
|
+
path,
|
|
98
|
+
initialize_git=initialize_git,
|
|
99
|
+
mode_override=mode,
|
|
100
|
+
task_override=task,
|
|
101
|
+
)
|
|
74
102
|
except InitializationError as exc:
|
|
75
103
|
typer.echo(f"Error: {exc}", err=True)
|
|
76
104
|
raise typer.Exit(code=2) from exc
|
|
@@ -78,6 +106,8 @@ def init_project(
|
|
|
78
106
|
created = sum(item.status is FileStatus.CREATED for item in result.files)
|
|
79
107
|
typer.echo(f"Initialized {result.inspection.root}")
|
|
80
108
|
typer.echo(f"Project mode: {result.mode.value}")
|
|
109
|
+
typer.echo(f"Session task: {result.task.value}")
|
|
110
|
+
typer.echo(f"Completed domains: {result.inspection.domain_status.summary}")
|
|
81
111
|
typer.echo(f"Created files: {created}")
|
|
82
112
|
typer.echo(f"Conflicts: {len(result.conflicts)}")
|
|
83
113
|
typer.echo("Report: .agentic/reports/initialization.md")
|
|
@@ -26,6 +26,17 @@ class ProjectMode(StrEnum):
|
|
|
26
26
|
EXISTING = "existing"
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
class ProjectTask(StrEnum):
|
|
30
|
+
"""The primary task the user wants to perform in this session."""
|
|
31
|
+
|
|
32
|
+
FULL_WORKFLOW = "full_workflow"
|
|
33
|
+
SECURITY_AUDIT = "security_audit"
|
|
34
|
+
BUG_HUNT = "bug_hunt"
|
|
35
|
+
UI_REDESIGN = "ui_redesign"
|
|
36
|
+
SPECIFIC_ISSUE = "specific_issue"
|
|
37
|
+
ADD_FEATURE = "add_feature"
|
|
38
|
+
|
|
39
|
+
|
|
29
40
|
class IdeKind(StrEnum):
|
|
30
41
|
"""IDE harnesses known to the initial product specification."""
|
|
31
42
|
|
|
@@ -49,6 +60,7 @@ class ProjectConfig(StrictModel):
|
|
|
49
60
|
|
|
50
61
|
name: str | None = Field(default=None, min_length=1, max_length=100)
|
|
51
62
|
mode: ProjectMode = ProjectMode.AUTO
|
|
63
|
+
task: ProjectTask = ProjectTask.FULL_WORKFLOW
|
|
52
64
|
|
|
53
65
|
@field_validator("name")
|
|
54
66
|
@classmethod
|