Documentation
¶
Overview ¶
Package core is the umbrella for Fort's deterministic orchestration modules: rules, router, runtime (the executor interface), task, store, graph, inbox, flow, scheduler, event, and server.
Seam rules (enforced by arch_test.go):
- core must NOT import ui or any exec concrete package.
- core reaches execution only through the runtime.Runtime interface; cmd/fort wires the concrete exec/native runtime in.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package capability owns Fort's closed capability catalog, strict plan contract, safe inventory projection, and deterministic placement solver.
|
Package capability owns Fort's closed capability catalog, strict plan contract, safe inventory projection, and deterministic placement solver. |
|
Package config loads fort-core configuration from the environment with sane defaults (backlog AO-011).
|
Package config loads fort-core configuration from the environment with sane defaults (backlog AO-011). |
|
Package conversation defines Fort's durable shared-conversation model.
|
Package conversation defines Fort's durable shared-conversation model. |
|
Package engine wires the deterministic router to native execution and the state store (backlog AO-015): a submitted task auto-routes, is persisted with its matched rule, and runs natively with zero manual assignment.
|
Package engine wires the deterministic router to native execution and the state store (backlog AO-015): a submitted task auto-routes, is persisted with its matched rule, and runs natively with zero manual assignment. |
|
Package flow loads and validates Fort flow definitions (YAML) into graph.Flow values (backlog AO-026/027).
|
Package flow loads and validates Fort flow definitions (YAML) into graph.Flow values (backlog AO-026/027). |
|
Package graph is Fort's deterministic DAG engine (backlog AO-021..025).
|
Package graph is Fort's deterministic DAG engine (backlog AO-021..025). |
|
Package inbox sources new tasks from a watched directory and submits them to the engine (backlog AO-015: "watched file/dir" task source).
|
Package inbox sources new tasks from a watched directory and submits them to the engine (backlog AO-015: "watched file/dir" task source). |
|
Package ledger defines Fort's durable control-plane persistence contracts.
|
Package ledger defines Fort's durable control-plane persistence contracts. |
|
Package machines is Fort's static machine registry and deterministic placement (spec 022).
|
Package machines is Fort's static machine registry and deterministic placement (spec 022). |
|
Package playbook defines Fort's reusable, deterministic agent pipelines.
|
Package playbook defines Fort's reusable, deterministic agent pipelines. |
|
Package requestid carries one safe correlation identifier across HTTP, orchestration, and durable run creation without carrying request content.
|
Package requestid carries one safe correlation identifier across HTTP, orchestration, and durable run creation without carrying request content. |
|
Package router is Fort's deterministic matcher engine (backlog AO-013).
|
Package router is Fort's deterministic matcher engine (backlog AO-013). |
|
Package rules defines Fort's deterministic routing-rule schema and a strict parser for it (backlog AO-012).
|
Package rules defines Fort's deterministic routing-rule schema and a strict parser for it (backlog AO-012). |
|
Package runtime defines the execution seam (backlog AO-014, spec §6.2).
|
Package runtime defines the execution seam (backlog AO-014, spec §6.2). |
|
Package scheduler fires flows on cron schedules and one-shot times (backlog AO-028) — the basis for "assign and walk away" and recurring digests.
|
Package scheduler fires flows on cron schedules and one-shot times (backlog AO-028) — the basis for "assign and walk away" and recurring digests. |
|
Package server is fort-core's local HTTP/WS API (backlog AO-011): /health, graceful shutdown, and the event/command surface the fort-ui module consumes (the live-feed and command routes are added in Phase 3 on top of this).
|
Package server is fort-core's local HTTP/WS API (backlog AO-011): /health, graceful shutdown, and the event/command surface the fort-ui module consumes (the live-feed and command routes are added in Phase 3 on top of this). |
|
Package store is Fort's SQLite state store (backlog AO-016, spec §6.6): run, node_run, route_decision, and an append-only event log.
|
Package store is Fort's SQLite state store (backlog AO-016, spec §6.6): run, node_run, route_decision, and an append-only event log. |
|
Package task defines the Task — the atomic routable unit of work in Fort.
|
Package task defines the Task — the atomic routable unit of work in Fort. |
|
Package today defines the truthful right-rail projection shared by Fort's presentation surfaces.
|
Package today defines the truthful right-rail projection shared by Fort's presentation surfaces. |
|
Package transporttrust carries authenticated transport provenance across an in-process HTTP handler call.
|
Package transporttrust carries authenticated transport provenance across an in-process HTTP handler call. |
|
Package worker models Fort's deterministic cloud worker protocol.
|
Package worker models Fort's deterministic cloud worker protocol. |
Click to show internal directories.
Click to hide internal directories.