ai-forge-cli 2.0.3__tar.gz → 2.1.2__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 (78) hide show
  1. ai_forge_cli-2.1.2/PKG-INFO +171 -0
  2. ai_forge_cli-2.1.2/README.md +156 -0
  3. ai_forge_cli-2.1.2/pyproject.toml +63 -0
  4. ai_forge_cli-2.1.2/src/ai_forge_cli.egg-info/PKG-INFO +171 -0
  5. ai_forge_cli-2.1.2/src/ai_forge_cli.egg-info/SOURCES.txt +22 -0
  6. ai_forge_cli-2.1.2/src/ai_forge_cli.egg-info/requires.txt +9 -0
  7. ai_forge_cli-2.1.2/src/cli/__init__.py +3 -0
  8. ai_forge_cli-2.1.2/src/cli/assets/audit_template.html +1661 -0
  9. ai_forge_cli-2.1.2/src/cli/assets/forge_full_logo.drawio.svg +4 -0
  10. ai_forge_cli-2.1.2/src/cli/assets/forge_white_small.drawio.svg +4 -0
  11. ai_forge_cli-2.1.2/src/cli/commands/__init__.py +5 -0
  12. ai_forge_cli-2.1.2/src/cli/commands/audit.py +1133 -0
  13. ai_forge_cli-2.1.2/src/cli/commands/base.py +12 -0
  14. ai_forge_cli-2.1.2/src/cli/commands/context.py +537 -0
  15. ai_forge_cli-2.1.2/src/cli/commands/init.py +441 -0
  16. ai_forge_cli-2.1.2/src/cli/common.py +22 -0
  17. ai_forge_cli-2.1.2/src/cli/forge.py +29 -0
  18. ai_forge_cli-2.1.2/src/cli/schema.py +316 -0
  19. ai_forge_cli-2.1.2/tests/test_context.py +206 -0
  20. ai_forge_cli-2.0.3/LICENSE +0 -21
  21. ai_forge_cli-2.0.3/PKG-INFO +0 -8
  22. ai_forge_cli-2.0.3/README.md +0 -269
  23. ai_forge_cli-2.0.3/pyproject.toml +0 -24
  24. ai_forge_cli-2.0.3/src/ai_forge_cli.egg-info/PKG-INFO +0 -8
  25. ai_forge_cli-2.0.3/src/ai_forge_cli.egg-info/SOURCES.txt +0 -57
  26. ai_forge_cli-2.0.3/src/ai_forge_cli.egg-info/requires.txt +0 -1
  27. ai_forge_cli-2.0.3/src/cli/__init__.py +0 -2
  28. ai_forge_cli-2.0.3/src/cli/bundle.py +0 -104
  29. ai_forge_cli-2.0.3/src/cli/commands/__init__.py +0 -32
  30. ai_forge_cli-2.0.3/src/cli/commands/base.py +0 -26
  31. ai_forge_cli-2.0.3/src/cli/commands/context.py +0 -65
  32. ai_forge_cli-2.0.3/src/cli/commands/find.py +0 -121
  33. ai_forge_cli-2.0.3/src/cli/commands/graph.py +0 -715
  34. ai_forge_cli-2.0.3/src/cli/commands/init.py +0 -302
  35. ai_forge_cli-2.0.3/src/cli/commands/inspect.py +0 -153
  36. ai_forge_cli-2.0.3/src/cli/commands/list_cmd.py +0 -72
  37. ai_forge_cli-2.0.3/src/cli/commands/update.py +0 -77
  38. ai_forge_cli-2.0.3/src/cli/commands/validate.py +0 -396
  39. ai_forge_cli-2.0.3/src/cli/common.py +0 -114
  40. ai_forge_cli-2.0.3/src/cli/forge.py +0 -69
  41. ai_forge_cli-2.0.3/src/cli/framework.yaml +0 -228
  42. ai_forge_cli-2.0.3/src/cli/index.py +0 -277
  43. ai_forge_cli-2.0.3/src/cli/skills/forge-build/SKILL.md +0 -146
  44. ai_forge_cli-2.0.3/src/cli/skills/forge-build/references/framework.md +0 -571
  45. ai_forge_cli-2.0.3/src/cli/skills/forge-build/references/framework.yaml +0 -228
  46. ai_forge_cli-2.0.3/src/cli/skills/forge-build/references/templates.yaml +0 -371
  47. ai_forge_cli-2.0.3/src/cli/skills/forge-cast/SKILL.md +0 -136
  48. ai_forge_cli-2.0.3/src/cli/skills/forge-cast/references/framework.md +0 -571
  49. ai_forge_cli-2.0.3/src/cli/skills/forge-cast/references/framework.yaml +0 -228
  50. ai_forge_cli-2.0.3/src/cli/skills/forge-cast/references/templates.yaml +0 -371
  51. ai_forge_cli-2.0.3/src/cli/skills/forge-design/SKILL.md +0 -107
  52. ai_forge_cli-2.0.3/src/cli/skills/forge-design/references/framework.md +0 -571
  53. ai_forge_cli-2.0.3/src/cli/skills/forge-design/references/framework.yaml +0 -228
  54. ai_forge_cli-2.0.3/src/cli/skills/forge-design/references/templates.yaml +0 -371
  55. ai_forge_cli-2.0.3/src/cli/skills/forge-review/SKILL.md +0 -218
  56. ai_forge_cli-2.0.3/src/cli/skills/forge-review/references/framework.md +0 -571
  57. ai_forge_cli-2.0.3/src/cli/skills/forge-review/references/framework.yaml +0 -228
  58. ai_forge_cli-2.0.3/src/cli/skills/forge-review/references/templates.yaml +0 -371
  59. ai_forge_cli-2.0.3/src/cli/skills/forge-spec/SKILL.md +0 -144
  60. ai_forge_cli-2.0.3/src/cli/skills/forge-spec/references/framework.md +0 -571
  61. ai_forge_cli-2.0.3/src/cli/skills/forge-spec/references/framework.yaml +0 -228
  62. ai_forge_cli-2.0.3/src/cli/skills/forge-spec/references/templates.yaml +0 -371
  63. ai_forge_cli-2.0.3/src/cli/skills/forge-validate/SKILL.md +0 -143
  64. ai_forge_cli-2.0.3/src/cli/skills/forge-validate/references/framework.md +0 -571
  65. ai_forge_cli-2.0.3/src/cli/skills/forge-validate/references/framework.yaml +0 -228
  66. ai_forge_cli-2.0.3/src/cli/skills/forge-validate/references/templates.yaml +0 -371
  67. ai_forge_cli-2.0.3/src/cli/walker.py +0 -275
  68. ai_forge_cli-2.0.3/tests/test_cli.py +0 -153
  69. ai_forge_cli-2.0.3/tests/test_find.py +0 -106
  70. ai_forge_cli-2.0.3/tests/test_index.py +0 -157
  71. ai_forge_cli-2.0.3/tests/test_init.py +0 -105
  72. ai_forge_cli-2.0.3/tests/test_update.py +0 -97
  73. ai_forge_cli-2.0.3/tests/test_walker.py +0 -113
  74. {ai_forge_cli-2.0.3 → ai_forge_cli-2.1.2}/setup.cfg +0 -0
  75. {ai_forge_cli-2.0.3 → ai_forge_cli-2.1.2}/src/ai_forge_cli.egg-info/dependency_links.txt +0 -0
  76. {ai_forge_cli-2.0.3 → ai_forge_cli-2.1.2}/src/ai_forge_cli.egg-info/entry_points.txt +0 -0
  77. {ai_forge_cli-2.0.3 → ai_forge_cli-2.1.2}/src/ai_forge_cli.egg-info/top_level.txt +0 -0
  78. {ai_forge_cli-2.0.3 → ai_forge_cli-2.1.2}/src/cli/__main__.py +0 -0
@@ -0,0 +1,171 @@
1
+ Metadata-Version: 2.4
2
+ Name: ai-forge-cli
3
+ Version: 2.1.2
4
+ Summary: Forge V3 context CLI
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: pyyaml>=6.0
8
+ Provides-Extra: dev
9
+ Requires-Dist: build>=1.2; extra == "dev"
10
+ Requires-Dist: mypy>=1.15; extra == "dev"
11
+ Requires-Dist: pytest>=8; extra == "dev"
12
+ Requires-Dist: ruff>=0.11; extra == "dev"
13
+ Requires-Dist: twine>=5.1; extra == "dev"
14
+ Requires-Dist: types-PyYAML>=6.0.12; extra == "dev"
15
+
16
+ # Forge
17
+
18
+ Forge is a Python CLI and framework for vertical-first system design and
19
+ delivery. It helps you define a system clearly, split it into buildable
20
+ verticals, and then deepen and implement one slice at a time with the minimum
21
+ context needed for the task at hand.
22
+
23
+ Forge is **skills-first**. The skills drive the work. The CLI exists to provide
24
+ scoped context, validation, and audit artifacts to the active skill.
25
+
26
+ ## What This Repository Contains
27
+
28
+ - `src/cli`: the Forge CLI implementation
29
+ - `skills/`: the Forge skill source used by initialized repositories
30
+ - `FRAMEWORK_V3.md`: the framework process and recommended authoring order
31
+ - `SCHEMA_REFERENCE_V3.md`: the schema contract and field rules
32
+ - `examples/`: example Forge repositories and audit artifacts
33
+
34
+ ## CLI Commands
35
+
36
+ - `forge init`: scaffold a new Forge workspace and explain how to use it
37
+ - `forge context`: render scoped context for a system, vertical, flow,
38
+ container, or component
39
+ - `forge audit`: generate a self-contained architecture audit dashboard
40
+
41
+ ## What Forge Is
42
+
43
+ - a framework for capturing architectural truth before implementation detail
44
+ - a skills-first workflow for moving from broad system design to one thin
45
+ vertical at a time
46
+ - a scoped context generator for build, review, and security tasks
47
+ - an audit artifact generator for human review
48
+
49
+ ## What Forge Is Not
50
+
51
+ - a generic project scaffolder for arbitrary app stacks
52
+ - a replacement for implementation skills such as build, review, and security
53
+ - a reason to model every payload, component, or environment detail up front
54
+ - an excuse to widen a vertical beyond what can be built and validated cleanly
55
+
56
+ ## Recommended Workflow
57
+
58
+ 1. Run `forge init` in an empty repository.
59
+ 2. Read:
60
+ - `docs/USING_FORGE.md`
61
+ - `docs/FRAMEWORK_V3.md`
62
+ - `docs/SCHEMA_REFERENCE_V3.md`
63
+ 3. Use `forge-schema` to define:
64
+ - `system.yaml`
65
+ - `high_level_flows/`
66
+ - `early_state.yaml`
67
+ - `runtime.yaml`
68
+ 4. Derive `verticals/` once the runtime picture is clear.
69
+ 5. Pick one vertical and deepen it through:
70
+ - `runtime_flows/`
71
+ - `data_shapes/`
72
+ - `persistent_shapes/`
73
+ - `containers/`
74
+ - `deployment.yaml`
75
+ 6. Use `forge-review` to check the slice for drift, bloat, and broken references before build starts.
76
+ 7. Use `forge-security` to make the slice security posture explicit before build starts.
77
+ 8. Use `forge-build` to plan or implement that approved vertical.
78
+
79
+ The intended operating mode is:
80
+
81
+ 1. choose the active skill first
82
+ 2. ask that skill what scope it needs
83
+ 3. use `forge context` only for that narrow scope
84
+ 4. use `forge audit` when you need a whole-system review artifact
85
+
86
+ ## Golden Path Examples
87
+
88
+ - `examples/forge_v2_ordering_example`: the compact canonical example for docs,
89
+ smoke tests, and first-time users
90
+ - `examples/forge_v2_fulfillment_control_example`: the richer example used to
91
+ pressure-test flows, data, deployment, and audit rendering
92
+
93
+ ## Local Development
94
+
95
+ Use the project virtual environment:
96
+
97
+ ```bash
98
+ .venv/bin/python -m pip install -e .[dev]
99
+ ```
100
+
101
+ ## Validation Commands
102
+
103
+ ```bash
104
+ make lint
105
+ make typecheck
106
+ make test
107
+ make compile
108
+ make build
109
+ make verify-package
110
+ make smoke-init
111
+ make check
112
+ ```
113
+
114
+ `make verify-package` builds the wheel, installs it into a fresh Python 3.11+
115
+ virtual environment, and confirms that the installed `forge` entrypoint works.
116
+
117
+ ## Packaging
118
+
119
+ Build artifacts are generated with:
120
+
121
+ ```bash
122
+ .venv/bin/python -m build
123
+ ```
124
+
125
+ This produces:
126
+
127
+ - `dist/*.tar.gz`
128
+ - `dist/*.whl`
129
+
130
+ Validate package metadata before release with:
131
+
132
+ ```bash
133
+ make check-dist
134
+ ```
135
+
136
+ ## Local Testing
137
+
138
+ Run the full local verification path:
139
+
140
+ ```bash
141
+ make check
142
+ ```
143
+
144
+ That covers linting, type checking, tests, compile validation, build output,
145
+ distribution metadata checks, clean wheel install, and `forge init` smoke
146
+ validation.
147
+
148
+ If you want to test the richer example schema directly:
149
+
150
+ ```bash
151
+ EXAMPLE="examples/forge_v2_fulfillment_control_example"
152
+ .venv/bin/forge audit --project-dir "$EXAMPLE" --output /tmp/forge-audit-example.html
153
+ ```
154
+
155
+ That generates the audit artifact and opens it unless `--no-open` is supplied.
156
+
157
+ ## Framework Notes
158
+
159
+ - Forge is vertical-first: model broadly, then deepen one thin slice.
160
+ - The framework should reduce context, not increase it.
161
+ - Components and exact schemas should only appear when runtime boundaries and
162
+ vertical intent are already clear.
163
+ - Important decisions should be captured in `decision_notes.md`.
164
+
165
+ ## Maintainer Notes
166
+
167
+ - Release instructions live in [docs/RELEASING.md](/Users/willdefina/Documents/2026%20-%20Business/dev-tools/forge/docs/RELEASING.md).
168
+
169
+ ## Repository Notes
170
+
171
+ Previous iteration artifacts have been retained in `old-forge-v2/`.
@@ -0,0 +1,156 @@
1
+ # Forge
2
+
3
+ Forge is a Python CLI and framework for vertical-first system design and
4
+ delivery. It helps you define a system clearly, split it into buildable
5
+ verticals, and then deepen and implement one slice at a time with the minimum
6
+ context needed for the task at hand.
7
+
8
+ Forge is **skills-first**. The skills drive the work. The CLI exists to provide
9
+ scoped context, validation, and audit artifacts to the active skill.
10
+
11
+ ## What This Repository Contains
12
+
13
+ - `src/cli`: the Forge CLI implementation
14
+ - `skills/`: the Forge skill source used by initialized repositories
15
+ - `FRAMEWORK_V3.md`: the framework process and recommended authoring order
16
+ - `SCHEMA_REFERENCE_V3.md`: the schema contract and field rules
17
+ - `examples/`: example Forge repositories and audit artifacts
18
+
19
+ ## CLI Commands
20
+
21
+ - `forge init`: scaffold a new Forge workspace and explain how to use it
22
+ - `forge context`: render scoped context for a system, vertical, flow,
23
+ container, or component
24
+ - `forge audit`: generate a self-contained architecture audit dashboard
25
+
26
+ ## What Forge Is
27
+
28
+ - a framework for capturing architectural truth before implementation detail
29
+ - a skills-first workflow for moving from broad system design to one thin
30
+ vertical at a time
31
+ - a scoped context generator for build, review, and security tasks
32
+ - an audit artifact generator for human review
33
+
34
+ ## What Forge Is Not
35
+
36
+ - a generic project scaffolder for arbitrary app stacks
37
+ - a replacement for implementation skills such as build, review, and security
38
+ - a reason to model every payload, component, or environment detail up front
39
+ - an excuse to widen a vertical beyond what can be built and validated cleanly
40
+
41
+ ## Recommended Workflow
42
+
43
+ 1. Run `forge init` in an empty repository.
44
+ 2. Read:
45
+ - `docs/USING_FORGE.md`
46
+ - `docs/FRAMEWORK_V3.md`
47
+ - `docs/SCHEMA_REFERENCE_V3.md`
48
+ 3. Use `forge-schema` to define:
49
+ - `system.yaml`
50
+ - `high_level_flows/`
51
+ - `early_state.yaml`
52
+ - `runtime.yaml`
53
+ 4. Derive `verticals/` once the runtime picture is clear.
54
+ 5. Pick one vertical and deepen it through:
55
+ - `runtime_flows/`
56
+ - `data_shapes/`
57
+ - `persistent_shapes/`
58
+ - `containers/`
59
+ - `deployment.yaml`
60
+ 6. Use `forge-review` to check the slice for drift, bloat, and broken references before build starts.
61
+ 7. Use `forge-security` to make the slice security posture explicit before build starts.
62
+ 8. Use `forge-build` to plan or implement that approved vertical.
63
+
64
+ The intended operating mode is:
65
+
66
+ 1. choose the active skill first
67
+ 2. ask that skill what scope it needs
68
+ 3. use `forge context` only for that narrow scope
69
+ 4. use `forge audit` when you need a whole-system review artifact
70
+
71
+ ## Golden Path Examples
72
+
73
+ - `examples/forge_v2_ordering_example`: the compact canonical example for docs,
74
+ smoke tests, and first-time users
75
+ - `examples/forge_v2_fulfillment_control_example`: the richer example used to
76
+ pressure-test flows, data, deployment, and audit rendering
77
+
78
+ ## Local Development
79
+
80
+ Use the project virtual environment:
81
+
82
+ ```bash
83
+ .venv/bin/python -m pip install -e .[dev]
84
+ ```
85
+
86
+ ## Validation Commands
87
+
88
+ ```bash
89
+ make lint
90
+ make typecheck
91
+ make test
92
+ make compile
93
+ make build
94
+ make verify-package
95
+ make smoke-init
96
+ make check
97
+ ```
98
+
99
+ `make verify-package` builds the wheel, installs it into a fresh Python 3.11+
100
+ virtual environment, and confirms that the installed `forge` entrypoint works.
101
+
102
+ ## Packaging
103
+
104
+ Build artifacts are generated with:
105
+
106
+ ```bash
107
+ .venv/bin/python -m build
108
+ ```
109
+
110
+ This produces:
111
+
112
+ - `dist/*.tar.gz`
113
+ - `dist/*.whl`
114
+
115
+ Validate package metadata before release with:
116
+
117
+ ```bash
118
+ make check-dist
119
+ ```
120
+
121
+ ## Local Testing
122
+
123
+ Run the full local verification path:
124
+
125
+ ```bash
126
+ make check
127
+ ```
128
+
129
+ That covers linting, type checking, tests, compile validation, build output,
130
+ distribution metadata checks, clean wheel install, and `forge init` smoke
131
+ validation.
132
+
133
+ If you want to test the richer example schema directly:
134
+
135
+ ```bash
136
+ EXAMPLE="examples/forge_v2_fulfillment_control_example"
137
+ .venv/bin/forge audit --project-dir "$EXAMPLE" --output /tmp/forge-audit-example.html
138
+ ```
139
+
140
+ That generates the audit artifact and opens it unless `--no-open` is supplied.
141
+
142
+ ## Framework Notes
143
+
144
+ - Forge is vertical-first: model broadly, then deepen one thin slice.
145
+ - The framework should reduce context, not increase it.
146
+ - Components and exact schemas should only appear when runtime boundaries and
147
+ vertical intent are already clear.
148
+ - Important decisions should be captured in `decision_notes.md`.
149
+
150
+ ## Maintainer Notes
151
+
152
+ - Release instructions live in [docs/RELEASING.md](/Users/willdefina/Documents/2026%20-%20Business/dev-tools/forge/docs/RELEASING.md).
153
+
154
+ ## Repository Notes
155
+
156
+ Previous iteration artifacts have been retained in `old-forge-v2/`.
@@ -0,0 +1,63 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "ai-forge-cli"
7
+ version = "2.1.2"
8
+ description = "Forge V3 context CLI"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ dependencies = ["pyyaml>=6.0"]
12
+
13
+ [project.optional-dependencies]
14
+ dev = [
15
+ "build>=1.2",
16
+ "mypy>=1.15",
17
+ "pytest>=8",
18
+ "ruff>=0.11",
19
+ "twine>=5.1",
20
+ "types-PyYAML>=6.0.12",
21
+ ]
22
+
23
+ [project.scripts]
24
+ forge = "cli.forge:main"
25
+
26
+ [tool.setuptools.packages.find]
27
+ where = ["src"]
28
+ include = ["cli*"]
29
+
30
+ [tool.setuptools.package-data]
31
+ cli = ["assets/*.svg", "assets/*.html"]
32
+
33
+ [tool.pytest.ini_options]
34
+ testpaths = ["tests"]
35
+ pythonpath = ["src"]
36
+
37
+ [tool.ruff]
38
+ line-length = 160
39
+ target-version = "py311"
40
+
41
+ [tool.ruff.lint]
42
+ select = ["E", "F", "I", "W"]
43
+
44
+ [tool.mypy]
45
+ python_version = "3.11"
46
+ files = ["src/cli"]
47
+ mypy_path = ["src"]
48
+ warn_unused_configs = true
49
+ warn_redundant_casts = true
50
+ warn_unused_ignores = true
51
+ strict_equality = true
52
+ check_untyped_defs = true
53
+ disallow_any_generics = true
54
+ no_implicit_optional = true
55
+ explicit_package_bases = true
56
+
57
+ [[tool.mypy.overrides]]
58
+ module = [
59
+ "cli.commands.audit",
60
+ "cli.commands.context",
61
+ "cli.schema",
62
+ ]
63
+ ignore_errors = true
@@ -0,0 +1,171 @@
1
+ Metadata-Version: 2.4
2
+ Name: ai-forge-cli
3
+ Version: 2.1.2
4
+ Summary: Forge V3 context CLI
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: pyyaml>=6.0
8
+ Provides-Extra: dev
9
+ Requires-Dist: build>=1.2; extra == "dev"
10
+ Requires-Dist: mypy>=1.15; extra == "dev"
11
+ Requires-Dist: pytest>=8; extra == "dev"
12
+ Requires-Dist: ruff>=0.11; extra == "dev"
13
+ Requires-Dist: twine>=5.1; extra == "dev"
14
+ Requires-Dist: types-PyYAML>=6.0.12; extra == "dev"
15
+
16
+ # Forge
17
+
18
+ Forge is a Python CLI and framework for vertical-first system design and
19
+ delivery. It helps you define a system clearly, split it into buildable
20
+ verticals, and then deepen and implement one slice at a time with the minimum
21
+ context needed for the task at hand.
22
+
23
+ Forge is **skills-first**. The skills drive the work. The CLI exists to provide
24
+ scoped context, validation, and audit artifacts to the active skill.
25
+
26
+ ## What This Repository Contains
27
+
28
+ - `src/cli`: the Forge CLI implementation
29
+ - `skills/`: the Forge skill source used by initialized repositories
30
+ - `FRAMEWORK_V3.md`: the framework process and recommended authoring order
31
+ - `SCHEMA_REFERENCE_V3.md`: the schema contract and field rules
32
+ - `examples/`: example Forge repositories and audit artifacts
33
+
34
+ ## CLI Commands
35
+
36
+ - `forge init`: scaffold a new Forge workspace and explain how to use it
37
+ - `forge context`: render scoped context for a system, vertical, flow,
38
+ container, or component
39
+ - `forge audit`: generate a self-contained architecture audit dashboard
40
+
41
+ ## What Forge Is
42
+
43
+ - a framework for capturing architectural truth before implementation detail
44
+ - a skills-first workflow for moving from broad system design to one thin
45
+ vertical at a time
46
+ - a scoped context generator for build, review, and security tasks
47
+ - an audit artifact generator for human review
48
+
49
+ ## What Forge Is Not
50
+
51
+ - a generic project scaffolder for arbitrary app stacks
52
+ - a replacement for implementation skills such as build, review, and security
53
+ - a reason to model every payload, component, or environment detail up front
54
+ - an excuse to widen a vertical beyond what can be built and validated cleanly
55
+
56
+ ## Recommended Workflow
57
+
58
+ 1. Run `forge init` in an empty repository.
59
+ 2. Read:
60
+ - `docs/USING_FORGE.md`
61
+ - `docs/FRAMEWORK_V3.md`
62
+ - `docs/SCHEMA_REFERENCE_V3.md`
63
+ 3. Use `forge-schema` to define:
64
+ - `system.yaml`
65
+ - `high_level_flows/`
66
+ - `early_state.yaml`
67
+ - `runtime.yaml`
68
+ 4. Derive `verticals/` once the runtime picture is clear.
69
+ 5. Pick one vertical and deepen it through:
70
+ - `runtime_flows/`
71
+ - `data_shapes/`
72
+ - `persistent_shapes/`
73
+ - `containers/`
74
+ - `deployment.yaml`
75
+ 6. Use `forge-review` to check the slice for drift, bloat, and broken references before build starts.
76
+ 7. Use `forge-security` to make the slice security posture explicit before build starts.
77
+ 8. Use `forge-build` to plan or implement that approved vertical.
78
+
79
+ The intended operating mode is:
80
+
81
+ 1. choose the active skill first
82
+ 2. ask that skill what scope it needs
83
+ 3. use `forge context` only for that narrow scope
84
+ 4. use `forge audit` when you need a whole-system review artifact
85
+
86
+ ## Golden Path Examples
87
+
88
+ - `examples/forge_v2_ordering_example`: the compact canonical example for docs,
89
+ smoke tests, and first-time users
90
+ - `examples/forge_v2_fulfillment_control_example`: the richer example used to
91
+ pressure-test flows, data, deployment, and audit rendering
92
+
93
+ ## Local Development
94
+
95
+ Use the project virtual environment:
96
+
97
+ ```bash
98
+ .venv/bin/python -m pip install -e .[dev]
99
+ ```
100
+
101
+ ## Validation Commands
102
+
103
+ ```bash
104
+ make lint
105
+ make typecheck
106
+ make test
107
+ make compile
108
+ make build
109
+ make verify-package
110
+ make smoke-init
111
+ make check
112
+ ```
113
+
114
+ `make verify-package` builds the wheel, installs it into a fresh Python 3.11+
115
+ virtual environment, and confirms that the installed `forge` entrypoint works.
116
+
117
+ ## Packaging
118
+
119
+ Build artifacts are generated with:
120
+
121
+ ```bash
122
+ .venv/bin/python -m build
123
+ ```
124
+
125
+ This produces:
126
+
127
+ - `dist/*.tar.gz`
128
+ - `dist/*.whl`
129
+
130
+ Validate package metadata before release with:
131
+
132
+ ```bash
133
+ make check-dist
134
+ ```
135
+
136
+ ## Local Testing
137
+
138
+ Run the full local verification path:
139
+
140
+ ```bash
141
+ make check
142
+ ```
143
+
144
+ That covers linting, type checking, tests, compile validation, build output,
145
+ distribution metadata checks, clean wheel install, and `forge init` smoke
146
+ validation.
147
+
148
+ If you want to test the richer example schema directly:
149
+
150
+ ```bash
151
+ EXAMPLE="examples/forge_v2_fulfillment_control_example"
152
+ .venv/bin/forge audit --project-dir "$EXAMPLE" --output /tmp/forge-audit-example.html
153
+ ```
154
+
155
+ That generates the audit artifact and opens it unless `--no-open` is supplied.
156
+
157
+ ## Framework Notes
158
+
159
+ - Forge is vertical-first: model broadly, then deepen one thin slice.
160
+ - The framework should reduce context, not increase it.
161
+ - Components and exact schemas should only appear when runtime boundaries and
162
+ vertical intent are already clear.
163
+ - Important decisions should be captured in `decision_notes.md`.
164
+
165
+ ## Maintainer Notes
166
+
167
+ - Release instructions live in [docs/RELEASING.md](/Users/willdefina/Documents/2026%20-%20Business/dev-tools/forge/docs/RELEASING.md).
168
+
169
+ ## Repository Notes
170
+
171
+ Previous iteration artifacts have been retained in `old-forge-v2/`.
@@ -0,0 +1,22 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/ai_forge_cli.egg-info/PKG-INFO
4
+ src/ai_forge_cli.egg-info/SOURCES.txt
5
+ src/ai_forge_cli.egg-info/dependency_links.txt
6
+ src/ai_forge_cli.egg-info/entry_points.txt
7
+ src/ai_forge_cli.egg-info/requires.txt
8
+ src/ai_forge_cli.egg-info/top_level.txt
9
+ src/cli/__init__.py
10
+ src/cli/__main__.py
11
+ src/cli/common.py
12
+ src/cli/forge.py
13
+ src/cli/schema.py
14
+ src/cli/assets/audit_template.html
15
+ src/cli/assets/forge_full_logo.drawio.svg
16
+ src/cli/assets/forge_white_small.drawio.svg
17
+ src/cli/commands/__init__.py
18
+ src/cli/commands/audit.py
19
+ src/cli/commands/base.py
20
+ src/cli/commands/context.py
21
+ src/cli/commands/init.py
22
+ tests/test_context.py
@@ -0,0 +1,9 @@
1
+ pyyaml>=6.0
2
+
3
+ [dev]
4
+ build>=1.2
5
+ mypy>=1.15
6
+ pytest>=8
7
+ ruff>=0.11
8
+ twine>=5.1
9
+ types-PyYAML>=6.0.12
@@ -0,0 +1,3 @@
1
+ __all__ = ["__version__"]
2
+
3
+ __version__ = "0.1.0"