Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0851f18
docs(specs): specify Managed Controller in-process execution
thxCode Nov 30, 2026
c02bc16
docs(specs): plan Managed Controller in-process execution after desig…
thxCode Nov 30, 2026
6039917
docs(specs): reconcile exec prompt source, usage file, and timeout fit
thxCode Nov 30, 2026
5ee90d6
docs(specs): assign the optional isolation field to T9
thxCode Nov 30, 2026
e550ecb
feat(evolution): add campaign snapshots and optional isolation field
thxCode Nov 30, 2026
d8731e9
feat(controller): validate command.v1 handlers, host.localChecks, and…
thxCode Nov 30, 2026
3e3fc0e
feat(core): export exec and local-check limits from the package root
thxCode Nov 30, 2026
1711a2e
refactor(controller): move candidate workspace helpers into candidate…
thxCode Nov 30, 2026
b5d4ff1
feat(controller): add the exec role runner with an allowlisted child …
thxCode Dec 1, 2026
8cfd55b
test(hardware-runner): record the native_os namespace feasibility probe
thxCode Dec 1, 2026
079f662
feat(controller): run command.v1 checks in-process through LocalCheck
thxCode Dec 1, 2026
7bb3749
feat(controller): admit, dispatch, and recover command.v1 checks end …
thxCode Dec 1, 2026
48a3f05
fix(controller): harden LocalCheck, exec-role, scrubber, and isolatio…
thxCode Dec 1, 2026
fbb85d6
fix(evolution): harden campaign snapshot secrets, bounds, receipt bin…
thxCode Dec 1, 2026
5b6b211
test(hardware-runner): track sanitized probe evidence and refine name…
thxCode Dec 1, 2026
bc3b090
docs(specs): align pre-T6 fixes, T7 usage ledger, and operator/forgev…
thxCode Dec 1, 2026
c719a0a
feat(controller): integrate exec role adapter across compile, dispatc…
thxCode Dec 1, 2026
fe92783
feat(controller): aggregate exec usage ledger and classify exec runs …
thxCode Dec 1, 2026
88d92bd
docs(closure): expand closure ledger to 26 rows, add ADR 0003 and iso…
thxCode Dec 1, 2026
1545830
feat(cli): add campaign snapshot CLI commands, fix per-candidate lock…
thxCode Dec 1, 2026
1c8f599
docs(hardware-runner): document namespaces_blocked probe verdict and …
thxCode Dec 1, 2026
c027f83
docs(references): sync Zone 2 reference tables and mark spec shipped
thxCode Dec 1, 2026
3487777
fixup! fix(controller): harden LocalCheck, exec-role, scrubber, and i…
thxCode Dec 1, 2026
543fce4
fixup! feat(controller): integrate exec role adapter across compile, …
thxCode Dec 1, 2026
4bf83cf
fixup! fix(evolution): harden campaign snapshot secrets, bounds, rece…
thxCode Dec 1, 2026
0aaf5a5
fixup! fix(controller): harden LocalCheck, exec-role, scrubber, and i…
thxCode Dec 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions .agents/skills/loopwright-docs/references/page-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

One file owns each technical fact, schema dictionary, or operational workflow. When multiple pages touch a subject, the owning file states the normative contract and every other page links to it within allowed zone boundaries.

## Three-Zone Architecture (`34` Markdown Files Under `docs/`)
## Three-Zone Architecture (`37` Markdown Files Under `docs/`)

Loopwright maintains **`34` Markdown files** under `docs/`: **`1` shared index** (`docs/README.md`) plus **`33` zone pages** partitioned into three strict zones:
Loopwright maintains **`37` Markdown files** under `docs/`: **`1` shared index** (`docs/README.md`) plus **`36` zone pages** partitioned into three strict zones:

- **15 Public Human Site Pages (`Site Published: yes`)**: Built into the Hugo static site (`site/public/`) across `4` groups (`Getting Started`, `Operations`, `Walkthroughs`, `Configuration`), registered under `docs/README.md` `## All pages`, listed in `site/data/navigation.yaml`, `site/content/docs/_index.md`, and `site/layouts/index.html`, indexed in `index.json` and `sitemap.xml`, and exported to `site/public/llms.txt` topic sections.
- **17 Public Human Site Pages (`Site Published: yes`)**: Built into the Hugo static site (`site/public/`) across `4` groups (`Getting Started`, `Operations`, `Walkthroughs`, `Configuration`), registered under `docs/README.md` `## All pages`, listed in `site/data/navigation.yaml`, `site/content/docs/_index.md`, and `site/layouts/index.html`, indexed in `index.json` and `sitemap.xml`, and exported to `site/public/llms.txt` topic sections.
- **6 Flat LLM Reference Pages (`Site Published: static /references/*.md`)**: Flat `docs/references/*.md` files (`README.md` hub + `5` topic references; `0` subdirectories) excluded from HTML navigation, `index.json`, and `sitemap.xml`, staged with rewritten links by `scripts/site.mjs` (`stageReferenceDocs()`) into `site/resources/references/` → `site/public/references/*.md`, and dynamically emitted under `## Reference` in `docs/README.md` and `site/public/llms.txt`.
- **12 Repo-Only `Contribute` Pages (`Site Published: no (repo-only)`)**: `docs/development.md`, `docs/contribute/{internals,identity,evidence,state,pi-adapter,runner-taskpack,memory,github-app-internals,closure-matrix}.md`, and `docs/contribute/adr/{0001-local-state-authority,0002-isolated-pi-sdk}.md` excluded from Hugo HTML, `index.json`, and `sitemap.xml`, registered under `docs/README.md` `## Contribute`, and emitted under `site/public/llms.txt` `## Optional` as GitHub `blob/<sourceRef>` URLs.
- **One-Way Public Link Isolation**: None of the `15` public `docs/` pages or `site/content/**` files may link to `development.md`, `contribute/**`, or `references/**` (via relative, root-relative, or same-origin URLs). `docs/references/*.md` and `docs/contribute/**` may freely link inward to public pages.
- **13 Repo-Only `Contribute` Pages (`Site Published: no (repo-only)`)**: `docs/development.md`, `docs/contribute/{internals,identity,evidence,state,pi-adapter,runner-taskpack,memory,github-app-internals,closure-matrix}.md`, and `docs/contribute/adr/{0001-local-state-authority,0002-isolated-pi-sdk,0003-linux-sqlite-profiles}.md` excluded from Hugo HTML, `index.json`, and `sitemap.xml`, registered under `docs/README.md` `## Contribute`, and emitted under `site/public/llms.txt` `## Optional` as GitHub `blob/<sourceRef>` URLs.
- **One-Way Public Link Isolation**: None of the `17` public `docs/` pages or `site/content/**` files may link to `development.md`, `contribute/**`, or `references/**` (via relative, root-relative, or same-origin URLs). `docs/references/*.md` and `docs/contribute/**` may freely link inward to public pages.

## Zone 1: Public Human Site Inventory (`15` Pages Across `4` Groups)
## Zone 1: Public Human Site Inventory (`17` Pages Across `4` Groups)

Every public page (`Site Published: yes`) obeys strict **1:1:1 alignment**: `docs/<slugify(group)>/<slugify(title)>.md`, with `Exact # H1 Title === docs/README.md All pages Label === navigation.yaml Label`, `<= 8` content `##` H2 sections, and both `**See also**` and `**Next**` reading footer lines.

Expand All @@ -25,13 +25,15 @@ Every public page (`Site Published: yes`) obeys strict **1:1:1 alignment**: `doc
| `operations/coding-agents.md` | Operations | `yes` | `Coding Agents` | `Coding Agents` | `<= 400` | Host coding agent operators | `@loopwright/controller`, `@loopwright/cli`, `@loopwright/taskpack`; `specs/2026-11-14-delegated-role-stepping-and-multi-model-routing.md` |
| `walkthroughs/declarative-taskpack.md` | Walkthroughs | `yes` | `Declarative Taskpack` | `Declarative Taskpack` | `<= 400` | Repo maintainers | `@loopwright/taskpack`, `@loopwright/github-app`, `@loopwright/taskpack-runner` |
| `walkthroughs/managed-controller.md` | Walkthroughs | `yes` | `Managed Controller` | `Managed Controller` | `<= 400` | Platform & CLI operators | `@loopwright/controller`, `@loopwright/cli`, `@loopwright/core` |
| `walkthroughs/managed-controller-in-isolated-host.md` | Walkthroughs | `yes` | `Managed Controller in Isolated Host` | `Managed Controller in Isolated Host` | `<= 400` | Platform & sandbox operators | `@loopwright/controller`, `@loopwright/cli`, `@loopwright/core`; `specs/2026-11-30-managed-controller-in-process-execution.md` |
| `walkthroughs/evolutionary-campaign.md` | Walkthroughs | `yes` | `Evolutionary Campaign` | `Evolutionary Campaign` | `<= 400` | Kernel & optimization engineers | `@loopwright/evolution`, `@loopwright/hardware-runner`, `@loopwright/cli` |
| `configuration/taskpack.md` | Configuration | `yes` | `Taskpack` | `Taskpack` | `<= 400` | Repo maintainers | `@loopwright/taskpack`; `specs/2026-11-20-decouple-taskpack-and-cas-blob-pointers.md` |
| `configuration/task-contract.md` | Configuration | `yes` | `Task Contract` | `Task Contract` | `<= 400` | Integrators & engineers | `@loopwright/core`; `specs/2026-11-05-task-contracts-and-evidence.md` |
| `configuration/controller-and-registry.md` | Configuration | `yes` | `Controller and Registry` | `Controller and Registry` | `<= 400` | Controller & CLI operators | `@loopwright/controller`; `specs/2026-11-06-bounded-controller-and-trusted-config.md` |
| `configuration/sandbox-backends.md` | Configuration | `yes` | `Sandbox Backends` | `Sandbox Backends` | `<= 400` | Platform & security engineers | `@loopwright/agent-pi`, `@loopwright/taskpack`; `specs/2026-11-11-native-os-sandbox-execution-backends.md` |
| `configuration/decision-routing.md` | Configuration | `yes` | `Decision Routing` | `Decision Routing` | `<= 400` | Triage & policy operators | `@loopwright/decisions`; `specs/2026-11-11-jev-decision-routing-and-controlled-benchmark.md` |
| `configuration/evolution-campaign.md` | Configuration | `yes` | `Evolution Campaign` | `Evolution Campaign` | `<= 400` | Kernel & optimization engineers | `@loopwright/evolution`; `specs/2026-11-23-evolutionary-campaigns-pareto-archive-and-bundle-export.md` |
| `configuration/campaign-snapshots.md` | Configuration | `yes` | `Campaign Snapshots` | `Campaign Snapshots` | `<= 400` | Kernel & optimization engineers | `@loopwright/evolution`, `@loopwright/cli`; `specs/2026-11-30-managed-controller-in-process-execution.md` |

## Zone 2: Flat LLM Reference Inventory (`6` Flat `docs/references/*.md` Files)

Expand All @@ -46,7 +48,7 @@ Every flat reference file opens with `Evidence: contract.`, ends with `**See als
| `references/cli-and-action-reference.md` | `static (/references/cli-and-action-reference.md)` | `CLI and Action Reference` | `<= 800` | `operations/{github-action,cli,github-app}.md` | Complete 44 `action.yml` inputs and 6 outputs, all 23 `@gpustack/loopwright` CLI subcommand actions and flags, CLI exit codes, and `GitHubAppConfig` bounds |
| `references/coding-agent-protocol.md` | `static (/references/coding-agent-protocol.md)` | `Coding Agent Protocol Reference` | `<= 800` | `operations/coding-agents.md` | `StepYield` NDJSON schema, lease/confinement error codes, exit codes, and the verified `node -e` `candidate.files.json` overlay-apply script (kept identical to `loopwright-step/SKILL.md`) |

## Zone 3: Repo-Only `Contribute` Inventory (`12` Pages)
## Zone 3: Repo-Only `Contribute` Inventory (`13` Pages)

Every contributor page (`Site Published: no (repo-only)`) is registered in `docs/README.md` `## Contribute` (`<= 10` content `##` H2 sections) and emitted under `llms.txt` `## Optional` as a GitHub `blob/<sourceRef>` URL.

Expand All @@ -64,17 +66,18 @@ Every contributor page (`Site Published: no (repo-only)`) is registered in `docs
| `contribute/closure-matrix.md` | Contribute (Repo-Only) | `no (repo-only)` | `Capability Closure Matrix and Failure Semantics` | *(excluded from `site/`)* | `<= 400` | Release & audit operators | `@loopwright/cli`, `@loopwright/controller`; `specs/2026-11-11-capability-closure-matrix-and-failure-semantics.md` |
| `contribute/adr/0001-local-state-authority.md` | Contribute (Repo-Only) | `no (repo-only)` | `ADR 0001: Local State Authority` | *(excluded from `site/`)* | `<= 220` | Architects & auditors | `@loopwright/state`; `specs/2026-11-05-persistent-state-and-admission.md` |
| `contribute/adr/0002-isolated-pi-sdk.md` | Contribute (Repo-Only) | `no (repo-only)` | `ADR 0002: Isolated Pi SDK` | *(excluded from `site/`)* | `<= 220` | Architects & auditors | `@loopwright/agent-pi`; `specs/2026-11-05-isolated-pi-adapter.md` |
| `contribute/adr/0003-linux-sqlite-profiles.md` | Contribute (Repo-Only) | `no (repo-only)` | `ADR 0003: Linux SQLite Profiles` | *(excluded from `site/`)* | `<= 220` | Architects & auditors | `@loopwright/state`; `specs/2026-11-30-managed-controller-in-process-execution.md` |

## Per-Zone Scope & Boundary Rules

### `docs/README.md` (Shared Three-Zone Index)
- **Owns**: `## Reading paths`, `## Module map` (all `9` module IDs: `contracts`, `state`, `pi-adapter`, `controller`, `taskpacks`, `memory`, `github-app`, `decisions`, `development`), `## Specs`, and three top-level zone tables:
- `## All pages` (`15` public pages grouped under `### Getting Started`, `### Operations`, `### Walkthroughs`, and `### Configuration` — never nesting `### Contribute` or `### Reference`).
- `## All pages` (`17` public pages grouped under `### Getting Started`, `### Operations`, `### Walkthroughs`, and `### Configuration` — never nesting `### Contribute` or `### Reference`).
- `## Reference` (all flat `docs/references/*.md` files dynamically verified against disk).
- `## Contribute` (all `12` repo-only contributor pages).
- `## Contribute` (all `13` repo-only contributor pages).
- **Must not absorb**: Narrative explanations or configuration snippets.

### Public `site/` Pages (`15` Pages Across `4` Groups, `<= 8` H2s)
### Public `site/` Pages (`17` Pages Across `4` Groups, `<= 8` H2s)
- **`docs/getting-started/architecture.md` (`<= 200` lines)**: 4-stage execution lifecycle, operating modes, `architecture-flow.svg` + hidden Mermaid flowgraph comment, runtime baseline, and routing links to public guides.
- **`docs/getting-started/installation.md` (`<= 400` lines)**: Choosing between GitHub Action, `@gpustack/loopwright` CLI (`npm`/`pnpm --ignore-scripts`), release tarballs, source checkouts, and `llms.txt` bootstrap prompts.
- **`docs/operations/github-action.md` (`<= 400` lines)**: Reusable `action.yml` workflow setup, permissions, secret bindings, and common inputs (exhaustive 44-input catalog lives in `docs/references/cli-and-action-reference.md`).
Expand All @@ -83,14 +86,15 @@ Every contributor page (`Site Published: no (repo-only)`) is registered in `docs
- **`docs/operations/coding-agents.md` (`<= 400` lines)**: Human-first `loopwright step` workflow, multi-role `--role-model` routing, and 5-invariant overlay checklist (full `StepYield` schema and `node -e` overlay-apply script live in `docs/references/coding-agent-protocol.md`).
- **`docs/walkthroughs/declarative-taskpack.md` (`<= 400` lines)**: End-to-end walkthrough of `.loopwright/taskpack.yaml` + GitHub Action/App + prompt migration.
- **`docs/walkthroughs/managed-controller.md` (`<= 400` lines)**: End-to-end walkthrough of out-of-repo `TrustedRegistry` + `ControllerConfig` (`managed-controller-relations.svg`) and CLI governance.
- **`docs/walkthroughs/managed-controller-in-isolated-host.md` (`<= 400` lines)**: End-to-end walkthrough of unattended Managed Controller execution inside an isolated host using `command.v1` under `direct` and `adapter: exec`.
- **`docs/walkthroughs/evolutionary-campaign.md` (`<= 400` lines)**: End-to-end walkthrough of evolutionary campaign mode (`EVOLVE-BLOCK`, `evolve-block-guard.v1`, `benchmark-gate.v1`, `runner relay|worker`, and `loopwright evolve`).
- **`docs/configuration/{taskpack,task-contract,controller-and-registry,sandbox-backends,decision-routing,evolution-campaign}.md` (`<= 400` lines each)**: Human-first mental models, strict block-style Pretty YAML Macro manifests (`Taskpack`, `TaskpackSuite`, `TaskContract`, `ControllerConfig`, `TrustedRegistry`, `DecisionPolicy`, `EvolutionCampaign`), and focused Micro constraints (exhaustive field/bound dictionaries live in `docs/references/{taskpack-and-contract-schema,controller-and-registry-schema}.md`).
- **`docs/configuration/{taskpack,task-contract,controller-and-registry,sandbox-backends,decision-routing,evolution-campaign,campaign-snapshots}.md` (`<= 400` lines each)**: Human-first mental models, strict block-style Pretty YAML Macro manifests (`Taskpack`, `TaskpackSuite`, `TaskContract`, `ControllerConfig`, `TrustedRegistry`, `DecisionPolicy`, `EvolutionCampaign`), portable `campaign-snapshot.v1` layout, and focused Micro constraints (exhaustive field/bound dictionaries live in `docs/references/{taskpack-and-contract-schema,controller-and-registry-schema}.md`).

### Flat LLM `docs/references/*.md` Pages (`6` Files, `<= 800` Lines)
- **`docs/references/README.md`**: Task routing (pairing every reference lookup with its public owner), exact resource/CLI symbol aliases, and evidence labels (`contract`, `recorded capture`, `synthetic simulation`).
- **`docs/references/{bootstrap-interview,taskpack-and-contract-schema,controller-and-registry-schema,cli-and-action-reference,coding-agent-protocol}.md`**: Machine-oriented interview protocols, complete schema/flag/exit-code tables, and verified protocol scripts fetched by coding agents via `llms.txt`.

### Repo-Only `Contribute` Pages (`12` Pages, `<= 10` H2s)
### Repo-Only `Contribute` Pages (`13` Pages, `<= 10` H2s)
- **`docs/development.md` & `docs/contribute/internals.md` (`<= 400` lines each)**: Workspace build/test/lint/site commands, package dependency order, `.agents/skills/*` routing, and `.opencodereview/rule.json` invariants.
- **`docs/contribute/{identity,evidence,state,pi-adapter,runner-taskpack,memory,github-app-internals,closure-matrix}.md` (`<= 400` lines each)**: Subsystem implementation guides for JCS digests, HMAC `gate.v1` receipts, SQLite WAL fencing, isolated Pi sessions, runner parity, reviewed memory CAS compaction, GitHub App internals, and capability closure.
- **`docs/contribute/adr/{0001-local-state-authority,0002-isolated-pi-sdk}.md` (`<= 220` lines each)**: Architectural Decision Records.
- **`docs/contribute/adr/{0001-local-state-authority,0002-isolated-pi-sdk,0003-linux-sqlite-profiles}.md` (`<= 220` lines each)**: Architectural Decision Records.
Loading
Loading