Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wi
command
Command wi is the workspace-isolation CLI entry point: the SINGLE main package and the SINGLE os.Exit site in the tree (via exitcontract.Exit, DESIGN §4).
|
Command wi is the workspace-isolation CLI entry point: the SINGLE main package and the SINGLE os.Exit site in the tree (via exitcontract.Exit, DESIGN §4). |
|
internal
|
|
|
baseref
Package baseref is the seam that turns a base declared as an ordered candidate list (defaults.base / repo.base = ["dev","main"] = "prefer dev, else main", DESIGN §1) into the single effective base branch the domain cores consume.
|
Package baseref is the seam that turns a base declared as an ordered candidate list (defaults.base / repo.base = ["dev","main"] = "prefer dev, else main", DESIGN §1) into the single effective base branch the domain cores consume. |
|
cli
Package cli is wi's uniform command pipeline (DESIGN §4): it turns a command's typed domain Result into exactly one well-formed envelope on stdout and the matching process exit code, and it is the SOLE place envelopes are assembled, serialized, and exit codes computed (domain packages return plain structs and never touch the wire).
|
Package cli is wi's uniform command pipeline (DESIGN §4): it turns a command's typed domain Result into exactly one well-formed envelope on stdout and the matching process exit code, and it is the SOLE place envelopes are assembled, serialized, and exit codes computed (domain packages return plain structs and never touch the wire). |
|
cli/opid
Package opid mints and validates wi operation identifiers (op_id), the single volatile field in the envelope (DESIGN §2 determinism: an envelope is byte-identical across runs modulo op_id and timestamps; DESIGN §3.1, §8).
|
Package opid mints and validates wi operation identifiers (op_id), the single volatile field in the envelope (DESIGN §2 determinism: an envelope is byte-identical across runs modulo op_id and timestamps; DESIGN §3.1, §8). |
|
clock
Package clock is wi's injectable seam for the two volatile inputs that would otherwise make output non-reproducible: wall-clock time and randomness (DESIGN §2 determinism, §4).
|
Package clock is wi's injectable seam for the two volatile inputs that would otherwise make output non-reproducible: wall-clock time and randomness (DESIGN §2 determinism, §4). |
|
config
Package config is the SOLE owner of wi's committed declarative manifest, <root>/wi.config.jsonc (DESIGN §1, §map).
|
Package config is the SOLE owner of wi's committed declarative manifest, <root>/wi.config.jsonc (DESIGN §1, §map). |
|
contract
Package contract is the SOLE owner of wi's wire contract: the closed enums, exit codes, capability vocabulary, and (in later units) the Envelope wire type.
|
Package contract is the SOLE owner of wi's wire contract: the closed enums, exit codes, capability vocabulary, and (in later units) the Envelope wire type. |
|
doctor
Package doctor is the read-only health-diagnosis domain behind `wi doctor` (alias `wi check`), the last HEAL layer (HEAL-8, DESIGN §7.5).
|
Package doctor is the read-only health-diagnosis domain behind `wi doctor` (alias `wi check`), the last HEAL layer (HEAL-8, DESIGN §7.5). |
|
exitcontract
Package exitcontract is the single chokepoint between a command's typed outcome and the process exit code (DESIGN §3.2, IMPLEMENTATION_PLAN Wave A).
|
Package exitcontract is the single chokepoint between a command's typed outcome and the process exit code (DESIGN §3.2, IMPLEMENTATION_PLAN Wave A). |
|
fault
Package fault is wi's deterministic fault-injection seam: the WI_FAULT half of the (guard → mutant) methodology (IMPLEMENTATION_PLAN §1).
|
Package fault is wi's deterministic fault-injection seam: the WI_FAULT half of the (guard → mutant) methodology (IMPLEMENTATION_PLAN §1). |
|
gc
Package gc is wi's evidence-positive garbage-collection core (HEAL-2, DESIGN §7.1).
|
Package gc is wi's evidence-positive garbage-collection core (HEAL-2, DESIGN §7.1). |
|
git
Package git provides wi's deterministic, typed git verbs on top of internal/gitexec (DESIGN §4).
|
Package git provides wi's deterministic, typed git verbs on top of internal/gitexec (DESIGN §4). |
|
gitexec
Package gitexec is the single chokepoint through which wi launches every git child process (DESIGN §4, §2.3).
|
Package gitexec is the single chokepoint through which wi launches every git child process (DESIGN §4, §2.3). |
|
help
Package help is wi's SOLE owner of the progressive-disclosure help model and the next[] follow-up rules (DESIGN §3.1 "internal/help — progressive-disclosure help model + next[] rules (SOLE owner)" / IMPLEMENTATION_PLAN M3).
|
Package help is wi's SOLE owner of the progressive-disclosure help model and the next[] follow-up rules (DESIGN §3.1 "internal/help — progressive-disclosure help model + next[] rules (SOLE owner)" / IMPLEMENTATION_PLAN M3). |
|
host
Package host derives stable facts about the machine and the current boot that wi stamps into lock-holder identity — the {pid, host, boot_id, op_id} body of a lock file (DESIGN §6 / §7.3).
|
Package host derives stable facts about the machine and the current boot that wi stamps into lock-holder identity — the {pid, host, boot_id, op_id} body of a lock file (DESIGN §6 / §7.3). |
|
invariants
Package invariants holds architecture-level fitness guards that constrain the whole module rather than any single package — the DESIGN.md §2 invariants.
|
Package invariants holds architecture-level fitness guards that constrain the whole module rather than any single package — the DESIGN.md §2 invariants. |
|
isolate
Package isolate is the domain core of `wi isolate new`: it materializes one detached worktree per declared repo off the SSOT base, recording progress in internal/state as it goes (DESIGN §1, §6.3).
|
Package isolate is the domain core of `wi isolate new`: it materializes one detached worktree per declared repo off the SSOT base, recording progress in internal/state as it goes (DESIGN §1, §6.3). |
|
journal
This file is the offline roll-forward executor of HEAL-4 (DESIGN §7.4, PLAN 76-77, decision #4).
|
This file is the offline roll-forward executor of HEAL-4 (DESIGN §7.4, PLAN 76-77, decision #4). |
|
land
Package land returns an isolate's committed work into the SSOT base — the inverse of sync (DESIGN §1, §7.2).
|
Package land returns an isolate's committed work into the SSOT base — the inverse of sync (DESIGN §1, §7.2). |
|
landstate
Package landstate is the SOLE owner of wi's durable parked-land accounting under <root>/.wi/land/<task>.json (DESIGN §map line 162, §7.2).
|
Package landstate is the SOLE owner of wi's durable parked-land accounting under <root>/.wi/land/<task>.json (DESIGN §map line 162, §7.2). |
|
layout
Package layout is the SOLE owner of every filesystem path under a wi project root (DESIGN §1, §4).
|
Package layout is the SOLE owner of every filesystem path under a wi project root (DESIGN §1, §4). |
|
lock
Package lock is the SOLE owner of wi's advisory lock-key namespace and the single total order in which any set of those keys is acquired (DESIGN §6.1).
|
Package lock is the SOLE owner of wi's advisory lock-key namespace and the single total order in which any set of those keys is acquired (DESIGN §6.1). |
|
lockfs
Package lockfs owns wi's two filesystem-durability primitives: the SINGLE atomic file writer every .wi/ state writer reuses (this file, DESIGN §6.2) and, in a sibling file, the advisory flock used to serialize concurrent wi processes.
|
Package lockfs owns wi's two filesystem-durability primitives: the SINGLE atomic file writer every .wi/ state writer reuses (this file, DESIGN §6.2) and, in a sibling file, the advisory flock used to serialize concurrent wi processes. |
|
mirror
Package mirror owns wi's cached SSOT freshness metadata (DESIGN §5).
|
Package mirror owns wi's cached SSOT freshness metadata (DESIGN §5). |
|
recovery
Package recovery wires the journal's offline roll-forward executor to the domains that complete each kind of interrupted operation (HEAL-4 sub-unit 3d-iii, DESIGN §7.4).
|
Package recovery wires the journal's offline roll-forward executor to the domains that complete each kind of interrupted operation (HEAL-4 sub-unit 3d-iii, DESIGN §7.4). |
|
resolve
Package resolve derives the path bundle behind `wi resolve <task>` (and the resolve block isolate responses embed) — DESIGN §3.1, §map line 166.
|
Package resolve derives the path bundle behind `wi resolve <task>` (and the resolve block isolate responses embed) — DESIGN §3.1, §map line 166. |
|
state
Package state is the SOLE owner of wi's runtime registry under <root>/.wi/state/ (DESIGN §map line 168).
|
Package state is the SOLE owner of wi's runtime registry under <root>/.wi/state/ (DESIGN §map line 168). |
|
suggest
Package suggest is wi's SOLE owner of the "did you mean" engine (DESIGN §3.1 / IMPLEMENTATION_PLAN M3): one hand-rolled Levenshtein distance plus the candidate selector the dispatcher uses to turn an unknown command into the envelope's did_you_mean[] hint.
|
Package suggest is wi's SOLE owner of the "did you mean" engine (DESIGN §3.1 / IMPLEMENTATION_PLAN M3): one hand-rolled Levenshtein distance plus the candidate selector the dispatcher uses to turn an unknown command into the envelope's did_you_mean[] hint. |
|
sync
Package sync is the domain core of `wi sync`: it materializes and advances each requested repo's SSOT mirror to its origin base tip, then records what the fetch observed as a freshness Snapshot (DESIGN §5).
|
Package sync is the domain core of `wi sync`: it materializes and advances each requested repo's SSOT mirror to its origin base tip, then records what the fetch observed as a freshness Snapshot (DESIGN §5). |
|
testenv
Package testenv is wi's hermetic real-git test harness (PLAN §M0).
|
Package testenv is wi's hermetic real-git test harness (PLAN §M0). |
|
version
Package version derives wi's build identity from the binary itself — the module version, the toolchain, and the VCS stamps the Go toolchain embeds at build time.
|
Package version derives wi's build identity from the binary itself — the module version, the toolchain, and the VCS stamps the Go toolchain embeds at build time. |
|
Package schema embeds the published wire-contract JSON Schema so it can be served by `wi schema` and validated against in tests without cwd-relative path lookups.
|
Package schema embeds the published wire-contract JSON Schema so it can be served by `wi schema` and validated against in tests without cwd-relative path lookups. |
Click to show internal directories.
Click to hide internal directories.