agentic-development-framework 0.1.0__tar.gz → 0.3.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 (70) hide show
  1. agentic_development_framework-0.3.0/CHANGELOG.md +68 -0
  2. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/PKG-INFO +62 -5
  3. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/README.md +61 -4
  4. agentic_development_framework-0.3.0/docs/ANTIGRAVITY_SETUP.md +58 -0
  5. agentic_development_framework-0.3.0/docs/APPROVALS_AND_REVISIONS.md +29 -0
  6. agentic_development_framework-0.3.0/docs/COMMAND_REFERENCE.md +40 -0
  7. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/docs/IMPLEMENTATION_PROGRESS.md +36 -6
  8. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/docs/PYPI_RELEASE.md +3 -3
  9. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/docs/REQUIREMENTS_MANAGEMENT.md +13 -0
  10. agentic_development_framework-0.3.0/docs/STAGE_EXECUTION.md +39 -0
  11. agentic_development_framework-0.3.0/docs/UI_UX_WORKFLOW.md +81 -0
  12. agentic_development_framework-0.3.0/docs/WORKFLOW_ARCHITECTURE.md +45 -0
  13. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/scripts/release_acceptance.py +65 -6
  14. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/__init__.py +1 -1
  15. agentic_development_framework-0.3.0/src/agentic_framework/adapters/generator.py +261 -0
  16. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/cli.py +191 -5
  17. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/core/command_registry.py +3 -3
  18. agentic_development_framework-0.3.0/src/agentic_framework/core/custom_commands.py +119 -0
  19. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/core/initialization.py +36 -5
  20. agentic_development_framework-0.3.0/src/agentic_framework/core/stages.py +426 -0
  21. agentic_development_framework-0.3.0/src/agentic_framework/core/workflow.py +391 -0
  22. agentic_development_framework-0.3.0/src/agentic_framework/requirements_manager/__init__.py +23 -0
  23. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/requirements_manager/ingestion.py +2 -0
  24. agentic_development_framework-0.3.0/src/agentic_framework/requirements_manager/screenshots.py +435 -0
  25. agentic_development_framework-0.3.0/src/agentic_framework/state/database.py +453 -0
  26. agentic_development_framework-0.3.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +58 -0
  27. agentic_development_framework-0.3.0/tests/acceptance/test_commands_cli.py +177 -0
  28. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/acceptance/test_init_cli.py +1 -1
  29. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/acceptance/test_requirements_cli.py +23 -0
  30. agentic_development_framework-0.3.0/tests/integration/test_stage_execution.py +297 -0
  31. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/integration/test_workflow_recovery.py +11 -7
  32. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_adapters.py +21 -2
  33. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_cli.py +1 -1
  34. agentic_development_framework-0.3.0/tests/unit/test_custom_commands.py +50 -0
  35. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_initialization.py +4 -0
  36. agentic_development_framework-0.3.0/tests/unit/test_screenshots.py +208 -0
  37. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_state.py +17 -3
  38. agentic_development_framework-0.1.0/CHANGELOG.md +0 -28
  39. agentic_development_framework-0.1.0/src/agentic_framework/adapters/generator.py +0 -139
  40. agentic_development_framework-0.1.0/src/agentic_framework/core/workflow.py +0 -94
  41. agentic_development_framework-0.1.0/src/agentic_framework/requirements_manager/__init__.py +0 -8
  42. agentic_development_framework-0.1.0/src/agentic_framework/state/database.py +0 -231
  43. agentic_development_framework-0.1.0/src/agentic_framework/templates/skills/agentic-commands/SKILL.md +0 -22
  44. agentic_development_framework-0.1.0/tests/acceptance/test_commands_cli.py +0 -56
  45. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/.gitignore +0 -0
  46. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/LICENSE +0 -0
  47. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/docs/ACCEPTANCE_REPORT.md +0 -0
  48. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/docs/IMPLEMENTATION_PLAN.md +0 -0
  49. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/pyproject.toml +0 -0
  50. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/scripts/installed_distribution_tests.py +0 -0
  51. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/__main__.py +0 -0
  52. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/adapters/__init__.py +0 -0
  53. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/core/__init__.py +0 -0
  54. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/core/config.py +0 -0
  55. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/core/project.py +0 -0
  56. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/exceptions.py +0 -0
  57. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/logging.py +0 -0
  58. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/requirements_manager/comparison.py +0 -0
  59. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/requirements_manager/extraction.py +0 -0
  60. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/requirements_manager/traceability.py +0 -0
  61. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/state/__init__.py +0 -0
  62. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/src/agentic_framework/templates/__init__.py +0 -0
  63. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/integration/test_requirements_ingestion.py +0 -0
  64. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_comparison.py +0 -0
  65. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_config.py +0 -0
  66. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_extraction.py +0 -0
  67. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_logging.py +0 -0
  68. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_package_resources.py +0 -0
  69. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_project.py +0 -0
  70. {agentic_development_framework-0.1.0 → agentic_development_framework-0.3.0}/tests/unit/test_traceability.py +0 -0
@@ -0,0 +1,68 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## Unreleased
6
+
7
+ ## 0.3.0 - 2026-11-03
8
+
9
+ ### Added
10
+
11
+ - Recursive PNG/JPG/JPEG/WEBP screenshot-reference discovery with dimensions, contextual hints,
12
+ immutable byte-preserving revisions, tamper detection, and generated analysis inventory.
13
+ - `adt requirements screenshots` plus automatic screenshot synchronization during requirements
14
+ ingestion and UI/UX stage preparation.
15
+ - Structured design-input and browser-verification evidence gates, versioned prototypes, and
16
+ frontend design-reference traceability.
17
+
18
+ ### Changed
19
+
20
+ - The existing UI/UX stages now treat the interactive prototype as the final visual source of
21
+ truth, support Figma MCP, generated, and screenshot inputs together, and require desktop,
22
+ tablet, mobile, interaction, revision, and explicit human-approval evidence.
23
+
24
+ ## 0.2.0 - 2026-11-02
25
+
26
+ ### Added
27
+
28
+ - Machine-readable IDE-agent stage execution contracts for all nineteen workflow stages.
29
+ - Persistent execution attempts, current tasks, blockers, errors, and explicit stage-completion
30
+ commands.
31
+ - SHA-256 artifact validation, mandatory approval gates, revision feedback, and preserved review
32
+ snapshots.
33
+ - Additive runtime schema migration plus Antigravity execution and recovery documentation.
34
+ - Command-named Antigravity workspace skills so `/continue` invokes IDE-agent execution rather
35
+ than relying on rule interpretation alone.
36
+ - State-aware `/adf` requests, `/adf-resume`, and safe project-specific slash-command generation.
37
+
38
+ ### Changed
39
+
40
+ - `adt continue` now prepares or resumes the current stage and cannot silently advance it.
41
+ - Project initialization completes its own stage and leaves project discovery pending for the IDE
42
+ agent.
43
+ - Clean-install acceptance now validates generated Antigravity command skills and stage execution.
44
+
45
+ ## 0.1.0 - 2026-11-02
46
+
47
+ ### Added
48
+
49
+ - Initial package and CLI foundation.
50
+ - Validated YAML configuration models.
51
+ - Console logging and structured JSONL event logging.
52
+ - Phase 1 unit tests and project documentation.
53
+ - Safe, idempotent project initialization for new and existing repositories.
54
+ - Project, Git, technology, and package-manager discovery.
55
+ - Conflict proposals and human-readable initialization reports.
56
+ - Atomic, hash-verified requirements ingestion with immutable source versions.
57
+ - Requirement-ID traceability, duplicate detection, version comparison, and impact reports.
58
+ - Requirements management unit, integration, and acceptance coverage.
59
+ - SQLite runtime state, JSON snapshots, events, integrity-checked checkpoints, and recovery.
60
+ - Central lifecycle command registry with CLI and chat-command mappings.
61
+ - Canonical workflow, policy, and eleven-agent registry generation.
62
+ - Documented Codex skill/instructions and Antigravity rule generation.
63
+ - Wheel-installed Django + React release acceptance harness.
64
+ - Single-source package versioning and explicit wheel/source-distribution content rules.
65
+ - Installed-distribution resource and full-suite regression tests.
66
+ - Python 3.11–3.13 CI plus tag-only PyPI OIDC Trusted Publishing.
67
+ - Maintainer checklist for building, inspecting, testing, and publishing releases.
68
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-development-framework
3
- Version: 0.1.0
3
+ Version: 0.3.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
@@ -38,7 +38,8 @@ human-controlled software development workflows driven through IDE coding agents
38
38
  The project is being delivered incrementally. The current implementation provides the
39
39
  installable package, strict configuration validation, structured logging, safe project
40
40
  initialization, immutable requirements versioning, SQLite workflow state, recovery checkpoints,
41
- lifecycle commands, and Codex/Antigravity project configuration.
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
43
 
43
44
  ## Requirements
44
45
 
@@ -73,16 +74,25 @@ adt --version
73
74
  adt init
74
75
  adt config validate path/to/config.yaml
75
76
  adt requirements ingest
77
+ adt requirements screenshots
76
78
  adt start
77
79
  adt status
78
80
  adt pause
79
81
  adt resume
80
82
  adt continue
83
+ adt stage show
84
+ adt stage task "custom stage-scoped task"
85
+ adt artifact register docs/discovery/project-overview.md
86
+ adt artifact list
87
+ adt stage complete
88
+ adt stage fail --blocked "Clarification required"
81
89
  adt stop
82
90
  adt review
83
91
  adt approve requirements_review
84
92
  adt revise requirements_review "Clarify the acceptance criteria"
85
93
  adt tasks
94
+ adt command create verify-api "Run the current-stage API checks"
95
+ adt command list
86
96
  ```
87
97
 
88
98
  The validation command prints the normalized configuration as YAML and exits with code 2
@@ -128,22 +138,69 @@ clear unsupported-extraction status. Optional binary-format extractors are futur
128
138
 
129
139
  See `docs/REQUIREMENTS_MANAGEMENT.md` for the file contract and safety behavior.
130
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
+ ## UI/UX final visual workflow
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.
154
+
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
157
+ [`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
158
+
131
159
  ## Runtime state and recovery
132
160
 
133
161
  Initialization creates `.agentic/database/agentic.db` as the transactional source of truth,
134
162
  inspection snapshots under `.agentic/state/`, a JSONL event history, and checkpoint storage.
135
163
  Pause and stop persist checkpoints. Resume verifies checkpoint integrity and restores the
136
164
  checkpoint stage instead of trusting potentially inconsistent conversational context or snapshot
137
- files. Mandatory workflow approval stages cannot advance until approval is recorded.
165
+ files. Execution status, current task, attempts, errors, blockers, registered artifact hashes,
166
+ approvals, and revisions survive IDE and computer restarts. Mandatory workflow approval stages
167
+ cannot advance until approval is recorded.
168
+
169
+ `adt start` and `adt continue` prepare the current stage; they do not pretend that an AI task was
170
+ completed and never silently skip deliverables. The IDE agent performs reasoning and file changes
171
+ using `.agentic/execution-contracts.yaml`. It registers each output with `adt artifact register`,
172
+ then uses `adt stage complete` to validate and advance. Review stages stop at
173
+ `awaiting_approval` until an explicit `adt approve` or `adt revise` operation. See
174
+ [`docs/WORKFLOW_ARCHITECTURE.md`](docs/WORKFLOW_ARCHITECTURE.md),
175
+ [`docs/COMMAND_REFERENCE.md`](docs/COMMAND_REFERENCE.md), and
176
+ [`docs/STAGE_EXECUTION.md`](docs/STAGE_EXECUTION.md).
138
177
 
139
178
  ## IDE configuration
140
179
 
141
- ADF generates root `AGENTS.md`, a shared command skill under
142
- `.agents/skills/agentic-commands/`, and Antigravity rules under `.agents/rules/`. The Codex adapter
180
+ ADF generates root `AGENTS.md`, command-named Antigravity skills under `.agents/skills/`, a shared
181
+ execution protocol under `.agents/skills/agentic-commands/`, and rules under `.agents/rules/`.
182
+ Antigravity indexes each skill as `/<skill-name>`, so `/continue` invokes the generated `continue`
183
+ skill and causes the IDE agent—not the terminal process—to execute the current stage. The Codex adapter
143
184
  uses the documented root instructions and repository-local skill surfaces. The `.codex/agents/`
144
185
  directory contains an informational compatibility note; ADF does not claim an undocumented
145
186
  custom-agent file format is automatically discovered.
146
187
 
188
+ After `adt init` and `adt requirements ingest`, open the project root in Antigravity and type
189
+ `/continue`. Generated rules instruct the agent to load the current contract, perform project
190
+ discovery, create and register its four discovery documents, and persist a blocker instead of
191
+ fabricating missing answers. See [`docs/ANTIGRAVITY_SETUP.md`](docs/ANTIGRAVITY_SETUP.md) and
192
+ [`docs/APPROVALS_AND_REVISIONS.md`](docs/APPROVALS_AND_REVISIONS.md).
193
+
194
+ Use `/adf <request>` for an ad hoc request that must remain bound to the current stage and status.
195
+ To register a reusable project-specific slash command, run `adt command create NAME
196
+ "INSTRUCTIONS"`; `/NAME` then performs the same persisted-state and contract preflight. Because
197
+ Antigravity reserves `/resume` for its conversation feature, ADF checkpoint recovery is exposed as
198
+ `/adf-resume`.
199
+
200
+ For projects initialized by an earlier ADF version, upgrade the package and rerun `adt init`.
201
+ SQLite schema migration is automatic and additive. New managed files are created, while conflicts
202
+ with customized guidance are preserved as `.agentic/proposals/**/*.proposed` for manual review.
203
+
147
204
  ## Configuration
148
205
 
149
206
  ADF configuration uses YAML and rejects unknown keys to catch mistakes early:
@@ -6,7 +6,8 @@ human-controlled software development workflows driven through IDE coding agents
6
6
  The project is being delivered incrementally. The current implementation provides the
7
7
  installable package, strict configuration validation, structured logging, safe project
8
8
  initialization, immutable requirements versioning, SQLite workflow state, recovery checkpoints,
9
- lifecycle commands, and Codex/Antigravity project configuration.
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
11
 
11
12
  ## Requirements
12
13
 
@@ -41,16 +42,25 @@ adt --version
41
42
  adt init
42
43
  adt config validate path/to/config.yaml
43
44
  adt requirements ingest
45
+ adt requirements screenshots
44
46
  adt start
45
47
  adt status
46
48
  adt pause
47
49
  adt resume
48
50
  adt continue
51
+ adt stage show
52
+ adt stage task "custom stage-scoped task"
53
+ adt artifact register docs/discovery/project-overview.md
54
+ adt artifact list
55
+ adt stage complete
56
+ adt stage fail --blocked "Clarification required"
49
57
  adt stop
50
58
  adt review
51
59
  adt approve requirements_review
52
60
  adt revise requirements_review "Clarify the acceptance criteria"
53
61
  adt tasks
62
+ adt command create verify-api "Run the current-stage API checks"
63
+ adt command list
54
64
  ```
55
65
 
56
66
  The validation command prints the normalized configuration as YAML and exits with code 2
@@ -96,22 +106,69 @@ clear unsupported-extraction status. Optional binary-format extractors are futur
96
106
 
97
107
  See `docs/REQUIREMENTS_MANAGEMENT.md` for the file contract and safety behavior.
98
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
+ ## UI/UX final visual workflow
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.
122
+
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
125
+ [`docs/UI_UX_WORKFLOW.md`](docs/UI_UX_WORKFLOW.md).
126
+
99
127
  ## Runtime state and recovery
100
128
 
101
129
  Initialization creates `.agentic/database/agentic.db` as the transactional source of truth,
102
130
  inspection snapshots under `.agentic/state/`, a JSONL event history, and checkpoint storage.
103
131
  Pause and stop persist checkpoints. Resume verifies checkpoint integrity and restores the
104
132
  checkpoint stage instead of trusting potentially inconsistent conversational context or snapshot
105
- files. Mandatory workflow approval stages cannot advance until approval is recorded.
133
+ files. Execution status, current task, attempts, errors, blockers, registered artifact hashes,
134
+ approvals, and revisions survive IDE and computer restarts. Mandatory workflow approval stages
135
+ cannot advance until approval is recorded.
136
+
137
+ `adt start` and `adt continue` prepare the current stage; they do not pretend that an AI task was
138
+ completed and never silently skip deliverables. The IDE agent performs reasoning and file changes
139
+ using `.agentic/execution-contracts.yaml`. It registers each output with `adt artifact register`,
140
+ then uses `adt stage complete` to validate and advance. Review stages stop at
141
+ `awaiting_approval` until an explicit `adt approve` or `adt revise` operation. See
142
+ [`docs/WORKFLOW_ARCHITECTURE.md`](docs/WORKFLOW_ARCHITECTURE.md),
143
+ [`docs/COMMAND_REFERENCE.md`](docs/COMMAND_REFERENCE.md), and
144
+ [`docs/STAGE_EXECUTION.md`](docs/STAGE_EXECUTION.md).
106
145
 
107
146
  ## IDE configuration
108
147
 
109
- ADF generates root `AGENTS.md`, a shared command skill under
110
- `.agents/skills/agentic-commands/`, and Antigravity rules under `.agents/rules/`. The Codex adapter
148
+ ADF generates root `AGENTS.md`, command-named Antigravity skills under `.agents/skills/`, a shared
149
+ execution protocol under `.agents/skills/agentic-commands/`, and rules under `.agents/rules/`.
150
+ Antigravity indexes each skill as `/<skill-name>`, so `/continue` invokes the generated `continue`
151
+ skill and causes the IDE agent—not the terminal process—to execute the current stage. The Codex adapter
111
152
  uses the documented root instructions and repository-local skill surfaces. The `.codex/agents/`
112
153
  directory contains an informational compatibility note; ADF does not claim an undocumented
113
154
  custom-agent file format is automatically discovered.
114
155
 
156
+ After `adt init` and `adt requirements ingest`, open the project root in Antigravity and type
157
+ `/continue`. Generated rules instruct the agent to load the current contract, perform project
158
+ discovery, create and register its four discovery documents, and persist a blocker instead of
159
+ fabricating missing answers. See [`docs/ANTIGRAVITY_SETUP.md`](docs/ANTIGRAVITY_SETUP.md) and
160
+ [`docs/APPROVALS_AND_REVISIONS.md`](docs/APPROVALS_AND_REVISIONS.md).
161
+
162
+ Use `/adf <request>` for an ad hoc request that must remain bound to the current stage and status.
163
+ To register a reusable project-specific slash command, run `adt command create NAME
164
+ "INSTRUCTIONS"`; `/NAME` then performs the same persisted-state and contract preflight. Because
165
+ Antigravity reserves `/resume` for its conversation feature, ADF checkpoint recovery is exposed as
166
+ `/adf-resume`.
167
+
168
+ For projects initialized by an earlier ADF version, upgrade the package and rerun `adt init`.
169
+ SQLite schema migration is automatic and additive. New managed files are created, while conflicts
170
+ with customized guidance are preserved as `.agentic/proposals/**/*.proposed` for manual review.
171
+
115
172
  ## Configuration
116
173
 
117
174
  ADF configuration uses YAML and rejects unknown keys to catch mistakes early:
@@ -0,0 +1,58 @@
1
+ # Antigravity setup
2
+
3
+ Run these commands in the target project:
4
+
5
+ ```bash
6
+ adt init
7
+ adt requirements ingest
8
+ ```
9
+
10
+ Then open the project root in Antigravity. ADF generates:
11
+
12
+ - root `AGENTS.md` project guidance;
13
+ - `.agents/rules/adf.md` command interpretation rules;
14
+ - `.agents/skills/<command>/SKILL.md` files that register commands such as `/continue`;
15
+ - `.agents/skills/agentic-commands/SKILL.md` with the shared execution loop;
16
+ - `.agents/skills/adf/SKILL.md` for state-aware custom requests;
17
+ - `.agents/skills/adf-resume/SKILL.md` for ADF checkpoint recovery; and
18
+ - `.agentic/execution-contracts.yaml` with stage-specific responsibilities and outputs.
19
+
20
+ Start a new conversation and type `/continue`. Antigravity should interpret it as an ADF request,
21
+ run `adt start` when the workflow is not active or `adt continue` when it is active, execute the
22
+ reported stage, and persist its artifacts. ADF does not install a proprietary slash-command
23
+ extension. Modern Antigravity directly indexes workspace skills and invokes a skill named
24
+ `continue` as `/continue`. Legacy `.agents/workflows/` files are intentionally not generated,
25
+ because Antigravity stopped indexing them on October 19, 2026.
26
+
27
+ Running `adt continue` in an ordinary terminal does **not** call the Antigravity model. It only
28
+ prepares and persists the current stage. Invoking `/continue` in Antigravity loads the generated
29
+ skill, so the IDE agent calls the CLI, reads the contract, reasons about the project, writes and
30
+ registers artifacts, and completes or blocks the stage.
31
+
32
+ For an ad hoc request tied to durable state, type `/adf <request>`. To add a reusable custom slash
33
+ command:
34
+
35
+ ```bash
36
+ adt command create verify-api "Run API verification relevant to the current stage"
37
+ ```
38
+
39
+ Antigravity then exposes `/verify-api`. The wrapper always reads status and the current contract,
40
+ persists its task with `adt stage task`, and refuses to skip prerequisites or approval gates.
41
+ Existing skill files are preserved and cannot be overwritten by this command.
42
+
43
+ Antigravity already owns `/resume` for conversation recovery. Use `/adf-resume` when you mean ADF
44
+ checkpoint recovery.
45
+
46
+ If the agent only prints CLI state, ask it to re-read the generated `agentic-commands` skill and
47
+ execution contract. Confirm the installed framework version contains the current skill, then rerun
48
+ `adt init`. Existing customized generated files are never overwritten; inspect corresponding
49
+ `.agentic/proposals/**/*.proposed` files and merge the update deliberately.
50
+
51
+ After creating or upgrading skills, reopen the project or start a new Antigravity chat if the
52
+ slash-command autocomplete has not refreshed.
53
+
54
+ Use `adt status`, `adt artifact list`, and `adt stage show` to verify durable state independently of
55
+ the IDE conversation.
56
+
57
+ References: [Antigravity workflows-to-skills migration](https://antigravity.google/docs/migration/workflows-to-skills/)
58
+ and [Antigravity workflow documentation](https://antigravity.google/docs/ide/workflows/).
@@ -0,0 +1,29 @@
1
+ # Approvals and revisions
2
+
3
+ Requirements, architecture, design, and release review are mandatory human approval gates.
4
+ Creating documents does not approve them.
5
+
6
+ When `adt stage complete` validates a review stage, its execution becomes `awaiting_approval` and
7
+ the workflow remains on that stage. Use `adt review` to inspect registered deliverables. Only an
8
+ explicit `adt approve STAGE` records approval and advances.
9
+
10
+ To request changes:
11
+
12
+ ```bash
13
+ adt revise requirements_review "Clarify administrator permissions and acceptance criteria"
14
+ ```
15
+
16
+ ADF copies the submitted registered artifacts to
17
+ `.agentic/revisions/STAGE/revision-N/`, records the feedback and snapshot path in SQLite, and
18
+ returns the same stage to `in_progress`. The IDE agent updates only affected working documents,
19
+ registers their new hashes, revalidates all deliverables, and runs `adt stage complete` again.
20
+ Approval is requested again; revision feedback never implies approval.
21
+
22
+ Revision snapshots, artifact metadata revisions, approval state, event history, and checkpoints
23
+ survive process and IDE restarts. The normal project documents remain the editable working copy;
24
+ the snapshot is the immutable review-history evidence.
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.
@@ -0,0 +1,40 @@
1
+ # Command reference
2
+
3
+ Commands are available as CLI operations. Antigravity discovers workspace skills at
4
+ `.agents/skills/<name>/SKILL.md` and exposes them as `/<name>`. ADF generates command-named skills
5
+ that delegate to the shared `agentic-commands` execution protocol.
6
+
7
+ | IDE request | CLI operation | Contract |
8
+ |---|---|---|
9
+ | `/start` | `adt start` | Activate and prepare the first pending stage; the IDE agent then executes it. |
10
+ | `/continue` | `adt continue` | Prepare or resume the current stage; never silently advance. |
11
+ | `/status` | `adt status` | Show workflow stage, execution state, current task, attempts, approval, artifacts, errors, and blockers. |
12
+ | `/pause` | `adt pause` | Pause and create a checkpoint. |
13
+ | `/adf-resume` | `adt resume`, then `adt continue` | Validate the latest checkpoint, restore its stage, and continue IDE-agent execution. Antigravity owns the built-in `/resume`. |
14
+ | `/stop` | `adt stop` | Stop and checkpoint without deleting progress. |
15
+ | `/review` | `adt review` | List pending/revision-requested gates and registered deliverables. |
16
+ | `/approve STAGE` | `adt approve STAGE` | Explicitly approve the current waiting gate and advance. |
17
+ | `/revise STAGE FEEDBACK` | `adt revise STAGE FEEDBACK` | Preserve the submitted version, store feedback, and reopen the same stage. |
18
+ | `/help` | `adt help` | Explain framework commands. |
19
+
20
+ Execution support commands:
21
+
22
+ ```bash
23
+ adt stage show
24
+ adt stage task "custom stage-scoped request"
25
+ adt artifact register docs/discovery/project-overview.md
26
+ adt artifact list
27
+ adt stage complete
28
+ adt stage fail "test command failed"
29
+ adt stage fail --blocked "Product owner must answer the retention question"
30
+ adt command create verify-api "Run API verification relevant to the current stage"
31
+ adt command list
32
+ ```
33
+
34
+ `adt stage complete` is the normal advancement operation. It fails when required outputs are
35
+ missing, empty, unregistered, or changed after registration. Re-register a changed file before
36
+ retrying completion.
37
+
38
+ `/adf <request>` is the generic state-aware entry point. A command created with `adt command create`
39
+ also performs status and contract preflight, persists its current task, and cannot bypass stage
40
+ prerequisites, policy, validation, or approvals.
@@ -69,7 +69,7 @@ future SQLite runtime and command registry.
69
69
 
70
70
  ## Phase 3 — Runtime and persistence
71
71
 
72
- Status: core acceptance scope complete (2026-11-02)
72
+ Status: persistent execution scope complete (2026-11-02)
73
73
 
74
74
  - [x] SQLite schema and idempotent initialization
75
75
  - [x] Persistent workflow, task, approval, checkpoint, and event tables
@@ -77,23 +77,32 @@ Status: core acceptance scope complete (2026-11-02)
77
77
  - [x] JSONL event history
78
78
  - [x] Integrity-checked pause/stop checkpoints
79
79
  - [x] Cross-process recovery from the verified checkpoint stage
80
+ - [x] Additive schema-v2 migration for existing initialized projects
81
+ - [x] Persistent stage status, current task, attempts, blockers, and errors
82
+ - [x] SHA-256 artifact registration and metadata revisions
83
+ - [x] Approval feedback and immutable submitted-revision snapshots
80
84
 
81
85
  ## Phase 4 — Command system
82
86
 
83
- Status: lifecycle acceptance scope complete (2026-11-02)
87
+ Status: execution-aware lifecycle scope complete (2026-11-02)
84
88
 
85
89
  - [x] Central command registry
86
90
  - [x] Start, status, pause, resume, continue, stop, and help
87
91
  - [x] Review, approve, revise, requirements, and tasks
88
92
  - [x] Expected failures return actionable errors without tracebacks
93
+ - [x] Continue prepares/resumes the current stage without silently advancing
94
+ - [x] Stage contract inspection, artifact registration/listing, completion, failure, and blockers
89
95
 
90
96
  ## Phase 6 — Agent and workflow system
91
97
 
92
- Status: configuration foundation complete; execution remains incomplete
98
+ Status: IDE-agent execution contract complete; specialist delegation remains incremental
93
99
 
94
100
  - [x] Canonical configurable lifecycle with approval metadata
95
101
  - [x] Eleven canonical agent definitions and safety fields
96
102
  - [x] Approval-gate enforcement
103
+ - [x] Structured execution contracts for all nineteen lifecycle stages
104
+ - [x] Deliverable presence, non-empty content, and registered-hash validation
105
+ - [x] Discovery, requirements, architecture, design, planning, delivery, and release outputs
97
106
  - [ ] Task dependencies and genuine sequential specialist execution
98
107
 
99
108
  ## Phase 7 — IDE adapters
@@ -104,6 +113,10 @@ Status: Codex and Antigravity acceptance scope complete; VS Code remains incompl
104
113
  - [x] Validated repository-local Codex command skill
105
114
  - [x] Antigravity rules and shared skill
106
115
  - [x] Explicit documentation of unsupported/undocumented custom-agent discovery
116
+ - [x] Real command-named Antigravity skills for `/start`, `/continue`, status, and review actions
117
+ - [x] `/adf-resume` recovery command that avoids Antigravity's built-in `/resume` collision
118
+ - [x] State-aware `/adf <request>` and safe custom slash-command generation
119
+ - [x] Antigravity setup, command, stage execution, approval, and migration documentation
107
120
  - [ ] VS Code agent-environment generation and validation
108
121
 
109
122
  ## Release acceptance review
@@ -125,7 +138,24 @@ Status: PyPI 0.1.0 release gates passed (2026-11-02)
125
138
 
126
139
  ## Remaining phases
127
140
 
128
- Phase 8, Phase 9, the VS Code portion of Phase 7, and the execution portion of Phase 6 remain on
129
- the broader framework roadmap. They are not represented as implemented in the 0.1.0 alpha release;
130
- their scope and dependencies are documented in `docs/IMPLEMENTATION_PLAN.md`.
141
+ Phase 8, broader Phase 9 integrations, the VS Code portion of Phase 7, and native AI-provider
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 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
131
161
 
@@ -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.1.0 -m "Release 0.1.0"
88
- git push origin v0.1.0
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.1.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.
@@ -0,0 +1,39 @@
1
+ # Stage execution guide
2
+
3
+ Every initialized project receives `.agentic/execution-contracts.yaml`. Each contract contains a
4
+ stage ID and name, objective, prerequisites, required inputs, specialist role, responsibilities,
5
+ instructions, expected outputs, validation criteria, completion conditions, approval requirement,
6
+ failure behavior, and retry limit.
7
+
8
+ ## IDE-agent loop
9
+
10
+ For `/start`, `/continue`, and `/adf-resume`, the agent must:
11
+
12
+ 1. inspect `adt status` and prepare the current stage;
13
+ 2. select that stage from `.agentic/execution-contracts.yaml`;
14
+ 3. read all available required inputs and relevant source;
15
+ 4. perform the responsibilities without fabricating missing facts;
16
+ 5. ask questions and persist an actionable blocker when material information is absent;
17
+ 6. create every expected output and run its validation criteria;
18
+ 7. register every output's current bytes;
19
+ 8. complete the stage, or record a failure/blocker; and
20
+ 9. summarize artifacts, checks, state, and next user action.
21
+
22
+ Project discovery produces:
23
+
24
+ - `docs/discovery/project-overview.md`
25
+ - `docs/discovery/stakeholder-analysis.md`
26
+ - `docs/discovery/clarification-log.md`
27
+ - `docs/discovery/assumptions-and-risks.md`
28
+
29
+ Facts, assumptions, risks, and open questions must remain distinct. Missing product decisions go
30
+ into the clarification log; the agent must not invent answers. Requirements stages then create
31
+ stable IDs, acceptance criteria, traceability, and the SRS before the requirements approval gate.
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.