Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the shared application service behind every devsys surface (CLI, MCP, file protocol): one implementation of input validation, gates, approvals, version guards and transactions, so no entry point can bypass a constraint the others enforce (方案 §8.1, 实施计划 M4.2).
|
Package app is the shared application service behind every devsys surface (CLI, MCP, file protocol): one implementation of input validation, gates, approvals, version guards and transactions, so no entry point can bypass a constraint the others enforce (方案 §8.1, 实施计划 M4.2). |
|
Package approval persists Approval records as one file per approval under .devsys/approvals/<id>.yaml (方案 §4.9/§5.8, 实施计划 M3.7) and implements the request → decide → consume lifecycle.
|
Package approval persists Approval records as one file per approval under .devsys/approvals/<id>.yaml (方案 §4.9/§5.8, 实施计划 M3.7) and implements the request → decide → consume lifecycle. |
|
Package archive implements M8.3 (方案 §14.2): conservative archiving of the append-only JSONL streams — project events and run streams — to keep the working tree small without losing history.
|
Package archive implements M8.3 (方案 §14.2): conservative archiving of the append-only JSONL streams — project events and run streams — to keep the working tree small without losing history. |
|
Package cli implements the devsys command surface: global switches, command dispatch, output rendering and the exit-code taxonomy.
|
Package cli implements the devsys command surface: global switches, command dispatch, output rendering and the exit-code taxonomy. |
|
Package config validates the managed metadata files devsys owns inside a project's .devsys/ directory (方案 §14.1/§14.2/§14.3, 实施计划 M0.4).
|
Package config validates the managed metadata files devsys owns inside a project's .devsys/ directory (方案 §14.1/§14.2/§14.3, 实施计划 M0.4). |
|
Package dispatch decides which work items a scheduling tick may start (方案 §4.8/§7.4): the ordering, the concurrency gates and the preconditions, as a pure function of the state the caller read.
|
Package dispatch decides which work items a scheduling tick may start (方案 §4.8/§7.4): the ordering, the concurrency gates and the preconditions, as a pure function of the state the caller read. |
|
Package domain defines the versioned, text-persisted project records.
|
Package domain defines the versioned, text-persisted project records. |
|
Package events appends and filters the project event stream under .devsys/events/<YYYY-MM>.jsonl (方案 §4.6, 实施计划 M1.3).
|
Package events appends and filters the project event stream under .devsys/events/<YYYY-MM>.jsonl (方案 §4.6, 实施计划 M1.3). |
|
Package harness is the execution layer: one adapter interface over the harnesses devsys can drive (方案 §9.1/§9.2) plus the shell adapter that runs an arbitrary command with line-level streaming.
|
Package harness is the execution layer: one adapter interface over the harnesses devsys can drive (方案 §9.1/§9.2) plus the shell adapter that runs an arbitrary command with line-level streaming. |
|
Package knowledge implements the knowledge layer's page contract and the bookkeeping that keeps the layer honest about which code it describes (方案 §12): the front matter every page carries, located validation, and the scan/freshness machinery the later milestones build on.
|
Package knowledge implements the knowledge layer's page contract and the bookkeeping that keeps the layer honest about which code it describes (方案 §12): the front matter every page carries, located validation, and the scan/freshness machinery the later milestones build on. |
|
Package mcp exposes the devsys application service over the Model Context Protocol using the official Go SDK (github.com/modelcontextprotocol/go-sdk).
|
Package mcp exposes the devsys application service over the Model Context Protocol using the official Go SDK (github.com/modelcontextprotocol/go-sdk). |
|
Package next evaluates a project's readiness verdict and the single recommended next action (方案 §7.4, 实施计划 M3.4).
|
Package next evaluates a project's readiness verdict and the single recommended next action (方案 §7.4, 实施计划 M3.4). |
|
Package project implements project-local devsys operations.
|
Package project implements project-local devsys operations. |
|
Package prompt assembles the text one attempt round hands to a harness (方案 §4.8): the first round carries the full task brief, later rounds carry only what changed and what is left, so a session's context is not rebuilt from scratch every round.
|
Package prompt assembles the text one attempt round hands to a harness (方案 §4.8): the first round carries the full task brief, later rounds carry only what changed and what is left, so a session's context is not rebuilt from scratch every round. |
|
Package reconcile implements M2.3 (orphan recovery) and M2.4 (state repair) per 方案 §15.4.
|
Package reconcile implements M2.3 (orphan recovery) and M2.4 (state repair) per 方案 §15.4. |
|
Package record persists Decision, Finding and Artifact records as one file per record under .devsys/{decisions,findings,artifacts}/<id>.yaml (方案 §14.3, 实施计划 M1.5).
|
Package record persists Decision, Finding and Artifact records as one file per record under .devsys/{decisions,findings,artifacts}/<id>.yaml (方案 §14.3, 实施计划 M1.5). |
|
Package registry manages the user-level project path registry defined in 方案 §14.4: it stores only project id, path and last_seen_at — never project state.
|
Package registry manages the user-level project path registry defined in 方案 §14.4: it stores only project id, path and last_seen_at — never project state. |
|
Package retry computes when a failed or stalled attempt may run again (方案 §15.4): an exponential backoff with a reproducible jitter.
|
Package retry computes when a failed or stalled attempt may run again (方案 §15.4): an exponential backoff with a reproducible jitter. |
|
Package run persists Run records under .devsys/runs/<id>.yaml (方案 §14.3, 实施计划 M1.4).
|
Package run persists Run records under .devsys/runs/<id>.yaml (方案 §14.3, 实施计划 M1.4). |
|
Package search scans .devsys/ text files for a keyword without any database or index (方案 §14.1, 实施计划 M1.6).
|
Package search scans .devsys/ text files for a keyword without any database or index (方案 §14.1, 实施计划 M1.6). |
|
Package sitestatic renders a view.Model as an offline static site (实施计划 M7.2, 方案 §17 两种形态之一)。
|
Package sitestatic renders a view.Model as an offline static site (实施计划 M7.2, 方案 §17 两种形态之一)。 |
|
Package storage implements the text state primitives required by 方案 §15.2: atomic single-file replacement, JSONL appends with torn-tail detection, stable-key YAML/JSON serialization, a project-level short write lock, optimistic version checks and a recoverable multi-file transaction log.
|
Package storage implements the text state primitives required by 方案 §15.2: atomic single-file replacement, JSONL appends with torn-tail detection, stable-key YAML/JSON serialization, a project-level short write lock, optimistic version checks and a recoverable multi-file transaction log. |
|
Package syncstatus implements the read-only inspection behind `devsys sync status` (实施计划 M8.1, 方案 §14.4).
|
Package syncstatus implements the read-only inspection behind `devsys sync status` (实施计划 M8.1, 方案 §14.4). |
|
Package version carries the build identity of the devsys CLI.
|
Package version carries the build identity of the devsys CLI. |
|
Package view assembles the read-only workspace view (方案 §17, 实施计划 M7.1): one snapshot of a project's blueprint, progress, runs, records and knowledge freshness, built from the .devsys/ state files and git state.
|
Package view assembles the read-only workspace view (方案 §17, 实施计划 M7.1): one snapshot of a project's blueprint, progress, runs, records and knowledge freshness, built from the .devsys/ state files and git state. |
|
Policy cache and last-known-good resolution (实施计划 M3.5, 方案 §5.3).
|
Policy cache and last-known-good resolution (实施计划 M3.5, 方案 §5.3). |
|
Package workitem — scheduling: claim / heartbeat / release / start / retry / repair.
|
Package workitem — scheduling: claim / heartbeat / release / start / retry / repair. |
|
Package workspace manages execution workspaces for runs (方案 §4.8): one workspace per work item below a configured root, its lifecycle hooks, and the path invariants that keep an agent inside its workspace.
|
Package workspace manages execution workspaces for runs (方案 §4.8): one workspace per work item below a configured root, its lifecycle hooks, and the path invariants that keep an agent inside its workspace. |
Click to show internal directories.
Click to hide internal directories.