Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
lyx
command
Package main is the cobra root for the lyx CLI.
|
Package main is the cobra root for the lyx CLI. |
|
testtiming
command
Command testtiming runs the repo's Go test suite and prints a wall-clock timing table, so a slow package or test is visible on its own rather than hidden in one combined number.
|
Command testtiming runs the repo's Go test suite and prints a wall-clock timing table, so a slow package or test is visible on its own rather than hidden in one combined number. |
|
contracts
|
|
|
internal
|
|
|
batcher
Package batcher groups a plan's flat card list into the execution units webster forks each run: a library of batchifier implementations behind the Batcher interface, a name-keyed registry those implementations self-register into, Select, which resolves a batcher by name, and Active, the config entry point callers reach for.
|
Package batcher groups a plan's flat card list into the execution units webster forks each run: a library of batchifier implementations behind the Batcher interface, a name-keyed registry those implementations self-register into, Select, which resolves a batcher by name, and Active, the config entry point callers reach for. |
|
battencli
cli.go builds the cobra command tree for the batten module and the RunCLI/RunCLIIn seams that wire it into the standard io.Writer-based call contract.
|
cli.go builds the cobra command tree for the batten module and the RunCLI/RunCLIIn seams that wire it into the standard io.Writer-based call contract. |
|
battenrecipe
Package battenrecipe owns the batten recipe's construction: parsing contracts/recipes.BattenRecipe and assembling it into a *shedengine.Shed against a caller-supplied shedrecipe.Env.
|
Package battenrecipe owns the batten recipe's construction: parsing contracts/recipes.BattenRecipe and assembling it into a *shedengine.Shed against a caller-supplied shedrecipe.Env. |
|
battenshed
Package battenshed owns the four task-worktree batten producers: creating the task worktree, seeding its own inner run, running that run inside it to a terminal state, and tearing it down.
|
Package battenshed owns the four task-worktree batten producers: creating the task worktree, seeding its own inner run, running that run inside it to a terminal state, and tearing it down. |
|
boardengine
sync.go — the background pusher that backs up the board to the remote.
|
sync.go — the background pusher that backs up the board to the remote. |
|
boardengine/boardtest
Package boardtest holds Loomyard's cross-cutting ("on-the-side") test suites for the boardengine module: benchmarks and concurrency stress tests.
|
Package boardtest holds Loomyard's cross-cutting ("on-the-side") test suites for the boardengine module: benchmarks and concurrency stress tests. |
|
buildinfo
Package buildinfo is a stdlib-free leaf existing solely so cmd/lyx and every future standalone CLI package can read the build channel with no cycle risk.
|
Package buildinfo is a stdlib-free leaf existing solely so cmd/lyx and every future standalone CLI package can read the build channel with no cycle risk. |
|
burlerengine
Package burlerengine runs one review+fix round over an artifact and returns a verdict.
|
Package burlerengine runs one review+fix round over an artifact and returns a verdict. |
|
clihelp
Package clihelp provides the shared cobra infrastructure used by cmd/lyx and every module's RunCLI seam.
|
Package clihelp provides the shared cobra infrastructure used by cmd/lyx and every module's RunCLI seam. |
|
cliwire
Package cliwire owns standalone/hub CLI wiring resolution for the standalone-capable CLIs -- webstercli and burlercli.
|
Package cliwire owns standalone/hub CLI wiring resolution for the standalone-capable CLIs -- webstercli and burlercli. |
|
discussionparser
Package discussionparser is the SOLE reader of `_lyx/discussion/`'s on-disk format: the decision record's required H2 sections and the support log's existence.
|
Package discussionparser is the SOLE reader of `_lyx/discussion/`'s on-disk format: the decision record's required H2 sections and the support log's existence. |
|
envsource
Package envsource reads environment variables from a .env file and OS environment.
|
Package envsource reads environment variables from a .env file and OS environment. |
|
fabriccli
envelope.go declares the helpers every mutating verb handler routes its output through: okWithRecord for the success path, errWithRecord for the failure path, and errConflictsWithRecord for the dedicated conflict-result failure path a merge verb takes when MergeResult.Conflicts is non-empty.
|
envelope.go declares the helpers every mutating verb handler routes its output through: okWithRecord for the success path, errWithRecord for the failure path, and errConflictsWithRecord for the dedicated conflict-result failure path a merge verb takes when MergeResult.Conflicts is non-empty. |
|
fabricengine
dirtiness.go holds the package's sole `git status --porcelain` probe.
|
dirtiness.go holds the package's sole `git status --porcelain` probe. |
|
friction
Package friction composes the self-report Tier 2 friction-note directive every prompt-composing engine injects into an agent's prompt, and the non-clobbering path that agent writes its optional note to.
|
Package friction composes the self-report Tier 2 friction-note directive every prompt-composing engine injects into an agent's prompt, and the non-clobbering path that agent writes its optional note to. |
|
frictionengine
Package frictionengine implements the Tier 2 aggregation-and-reflection step: it scans a task's friction directory for notes left behind by the agents that ran before it, and, when there is something to reflect on, spawns exactly one autonomous reflection agent over the aggregated notes through a narrow Shuttle seam.
|
Package frictionengine implements the Tier 2 aggregation-and-reflection step: it scans a task's friction directory for notes left behind by the agents that ran before it, and, when there is something to reflect on, spawns exactly one autonomous reflection agent over the aggregated notes through a narrow Shuttle seam. |
|
fslink
Package fslink provides a unified cross-platform link primitive that abstracts the differences between Windows junctions and POSIX symlinks.
|
Package fslink provides a unified cross-platform link primitive that abstracts the differences between Windows junctions and POSIX symlinks. |
|
githubclient
Package githubclient owns GitHub token resolution, token caching, and construction of an authenticated *github.Client -- nothing else.
|
Package githubclient owns GitHub token resolution, token caching, and construction of an authenticated *github.Client -- nothing else. |
|
gitignore
Package gitignore manages a single lyx-managed block in .gitignore that is shared across multiple modules.
|
Package gitignore manages a single lyx-managed block in .gitignore that is shared across multiple modules. |
|
gitkit
Package gitkit is the below-fabric leaf holding git primitives only: MustRun, SeedConfig, HermeticGitEnv, and CopyRepo.
|
Package gitkit is the below-fabric leaf holding git primitives only: MustRun, SeedConfig, HermeticGitEnv, and CopyRepo. |
|
gitrepo
Package gitrepo provides a typed Repo over a single local git checkout, split across two backends: go-git for local object and ref reads, and internal/gitexec's raw command runner for anything that authenticates to a remote or mutates the working tree.
|
Package gitrepo provides a typed Repo over a single local git checkout, split across two backends: go-git for local object and ref reads, and internal/gitexec's raw command runner for anything that authenticates to a remote or mutates the working tree. |
|
hubforge
Package hubforge is the repo-wide real-hub fixture factory: it builds every hub fixture through fabriccli.CloneAndWire and never replicates that wiring by hand.
|
Package hubforge is the repo-wide real-hub fixture factory: it builds every hub fixture through fabriccli.CloneAndWire and never replicates that wiring by hand. |
|
hubgeom
Package hubgeom is the hub-mode adapter that tells engines their geometry: it converts a resolved *lyxcwd.Location into the geometry struct each engine holds, so no engine derives its own coordinates from a Location itself.
|
Package hubgeom is the hub-mode adapter that tells engines their geometry: it converts a resolved *lyxcwd.Location into the geometry struct each engine holds, so no engine derives its own coordinates from a Location itself. |
|
landingshed
Package landingshed owns landing's two general producers, Publish and Finalize, which any producer list may name -- neither is special-cased by the engine that drives them.
|
Package landingshed owns landing's two general producers, Publish and Finalize, which any producer list may name -- neither is special-cased by the engine that drives them. |
|
logger
Package logger is a minimal log/slog wrapper shared across lyx's internal packages, extended with a process-wide trace identity, explicit-parent diagnostic spans, and a durable per-process trace-file sink.
|
Package logger is a minimal log/slog wrapper shared across lyx's internal packages, extended with a process-wide trace identity, explicit-parent diagnostic spans, and a durable per-process trace-file sink. |
|
loomcli
cli.go builds the cobra command tree for the loom module and the RunCLI seam that wires it into the standard io.Writer-based call contract.
|
cli.go builds the cobra command tree for the loom module and the RunCLI seam that wires it into the standard io.Writer-based call contract. |
|
loomengine
Package loomengine implements loom's own seed-coherence check, CheckSeed: one of the four preconditions a task must meet before it is fit to run, with the other three now internal/preflight's orchestrator-agnostic tier-1/tier-2 checks (worktree geometry, worktree cleanliness, fabric readiness/sync).
|
Package loomengine implements loom's own seed-coherence check, CheckSeed: one of the four preconditions a task must meet before it is fit to run, with the other three now internal/preflight's orchestrator-agnostic tier-1/tier-2 checks (worktree geometry, worktree cleanliness, fabric readiness/sync). |
|
loomrecipe
Package loomrecipe owns loom's recipe-backed producer-list construction and is the drop-in replacement for loomshed.New.
|
Package loomrecipe owns loom's recipe-backed producer-list construction and is the drop-in replacement for loomshed.New. |
|
loomshed
Package loomshed owns loom's own eight producer constructors, its fourteen durable row names, its status seeder, and its own cancellation helpers.
|
Package loomshed owns loom's own eight producer constructors, its fourteen durable row names, its status seeder, and its own cancellation helpers. |
|
lyxcwd
Package lyxcwd is the entry gate that converts "the process started somewhere" into "these are the coordinates of a legal lyx worktree, or here is why this is not one".
|
Package lyxcwd is the entry gate that converts "the process started somewhere" into "these are the coordinates of a legal lyx worktree, or here is why this is not one". |
|
lyxdirs
Package lyxdirs is a stdlib-free leaf existing solely so internal/configengine, internal/logger, internal/gitkit, internal/fabricengine and every module engine can name the two lyx directory tokens without any of them owning the pair, and without risking the internal/fabricengine -> internal/logger -> internal/lyxcwd import cycle.
|
Package lyxdirs is a stdlib-free leaf existing solely so internal/configengine, internal/logger, internal/gitkit, internal/fabricengine and every module engine can name the two lyx directory tokens without any of them owning the pair, and without risking the internal/fabricengine -> internal/logger -> internal/lyxcwd import cycle. |
|
mergeresolve
Package mergeresolve merges a source branch into the current pair and, on conflict, resolves it through a fresh, higher-capability LLM session run in a clean context, never a `/model` switch inside a polluted one.
|
Package mergeresolve merges a source branch into the current pair and, on conflict, resolves it through a fresh, higher-capability LLM session run in a clean context, never a `/model` switch inside a polluted one. |
|
modelspec
Package modelspec parses and resolves the model-spec notation every agent-spawning config in the stack uses to say which LLM runs a role (webster's roles, burler reviewers and judges, loom's producers).
|
Package modelspec parses and resolves the model-spec notation every agent-spawning config in the stack uses to say which LLM runs a role (webster's roles, burler reviewers and judges, loom's producers). |
|
pattern
Package pattern answers one question for every code-touching lyx agent — is PATTERN active in this worktree, and what should the agent be told? — and returns the role-appropriate directive text, read from a stencil file, to inject into that agent's prompt.
|
Package pattern answers one question for every code-touching lyx agent — is PATTERN active in this worktree, and what should the agent be told? — and returns the role-appropriate directive text, read from a stencil file, to inject into that agent's prompt. |
|
planglyph
doc.go documents internal/planglyph, the sole owner of every quarry.Repo call (Open, Resolve, DeltaGit) and of the package-level quarry.Name, and of the resolve-backed validation pass layered on top of internal/planparser's pure checks.
|
doc.go documents internal/planglyph, the sole owner of every quarry.Repo call (Open, Resolve, DeltaGit) and of the package-level quarry.Name, and of the resolve-backed validation pass layered on top of internal/planparser's pure checks. |
|
planparser
Package planparser is the SOLE parser AND SOLE writer of the on-disk plan format written under `_lyx/plan/` (see contracts/specs/loom-plan-spec.md, the pinned spec this package implements).
|
Package planparser is the SOLE parser AND SOLE writer of the on-disk plan format written under `_lyx/plan/` (see contracts/specs/loom-plan-spec.md, the pinned spec this package implements). |
|
preflight
Package preflight is the orchestrator-agnostic home of the tier-1 and tier-2 preconditions every composing orchestrator — today only loomengine — validates before it runs: worktree geometry, worktree pair cleanliness, and fabric readiness/sync, plus the two cheap predicates and the mode resolver a standalone-capable CLI's pre-run consults before every command.
|
Package preflight is the orchestrator-agnostic home of the tier-1 and tier-2 preconditions every composing orchestrator — today only loomengine — validates before it runs: worktree geometry, worktree pair cleanliness, and fabric readiness/sync, plus the two cheap predicates and the mode resolver a standalone-capable CLI's pre-run consults before every command. |
|
preflightshed
Package preflightshed owns the general Preflight producer -- a content-free shedengine.ShedProducer wrapping internal/preflight.Check -- which any producer list may name, the same way internal/landingshed frames Publish and Finalize as producers "shared by reference" rather than owned by one product.
|
Package preflightshed owns the general Preflight producer -- a content-free shedengine.ShedProducer wrapping internal/preflight.Check -- which any producer list may name, the same way internal/landingshed frames Publish and Finalize as producers "shared by reference" rather than owned by one product. |
|
reedengine
Package reedengine is the domain kernel for lyx's tmux window manager: the tmux subprocess overlay, strand bookkeeping, persisted state, config, and (in the operations layer) the lifecycle verbs that compose them.
|
Package reedengine is the domain kernel for lyx's tmux window manager: the tmux subprocess overlay, strand bookkeeping, persisted state, config, and (in the operations layer) the lifecycle verbs that compose them. |
|
reedengine/render
Package render owns the closed display vocabulary and the deterministic Rules(strands, box, params) -> (layout, focus) function that turns a set of strands into a tmux window_layout string.
|
Package render owns the closed display vocabulary and the deterministic Rules(strands, box, params) -> (layout, focus) function that turns a set of strands into a tmux window_layout string. |
|
selfreportcli
Package selfreportcli provides the cobra command tree for filing LoomYard bugs and enhancements as GitHub issues directly from lyx.exe.
|
Package selfreportcli provides the cobra command tree for filing LoomYard bugs and enhancements as GitHub issues directly from lyx.exe. |
|
selfreportengine
Package selfreportengine provides the domain kernel for filing GitHub issues via githubclient's authenticated go-github client.
|
Package selfreportengine provides the domain kernel for filing GitHub issues via githubclient's authenticated go-github client. |
|
shedadapters
Package shedadapters holds the four shedengine.ShedProducer adapters that let a Shed-built product drive shuttle, Webster, one burlerengine round, and the generic review-gate Bouncer as ordinary producers in its own flat producer list.
|
Package shedadapters holds the four shedengine.ShedProducer adapters that let a Shed-built product drive shuttle, Webster, one burlerengine round, and the generic review-gate Bouncer as ordinary producers in its own flat producer list. |
|
shedbuild
Package shedbuild owns the recipe file format: decoding a recipe document into a Recipe and assembling a Recipe plus a caller-supplied shedrecipe.Env into the []shedengine.ProducerDef that shedengine.Shed already consumes unchanged.
|
Package shedbuild owns the recipe file format: decoding a recipe document into a Recipe and assembling a Recipe plus a caller-supplied shedrecipe.Env into the []shedengine.ProducerDef that shedengine.Shed already consumes unchanged. |
|
shedcheck
Package shedcheck is an authoring-time structural analysis of an assembled shedengine producer graph: it walks the OnDone/OnStuck routing the same way shedengine.Run would, without ever calling a producer, and reports every structural defect it finds.
|
Package shedcheck is an authoring-time structural analysis of an assembled shedengine producer graph: it walks the OnDone/OnStuck routing the same way shedengine.Run would, without ever calling a producer, and reports every structural defect it finds. |
|
shedcli
Package shedcli builds the "lyx shed" subtree: a named-recipe arming table plus the three CLI seams (Command, RunCLI, RunCLIIn) that register it under the lyx root.
|
Package shedcli builds the "lyx shed" subtree: a named-recipe arming table plus the three CLI seams (Command, RunCLI, RunCLIIn) that register it under the lyx root. |
|
shedengine
Package shedengine is a generic outer phase-FSM: it walks one flat, ordered list of producers, with no predefined slots, honoring resume, crash-recovery, and pause uniformly at producer granularity.
|
Package shedengine is a generic outer phase-FSM: it walks one flat, ordered list of producers, with no predefined slots, honoring resume, crash-recovery, and pause uniformly at producer granularity. |
|
shedrecipe
Package shedrecipe owns the engine registry: the name to shedengine.ShedProducer-constructor mapping a future recipe loader resolves each row's Engine field against.
|
Package shedrecipe owns the engine registry: the name to shedengine.ShedProducer-constructor mapping a future recipe loader resolves each row's Engine field against. |
|
shedrun
Package shedrun is the sole declarer of the "shed" run-directory path segment, of the run-id vocabulary (including the reserved literal "self"), and of the seed.json contract: the file that records a run's chosen recipe, driver, and parameters at seed time.
|
Package shedrun is the sole declarer of the "shed" run-directory path segment, of the run-id vocabulary (including the reserved literal "self"), and of the seed.json contract: the file that records a run's chosen recipe, driver, and parameters at seed time. |
|
shedverbs
Package shedverbs implements the generic cobra verb bodies -- run, step, status, and pause -- shared by every module that arms a *shedengine.Shed onto a CLI subtree.
|
Package shedverbs implements the generic cobra verb bodies -- run, step, status, and pause -- shared by every module that arms a *shedengine.Shed onto a CLI subtree. |
|
shuttleengine
Package shuttleengine runs one LLM agent as an interactive session and returns its result.
|
Package shuttleengine runs one LLM agent as an interactive session and returns its result. |
|
shuttleengine/claudeengine
Package claudeengine is the Claude adapter behind shuttleengine.Engine: all Claude-specific knowledge — CLI flags, the settings.json hook schema, TUI startup/trust markers, and pane key choreography — lives here and nowhere else.
|
Package claudeengine is the Claude adapter behind shuttleengine.Engine: all Claude-specific knowledge — CLI flags, the settings.json hook schema, TUI startup/trust markers, and pane key choreography — lives here and nowhere else. |
|
standalonegeom
Package standalonegeom is the told-mode sibling of internal/hubgeom: it builds engine geometry structs from told strings alone, never resolving cwd and never reading the environment.
|
Package standalonegeom is the told-mode sibling of internal/hubgeom: it builds engine geometry structs from told strings alone, never resolving cwd and never reading the environment. |
|
standalonestate
Package standalonestate is a stdlib-only leaf that derives a per-target-directory hash8 and per-OS state directory, so every standalone CLI package can import it with no cycle risk.
|
Package standalonestate is a stdlib-only leaf that derives a per-target-directory hash8 and per-OS state directory, so every standalone CLI package can import it with no cycle risk. |
|
state
Package state provides generic locked typed JSON I/O for persistent state, and states the rule that governs a locked-JSON read-modify-write: it must hold one lock across both the read and the write.
|
Package state provides generic locked typed JSON I/O for persistent state, and states the rule that governs a locked-JSON read-modify-write: it must hold one lock across both the read and the write. |
|
stencilstore
Package stencilstore owns the entire stencil lifecycle -- seeding, hash-stamping, edit detection, reading, and validation -- against a caller-supplied absolute stencils directory.
|
Package stencilstore owns the entire stencil lifecycle -- seeding, hash-stamping, edit detection, reading, and validation -- against a caller-supplied absolute stencils directory. |
|
summaryparser
Package summaryparser is the sole declarer of the final-summary artifact's filename and the sole parser of its format.
|
Package summaryparser is the sole declarer of the final-summary artifact's filename and the sole parser of its format. |
|
tokenvocab
Package tokenvocab is the shared token vocabulary for prompt/template rendering across lyx: today reed's status-line text pipeline, later loom's prompt templates.
|
Package tokenvocab is the shared token vocabulary for prompt/template rendering across lyx: today reed's status-line text pipeline, later loom's prompt templates. |
|
treadleengine
Package treadleengine is the generalized round-loop engine: it spawns a round via a caller-supplied RoundRunner each iteration, gates convergence (llm-verdict / command / both), runs an ephemeral progress judge against a milestone-capped round ladder, and persists per-round state for crash/pause resume — all of it behind a seam, so a consumer supplies a round-runner without duplicating any of this machinery.
|
Package treadleengine is the generalized round-loop engine: it spawns a round via a caller-supplied RoundRunner each iteration, gates convergence (llm-verdict / command / both), runs an ephemeral progress judge against a milestone-capped round ladder, and persists per-round state for crash/pause resume — all of it behind a seam, so a consumer supplies a round-runner without duplicating any of this machinery. |
|
webstercli
awaitbatch.go implements the `await-batch` webster verb: the bounded long-poll Master calls between forking a batch's implementer and recording it.
|
awaitbatch.go implements the `await-batch` webster verb: the bounded long-poll Master calls between forking a batch's implementer and recording it. |
|
websterengine
Package websterengine is the domain kernel behind webster, a fork-based implementer loop: instead of spawning a fresh reed/tmux strand per batch, one long-lived Master session reads the codebase and the whole plan once, then forks one implementer per execution batch in-session (Claude Code's Agent tool, subagent_type "fork"), sequentially — one fork at a time, one worktree — in an order sequence.go derives from the cards' own declared dependencies, not the plan's declared order.
|
Package websterengine is the domain kernel behind webster, a fork-based implementer loop: instead of spawning a fresh reed/tmux strand per batch, one long-lived Master session reads the codebase and the whole plan once, then forks one implementer per execution batch in-session (Claude Code's Agent tool, subagent_type "fork"), sequentially — one fork at a time, one worktree — in an order sequence.go derives from the cards' own declared dependencies, not the plan's declared order. |
|
tools
|
|
|
deploy
command
Command deploy builds lyx and installs it into a directory on PATH.
|
Command deploy builds lyx and installs it into a directory on PATH. |
|
godocreflow
command
Command godocreflow reflows the text of Go doc-comment blocks -- file-level header comments, package doc comments, and comments immediately preceding an exported declaration -- to semantic line breaks (one sentence per line, plus a break at an internal independent-clause boundary), per the golang-comments skill's "Line-wrap style" section.
|
Command godocreflow reflows the text of Go doc-comment blocks -- file-level header comments, package doc comments, and comments immediately preceding an exported declaration -- to semantic line breaks (one sentence per line, plus a break at an internal independent-clause boundary), per the golang-comments skill's "Line-wrap style" section. |
|
internal/devbin
Package devbin locates the repository root and the derived `.dev-bin` directory used to install and resolve dev/test builds of lyx, keeping that derivation in exactly one place in the codebase.
|
Package devbin locates the repository root and the derived `.dev-bin` directory used to install and resolve dev/test builds of lyx, keeping that derivation in exactly one place in the codebase. |
|
mdreflow
command
Command mdreflow is a one-shot (and repeatable) repo sweep tool for the mill:markdown skill's semantic-line-break rule: reflow markdown prose and list-item paragraphs to one-sentence-per-line, with extra breaks at internal clause boundaries (semicolon, or comma+coordinating- conjunction+explicit-subject).
|
Command mdreflow is a one-shot (and repeatable) repo sweep tool for the mill:markdown skill's semantic-line-break rule: reflow markdown prose and list-item paragraphs to one-sentence-per-line, with extra breaks at internal clause boundaries (semicolon, or comma+coordinating- conjunction+explicit-subject). |
|
sandbox
command
|
|
|
wordswap
command
Command wordswap performs a case-preserving whole-token substitution of one word for another across files of any language: identifiers, comments, string literals, shell variables, and markdown prose all substitute through the same mechanism.
|
Command wordswap performs a case-preserving whole-token substitution of one word for another across files of any language: identifiers, comments, string literals, shell variables, and markdown prose all substitute through the same mechanism. |
Click to show internal directories.
Click to hide internal directories.