forge-foundation 0.1.0a1__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 (35) hide show
  1. forge_foundation-0.1.0a1/LICENSE +21 -0
  2. forge_foundation-0.1.0a1/PKG-INFO +242 -0
  3. forge_foundation-0.1.0a1/README.md +216 -0
  4. forge_foundation-0.1.0a1/forge/__init__.py +34 -0
  5. forge_foundation-0.1.0a1/forge/cli.py +586 -0
  6. forge_foundation-0.1.0a1/forge/context.py +133 -0
  7. forge_foundation-0.1.0a1/forge/kernel.py +237 -0
  8. forge_foundation-0.1.0a1/forge/model.py +553 -0
  9. forge_foundation-0.1.0a1/forge/plugins.py +90 -0
  10. forge_foundation-0.1.0a1/forge/query.py +246 -0
  11. forge_foundation-0.1.0a1/forge/scheduler.py +70 -0
  12. forge_foundation-0.1.0a1/forge/sdk.py +350 -0
  13. forge_foundation-0.1.0a1/forge/store.py +266 -0
  14. forge_foundation-0.1.0a1/forge_foundation.egg-info/PKG-INFO +242 -0
  15. forge_foundation-0.1.0a1/forge_foundation.egg-info/SOURCES.txt +33 -0
  16. forge_foundation-0.1.0a1/forge_foundation.egg-info/dependency_links.txt +1 -0
  17. forge_foundation-0.1.0a1/forge_foundation.egg-info/entry_points.txt +2 -0
  18. forge_foundation-0.1.0a1/forge_foundation.egg-info/top_level.txt +1 -0
  19. forge_foundation-0.1.0a1/pyproject.toml +54 -0
  20. forge_foundation-0.1.0a1/setup.cfg +4 -0
  21. forge_foundation-0.1.0a1/tests/test_cli.py +142 -0
  22. forge_foundation-0.1.0a1/tests/test_context.py +63 -0
  23. forge_foundation-0.1.0a1/tests/test_executor.py +402 -0
  24. forge_foundation-0.1.0a1/tests/test_kernel.py +134 -0
  25. forge_foundation-0.1.0a1/tests/test_mcp.py +527 -0
  26. forge_foundation-0.1.0a1/tests/test_model.py +213 -0
  27. forge_foundation-0.1.0a1/tests/test_planner.py +314 -0
  28. forge_foundation-0.1.0a1/tests/test_plugins.py +125 -0
  29. forge_foundation-0.1.0a1/tests/test_query.py +109 -0
  30. forge_foundation-0.1.0a1/tests/test_reviewer.py +359 -0
  31. forge_foundation-0.1.0a1/tests/test_scheduler.py +84 -0
  32. forge_foundation-0.1.0a1/tests/test_sdk.py +233 -0
  33. forge_foundation-0.1.0a1/tests/test_security.py +246 -0
  34. forge_foundation-0.1.0a1/tests/test_store.py +116 -0
  35. forge_foundation-0.1.0a1/tests/test_stress.py +149 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sanjay Davis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,242 @@
1
+ Metadata-Version: 2.4
2
+ Name: forge-foundation
3
+ Version: 0.1.0a1
4
+ Summary: Forge — a deterministic project kernel for autonomous software development. Project state is deterministic; intelligence is replaceable.
5
+ Author-email: Sanjay Davis <psanjuknl@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/SanjayDavis/Forge
8
+ Project-URL: Repository, https://github.com/SanjayDavis/Forge
9
+ Project-URL: Documentation, https://github.com/SanjayDavis/Forge/tree/master/docs
10
+ Keywords: agents,autonomous-software,event-sourcing,kernel,project-management,task-graph
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development
20
+ Classifier: Topic :: Software Development :: Build Tools
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: license-file
26
+
27
+ # Forge
28
+
29
+ **Project state is deterministic. Intelligence is replaceable.**
30
+
31
+ Forge is a deterministic project kernel for autonomous software
32
+ engineering. Every change to a project — by an LLM, an agent, or a
33
+ human — must be proposed, validated, and committed through the kernel.
34
+ No client ever mutates project state directly.
35
+
36
+ The planner proposes. The kernel decides.
37
+
38
+ ## Why does it exist?
39
+
40
+ Conversations and markdown plans are a bad place to keep state. They
41
+ are lossy, unreplayable, and unauditable. Forge replaces them with an
42
+ event-sourced task graph: append-only, deterministic, replayable.
43
+
44
+ | Traditional agent | Forge |
45
+ | --- | --- |
46
+ | Conversation is state | Event log is state |
47
+ | AI edits directly | AI proposes |
48
+ | Memory in prompts | Deterministic graph |
49
+ | Hard to replay | Replay built in |
50
+ | Hard to audit | Fully auditable |
51
+
52
+ See [WHY_FORGE.md](WHY_FORGE.md) for the full argument.
53
+
54
+ ## Forge in 60 seconds
55
+
56
+ ```
57
+ forge -d chip8 init
58
+ cd chip8
59
+
60
+ forge create "Chip-8 Emulator" \
61
+ --desc "A CHIP-8 interpreter with display, input, and ROM loader" \
62
+ -a "ROM loads and runs" --priority high
63
+ forge expand chip-8-emulator \
64
+ -c "CPU::executes opcodes" \
65
+ -c "Memory::4KB RAM + registers" \
66
+ -c "Display::64x32 framebuffer" \
67
+ -c "Input::hex keypad"
68
+
69
+ forge graph # the task tree
70
+ forge next # cpu — what to work on first
71
+ forge show cpu # the context contract: task, acceptance, deps, evidence
72
+ forge progress # done 0/5
73
+ ```
74
+
75
+ What happened: a goal became a graph. The kernel computed what is
76
+ ready, handed the client a focused context package instead of the whole
77
+ project, and recorded every step in an append-only log. The planner
78
+ proposes; the kernel decides. Nothing was mutated directly.
79
+
80
+ ## Architecture
81
+
82
+ ```
83
+ Human ─┐
84
+ Planner │ (proposals only — never touch the graph)
85
+ Executor├──► Proposal Layer ──► Kernel ──► events.log
86
+ Reviewer│ (validate → append → apply)
87
+ MCP ─┘
88
+ │
89
+ ├── scheduler (ready/next/blockers, priority-ordered)
90
+ ├── verifier gates (status/dependency/container)
91
+ ├── context builder (the ~500-token contract package)
92
+ ├── inspector (task dossier + history)
93
+ └── query language (safe expression subset)
94
+ ```
95
+
96
+ Above the line: intelligence. Below it: deterministic computing.
97
+
98
+ The SDK in five calls — the whole executor flow:
99
+
100
+ ```python
101
+ from forge import ForgeClient
102
+
103
+ forge = ForgeClient("path/to/project")
104
+ task = forge.next() # next ready task
105
+ ctx = forge.context(task["id"]) # the ~500-token contract
106
+ result = llm(ctx) # code, tests
107
+ forge.attach_evidence(task["id"], "hard", "unittest", detail)
108
+ forge.verify(task["id"]) # Forge decides "done", not the LLM
109
+ ```
110
+
111
+ One implementation. Many clients: Hermes, Claude Code, Codex, a human
112
+ with a terminal, an MCP server, a VS Code panel.
113
+
114
+ ## Install
115
+
116
+ ```bash
117
+ pip install forge-foundation forge-planner # from PyPI (once published)
118
+ pip install forge-mcp # optional: MCP server transport
119
+ forge --help
120
+ ```
121
+
122
+ `forge` is the kernel + CLI + public SDK. `forge-planner` is the
123
+ reference planner (a separate distribution) and registers the `forge
124
+ plan` command at runtime through a `forge.commands` entry point.
125
+ `forge-mcp` is the MCP server (a separate distribution, run as
126
+ `forge-mcp -d PROJECT`), a stdio transport any MCP client can talk to.
127
+ Every other client (executor, reviewer, a future VS Code panel) is the
128
+ same shape: an installable package that consumes only the SDK.
129
+
130
+ For development, install from the repository root:
131
+
132
+ ```bash
133
+ python -m pip install -e .
134
+ python -m pip install -e packages/forge-planner
135
+ python -m pip install -e packages/forge-mcp
136
+ forge --help
137
+ ```
138
+
139
+ (Works without install too: `python -m forge.cli ...`)
140
+
141
+ The install is zero-dependency: stdlib only, Python 3.10+. Plugins are
142
+ separate products that consume the SDK — they are not part of the
143
+ `forge` package (`docs/ROADMAP.md`: Repository separation). If a known
144
+ plugin command's package is missing, the CLI says exactly what to
145
+ install instead of failing with an opaque argparse error.
146
+
147
+ ## Quickstart
148
+
149
+ ```
150
+ forge -d myproject init
151
+ cd myproject
152
+
153
+ forge plan "Build a Snake game" --commit # reference planner proposes; kernel decides
154
+ forge graph # root + Foundation/Core/Acceptance milestones
155
+ forge next # what to work on (priority order)
156
+ forge start build-a-snake-game-foundation
157
+ forge evidence build-a-snake-game-foundation --kind hard --source unittest --detail "14 passed"
158
+ forge verify-pass build-a-snake-game-foundation
159
+ forge show build-a-snake-game-foundation # context package for an LLM client
160
+ forge progress
161
+ forge replay # rebuild the graph from the log
162
+ ```
163
+
164
+ Full command reference: [docs/CLI.md](docs/CLI.md).
165
+
166
+ ## Status
167
+
168
+ The kernel is frozen at v1. This release is `0.1.0-alpha`.
169
+
170
+ Done:
171
+
172
+ - Kernel — event-sourced task graph, scheduler, verifier gates, query
173
+ language, inspector
174
+ - Specification — `docs/SPEC.md` v1.0
175
+ - Compliance suite — 13 portable tests mapped to invariants I1–I7
176
+ - SDK — `forge.ForgeClient`, the single public surface
177
+ - Context API — the ~500-token contract package for coding agents
178
+ - Planner, Executor, Reviewer plugins — reference clients, each an LLM
179
+ drop-in behind the same protocol
180
+ - MCP server — the SDK as six JSON-RPC 2.0 tools over stdio
181
+
182
+ Next:
183
+
184
+ - VS Code extension
185
+ - Web UI
186
+ - Multi-agent orchestrator
187
+
188
+ Full history: [docs/ROADMAP.md](docs/ROADMAP.md).
189
+
190
+ ## Who is Forge for?
191
+
192
+ Forge is useful if you are building:
193
+
194
+ - AI coding agents
195
+ - Autonomous software systems
196
+ - Multi-agent workflows
197
+ - Coding research
198
+ - Reproducible AI pipelines
199
+
200
+ If you are an individual developer who wants an agent to write your
201
+ project, Forge is not the tool — yet. It is the foundation those tools
202
+ will be built on.
203
+
204
+ ## Why not X?
205
+
206
+ Forge does not compete with coding agents; it sits underneath them.
207
+
208
+ - **Claude Code / Codex / OpenHands** are agents that write code. Forge
209
+ is the state layer an agent works against. Run any of them on a Forge
210
+ project: the agent proposes, the kernel decides.
211
+ - **LangGraph / CrewAI** orchestrate agent workflows. Forge does not
212
+ orchestrate; it stores and validates the state those workflows
213
+ produce. Your orchestrator of choice is a client.
214
+ - **Git** stores source code. Forge stores project state — the task
215
+ graph, the evidence, the decisions. The two are complementary.
216
+
217
+ Nothing stops you from using all of them together: LangGraph to
218
+ orchestrate, Claude Code to write, Forge to hold the truth.
219
+
220
+ ## Documentation
221
+
222
+ - [docs/SPEC.md](docs/SPEC.md) — the Forge Specification v1.0, the
223
+ normative contract
224
+ - [docs/DESIGN.md](docs/DESIGN.md) — design decisions
225
+ - [docs/API.md](docs/API.md) — the kernel API and the SDK
226
+ - [docs/EVENTS.md](docs/EVENTS.md) — the event schema
227
+ - [docs/CLI.md](docs/CLI.md) — command reference
228
+ - [docs/ROADMAP.md](docs/ROADMAP.md) — milestone history and plan
229
+ - [docs/verification.md](docs/verification.md) — test suite and stress
230
+ results
231
+ - [docs/RELEASE_READINESS.md](docs/RELEASE_READINESS.md) — SDK audit,
232
+ public API review, and packaging decisions (M2D)
233
+ - [CHANGELOG.md](CHANGELOG.md) — release history
234
+ - [WHY_FORGE.md](WHY_FORGE.md) — the motivation
235
+
236
+ ## Test
237
+
238
+ ```
239
+ python -m unittest discover -s tests
240
+ ```
241
+
242
+ Zero dependencies, Python 3.10+.
@@ -0,0 +1,216 @@
1
+ # Forge
2
+
3
+ **Project state is deterministic. Intelligence is replaceable.**
4
+
5
+ Forge is a deterministic project kernel for autonomous software
6
+ engineering. Every change to a project — by an LLM, an agent, or a
7
+ human — must be proposed, validated, and committed through the kernel.
8
+ No client ever mutates project state directly.
9
+
10
+ The planner proposes. The kernel decides.
11
+
12
+ ## Why does it exist?
13
+
14
+ Conversations and markdown plans are a bad place to keep state. They
15
+ are lossy, unreplayable, and unauditable. Forge replaces them with an
16
+ event-sourced task graph: append-only, deterministic, replayable.
17
+
18
+ | Traditional agent | Forge |
19
+ | --- | --- |
20
+ | Conversation is state | Event log is state |
21
+ | AI edits directly | AI proposes |
22
+ | Memory in prompts | Deterministic graph |
23
+ | Hard to replay | Replay built in |
24
+ | Hard to audit | Fully auditable |
25
+
26
+ See [WHY_FORGE.md](WHY_FORGE.md) for the full argument.
27
+
28
+ ## Forge in 60 seconds
29
+
30
+ ```
31
+ forge -d chip8 init
32
+ cd chip8
33
+
34
+ forge create "Chip-8 Emulator" \
35
+ --desc "A CHIP-8 interpreter with display, input, and ROM loader" \
36
+ -a "ROM loads and runs" --priority high
37
+ forge expand chip-8-emulator \
38
+ -c "CPU::executes opcodes" \
39
+ -c "Memory::4KB RAM + registers" \
40
+ -c "Display::64x32 framebuffer" \
41
+ -c "Input::hex keypad"
42
+
43
+ forge graph # the task tree
44
+ forge next # cpu — what to work on first
45
+ forge show cpu # the context contract: task, acceptance, deps, evidence
46
+ forge progress # done 0/5
47
+ ```
48
+
49
+ What happened: a goal became a graph. The kernel computed what is
50
+ ready, handed the client a focused context package instead of the whole
51
+ project, and recorded every step in an append-only log. The planner
52
+ proposes; the kernel decides. Nothing was mutated directly.
53
+
54
+ ## Architecture
55
+
56
+ ```
57
+ Human ─┐
58
+ Planner │ (proposals only — never touch the graph)
59
+ Executor├──► Proposal Layer ──► Kernel ──► events.log
60
+ Reviewer│ (validate → append → apply)
61
+ MCP ─┘
62
+ │
63
+ ├── scheduler (ready/next/blockers, priority-ordered)
64
+ ├── verifier gates (status/dependency/container)
65
+ ├── context builder (the ~500-token contract package)
66
+ ├── inspector (task dossier + history)
67
+ └── query language (safe expression subset)
68
+ ```
69
+
70
+ Above the line: intelligence. Below it: deterministic computing.
71
+
72
+ The SDK in five calls — the whole executor flow:
73
+
74
+ ```python
75
+ from forge import ForgeClient
76
+
77
+ forge = ForgeClient("path/to/project")
78
+ task = forge.next() # next ready task
79
+ ctx = forge.context(task["id"]) # the ~500-token contract
80
+ result = llm(ctx) # code, tests
81
+ forge.attach_evidence(task["id"], "hard", "unittest", detail)
82
+ forge.verify(task["id"]) # Forge decides "done", not the LLM
83
+ ```
84
+
85
+ One implementation. Many clients: Hermes, Claude Code, Codex, a human
86
+ with a terminal, an MCP server, a VS Code panel.
87
+
88
+ ## Install
89
+
90
+ ```bash
91
+ pip install forge-foundation forge-planner # from PyPI (once published)
92
+ pip install forge-mcp # optional: MCP server transport
93
+ forge --help
94
+ ```
95
+
96
+ `forge` is the kernel + CLI + public SDK. `forge-planner` is the
97
+ reference planner (a separate distribution) and registers the `forge
98
+ plan` command at runtime through a `forge.commands` entry point.
99
+ `forge-mcp` is the MCP server (a separate distribution, run as
100
+ `forge-mcp -d PROJECT`), a stdio transport any MCP client can talk to.
101
+ Every other client (executor, reviewer, a future VS Code panel) is the
102
+ same shape: an installable package that consumes only the SDK.
103
+
104
+ For development, install from the repository root:
105
+
106
+ ```bash
107
+ python -m pip install -e .
108
+ python -m pip install -e packages/forge-planner
109
+ python -m pip install -e packages/forge-mcp
110
+ forge --help
111
+ ```
112
+
113
+ (Works without install too: `python -m forge.cli ...`)
114
+
115
+ The install is zero-dependency: stdlib only, Python 3.10+. Plugins are
116
+ separate products that consume the SDK — they are not part of the
117
+ `forge` package (`docs/ROADMAP.md`: Repository separation). If a known
118
+ plugin command's package is missing, the CLI says exactly what to
119
+ install instead of failing with an opaque argparse error.
120
+
121
+ ## Quickstart
122
+
123
+ ```
124
+ forge -d myproject init
125
+ cd myproject
126
+
127
+ forge plan "Build a Snake game" --commit # reference planner proposes; kernel decides
128
+ forge graph # root + Foundation/Core/Acceptance milestones
129
+ forge next # what to work on (priority order)
130
+ forge start build-a-snake-game-foundation
131
+ forge evidence build-a-snake-game-foundation --kind hard --source unittest --detail "14 passed"
132
+ forge verify-pass build-a-snake-game-foundation
133
+ forge show build-a-snake-game-foundation # context package for an LLM client
134
+ forge progress
135
+ forge replay # rebuild the graph from the log
136
+ ```
137
+
138
+ Full command reference: [docs/CLI.md](docs/CLI.md).
139
+
140
+ ## Status
141
+
142
+ The kernel is frozen at v1. This release is `0.1.0-alpha`.
143
+
144
+ Done:
145
+
146
+ - Kernel — event-sourced task graph, scheduler, verifier gates, query
147
+ language, inspector
148
+ - Specification — `docs/SPEC.md` v1.0
149
+ - Compliance suite — 13 portable tests mapped to invariants I1–I7
150
+ - SDK — `forge.ForgeClient`, the single public surface
151
+ - Context API — the ~500-token contract package for coding agents
152
+ - Planner, Executor, Reviewer plugins — reference clients, each an LLM
153
+ drop-in behind the same protocol
154
+ - MCP server — the SDK as six JSON-RPC 2.0 tools over stdio
155
+
156
+ Next:
157
+
158
+ - VS Code extension
159
+ - Web UI
160
+ - Multi-agent orchestrator
161
+
162
+ Full history: [docs/ROADMAP.md](docs/ROADMAP.md).
163
+
164
+ ## Who is Forge for?
165
+
166
+ Forge is useful if you are building:
167
+
168
+ - AI coding agents
169
+ - Autonomous software systems
170
+ - Multi-agent workflows
171
+ - Coding research
172
+ - Reproducible AI pipelines
173
+
174
+ If you are an individual developer who wants an agent to write your
175
+ project, Forge is not the tool — yet. It is the foundation those tools
176
+ will be built on.
177
+
178
+ ## Why not X?
179
+
180
+ Forge does not compete with coding agents; it sits underneath them.
181
+
182
+ - **Claude Code / Codex / OpenHands** are agents that write code. Forge
183
+ is the state layer an agent works against. Run any of them on a Forge
184
+ project: the agent proposes, the kernel decides.
185
+ - **LangGraph / CrewAI** orchestrate agent workflows. Forge does not
186
+ orchestrate; it stores and validates the state those workflows
187
+ produce. Your orchestrator of choice is a client.
188
+ - **Git** stores source code. Forge stores project state — the task
189
+ graph, the evidence, the decisions. The two are complementary.
190
+
191
+ Nothing stops you from using all of them together: LangGraph to
192
+ orchestrate, Claude Code to write, Forge to hold the truth.
193
+
194
+ ## Documentation
195
+
196
+ - [docs/SPEC.md](docs/SPEC.md) — the Forge Specification v1.0, the
197
+ normative contract
198
+ - [docs/DESIGN.md](docs/DESIGN.md) — design decisions
199
+ - [docs/API.md](docs/API.md) — the kernel API and the SDK
200
+ - [docs/EVENTS.md](docs/EVENTS.md) — the event schema
201
+ - [docs/CLI.md](docs/CLI.md) — command reference
202
+ - [docs/ROADMAP.md](docs/ROADMAP.md) — milestone history and plan
203
+ - [docs/verification.md](docs/verification.md) — test suite and stress
204
+ results
205
+ - [docs/RELEASE_READINESS.md](docs/RELEASE_READINESS.md) — SDK audit,
206
+ public API review, and packaging decisions (M2D)
207
+ - [CHANGELOG.md](CHANGELOG.md) — release history
208
+ - [WHY_FORGE.md](WHY_FORGE.md) — the motivation
209
+
210
+ ## Test
211
+
212
+ ```
213
+ python -m unittest discover -s tests
214
+ ```
215
+
216
+ Zero dependencies, Python 3.10+.
@@ -0,0 +1,34 @@
1
+ """Forge — a deterministic project kernel for autonomous software
2
+ development.
3
+
4
+ The kernel owns project state as an event-sourced task graph. Humans,
5
+ planners, executors, verifiers, and MCP servers are interchangeable
6
+ clients of the same official API (forge.kernel.Kernel). There is no AI
7
+ in the kernel; it is pure, deterministic, and zero-dependency.
8
+
9
+ LLM ──┐
10
+ ├──► Kernel ──► events.log (source of truth)
11
+ Human ─┘
12
+ """
13
+
14
+ __version__ = "0.1.0a1"
15
+ # 0.1.0-alpha: the KERNEL is stable and frozen at v1 (docs/SPEC.md,
16
+ # Appendix A: Versioning & Freeze Policy); the ecosystem around it
17
+ # (executor, reviewer, MCP, UIs) is under active development. The
18
+ # kernel contract never tracks this number.
19
+
20
+ from .model import ( # noqa: F401
21
+ EVIDENCE_HARD, EVIDENCE_SOFT, SCHEMA_VERSION,
22
+ PRIORITIES, PRIORITY_WEIGHT, OP_SHAPES,
23
+ STATUS_TODO, STATUS_IN_PROGRESS, STATUS_NEEDS_REVISION, STATUS_DONE,
24
+ Evidence, TaskNode, Graph, GraphError,
25
+ )
26
+ from .store import EVENT_FILE, Store, load_project # noqa: F401
27
+ from .scheduler import blockers, is_container, next_task, progress, ready_tasks # noqa: F401
28
+ from .context import build_context, to_json, to_markdown # noqa: F401
29
+ from .query import QueryError, run_query # noqa: F401
30
+ from .kernel import Kernel # noqa: F401
31
+ from .sdk import ( # noqa: F401
32
+ ForgeClient, ContextError, ProposalError, PLANNER_OPS,
33
+ context_package, parse_context, slugify, validate_proposal,
34
+ )