Forge V3 context CLI
Project description
Forge
Forge is a Python CLI and framework for vertical-first system design and delivery. It helps you define a system clearly, split it into buildable verticals, and then deepen and implement one slice at a time with the minimum context needed for the task at hand.
Forge is skills-first. The skills drive the work. The CLI exists to provide scoped context, validation, and audit artifacts to the active skill.
What This Repository Contains
src/cli: the Forge CLI implementationskills/: the Forge skill source used by initialized repositoriesFRAMEWORK_V3.md: the framework process and recommended authoring order used to seedforge/FRAMEWORK_V3.mdSCHEMA_REFERENCE_V3.md: the schema contract and field rules used to seedforge/SCHEMA_REFERENCE_V3.mdexamples/: example Forge repositories and audit artifacts
CLI Commands
forge init: scaffold a new Forge workspace and explain how to use itforge context: render scoped context for a system, vertical, flow, container, or componentforge audit: generate a self-contained architecture audit dashboard
What Forge Is
- a framework for capturing architectural truth before implementation detail
- a skills-first workflow for moving from broad system design to one thin vertical at a time
- a scoped context generator for build, review, and security tasks
- an audit artifact generator for human review
What Forge Is Not
- a generic project scaffolder for arbitrary app stacks
- a replacement for implementation skills such as build, review, and security
- a reason to model every payload, component, or environment detail up front
- an excuse to widen a vertical beyond what can be built and validated cleanly
Recommended Workflow
- Run
forge initin an empty repository. - Read:
forge/USING_FORGE.mdforge/FRAMEWORK_V3.mdforge/SCHEMA_REFERENCE_V3.md
- Use
forge-schemato define:forge/system.yamlforge/high_level_flows/forge/early_state.yamlforge/runtime.yaml
- Derive
forge/verticals/once the runtime picture is clear. - Pick one vertical and deepen it through:
forge/runtime_flows/forge/data_shapes/forge/persistent_shapes/forge/containers/forge/deployment.yaml
- Use
forge-reviewto check the slice for drift, bloat, and broken references before build starts. - Use
forge-securityto make the slice security posture explicit before build starts. - Use
forge-buildto plan or implement that approved vertical.
The intended operating mode is:
- choose the active skill first
- ask that skill what scope it needs
- use
forge contextonly for that narrow scope - use
forge auditwhen you need a whole-system review artifact
An initialized repository keeps the Forge-owned schema workspace under ./forge/. The repo root stays available for product code, app docs, and non-Forge tooling.
Golden Path Examples
examples/forge_v2_ordering_example: the compact canonical example for docs, smoke tests, and first-time usersexamples/forge_v2_fulfillment_control_example: the richer example used to pressure-test flows, data, deployment, and audit rendering
Local Development
Use the project virtual environment:
.venv/bin/python -m pip install -e .[dev]
Validation Commands
make lint
make typecheck
make test
make compile
make build
make verify-package
make smoke-init
make check
make verify-package builds the wheel, installs it into a fresh Python 3.11+
virtual environment, and confirms that the installed forge entrypoint works.
Packaging
Build artifacts are generated with:
.venv/bin/python -m build
This produces:
dist/*.tar.gzdist/*.whl
Validate package metadata before release with:
make check-dist
Local Testing
Run the full local verification path:
make check
That covers linting, type checking, tests, compile validation, build output,
distribution metadata checks, clean wheel install, and forge init smoke
validation.
If you want to test the richer example schema directly:
EXAMPLE="examples/forge_v2_fulfillment_control_example"
.venv/bin/forge audit --project-dir "$EXAMPLE" --output /tmp/forge-audit-example.html
That generates the audit artifact and opens it unless --no-open is supplied.
Framework Notes
- Forge is vertical-first: model broadly, then deepen one thin slice.
- The framework should reduce context, not increase it.
- Components and exact schemas should only appear when runtime boundaries and vertical intent are already clear.
- Important decisions should be captured in
decision_notes.md.
Maintainer Notes
- Release instructions live in docs/RELEASING.md.
Repository Notes
Previous iteration artifacts have been retained in old-forge-v2/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_forge_cli-2.1.11.tar.gz.
File metadata
- Download URL: ai_forge_cli-2.1.11.tar.gz
- Upload date:
- Size: 10.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3146591d06fbe9327bef5f6a028f139189262c26affeb1ff9ae7fd464a4576a2
|
|
| MD5 |
145fe53d593ba84336dbdab04c9aef5c
|
|
| BLAKE2b-256 |
73c0066579dc2bdbf0be7da8031f2fa1256c70c18d28f3563af55bfef960a5f0
|
Provenance
The following attestation bundles were made for ai_forge_cli-2.1.11.tar.gz:
Publisher:
release.yml on GreyFlames07/forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_forge_cli-2.1.11.tar.gz -
Subject digest:
3146591d06fbe9327bef5f6a028f139189262c26affeb1ff9ae7fd464a4576a2 - Sigstore transparency entry: 1573491416
- Sigstore integration time:
-
Permalink:
GreyFlames07/forge@a3f6bc6fefde8f23519474c7e3573311052692d8 -
Branch / Tag:
refs/tags/v2.1.11 - Owner: https://github.com/GreyFlames07
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a3f6bc6fefde8f23519474c7e3573311052692d8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ai_forge_cli-2.1.11-py3-none-any.whl.
File metadata
- Download URL: ai_forge_cli-2.1.11-py3-none-any.whl
- Upload date:
- Size: 12.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5ca507b95e1cc9be6bf363602485be8e0a37162f70f18e67ac7e8bf764daca
|
|
| MD5 |
209cf3b55ab93586c7d827a49c530df3
|
|
| BLAKE2b-256 |
ca98882d8776dddc03401f5655b73203e81443e7ab424ca879e49ba52a695927
|
Provenance
The following attestation bundles were made for ai_forge_cli-2.1.11-py3-none-any.whl:
Publisher:
release.yml on GreyFlames07/forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_forge_cli-2.1.11-py3-none-any.whl -
Subject digest:
8e5ca507b95e1cc9be6bf363602485be8e0a37162f70f18e67ac7e8bf764daca - Sigstore transparency entry: 1573491454
- Sigstore integration time:
-
Permalink:
GreyFlames07/forge@a3f6bc6fefde8f23519474c7e3573311052692d8 -
Branch / Tag:
refs/tags/v2.1.11 - Owner: https://github.com/GreyFlames07
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a3f6bc6fefde8f23519474c7e3573311052692d8 -
Trigger Event:
release
-
Statement type: