Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .agents/skills/loopwright-code-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Evaluate every changed file against these five Loopwright-specific axes:
- **Deterministic error codes**: Every failure path must emit its canonical typed error code (`TASKPACK_MANIFEST_INVALID`, `GITHUB_APP_CONFIG_INVALID`, `DECISION_POLICY_INVALID`, etc.) with actionable diagnostic context and zero swallowed exceptions.
5. **Test, Documentation, & Closure Parity**:
- Verify unit and negative-path tests cover new schemas, boundary limits, duplicate keys, symlink rejection, and error codes.
- Verify documentation updates obey `loopwright-docs` (`npm run lint:docs` and `npm run site`), keep the 15 public `docs/` pages free of links to `development.md` or `contribute/**`, and keep `.github/workflows/` under least-privilege `permissions` and strictly protected against untrusted taskpack/sandbox writes.
- Verify documentation updates obey `loopwright-docs` (`npm run lint:docs` and `npm run site`), keep the 15 public `docs/` pages and `site/content/**` free of links to `development.md`, `contribute/**`, or `references/**`, and keep `.github/workflows/` under least-privilege `permissions` and strictly protected against untrusted taskpack/sandbox writes.
- Verify capability closure claims in `@loopwright/cli` (`loopwright closure --verify-failures`) honestly separate local/fixture verification from `blocked_external` live qualification.

### 4. Check hard repository invariants (`.opencodereview/rule.json`)
Expand All @@ -70,7 +70,7 @@ Cross-check every rule in [`.opencodereview/rule.json`](../../../.opencodereview

- `.github/workflows/` maintains least-privilege `permissions` and remains strictly protected against untrusted taskpack and sandbox writes.
- Zero host filesystem paths, agent scratch paths, or internal wave/task tags in tracked files.
- `docs/README.md` `## Module map` and `## All pages` stay synchronized with `docs/**/*.md` and `.agents/skills/*/SKILL.md`.
- `docs/README.md` (`## Module map`, `## All pages`, `## Reference`, and `## Contribute`) and `docs/references/README.md` stay synchronized with `docs/**/*.md` and `.agents/skills/*/SKILL.md`.

### 5. Run the over-engineering pass

Expand Down
186 changes: 101 additions & 85 deletions .agents/skills/loopwright-docs/SKILL.md

Large diffs are not rendered by default.

287 changes: 155 additions & 132 deletions .agents/skills/loopwright-docs/references/conventions.md

Large diffs are not rendered by default.

90 changes: 56 additions & 34 deletions .agents/skills/loopwright-docs/references/page-map.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .agents/skills/loopwright-overview/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Loopwright uses deterministic two-space Pretty YAML (YAML 1.2 core schema, rejec
| `.loopwright/suite.yaml` | `kind: TaskpackSuite` (`metadata.name` + `spec.domains[]`, `spec.stages[]` readiness probes) | `@loopwright/taskpack`, `@loopwright/github-app`, `@loopwright/cli` — [Taskpack](../../../docs/configuration/taskpack.md#taskpacksuite), [GitHub Action](../../../docs/operations/github-action.md), [CLI](../../../docs/operations/cli.md#suite-commands) |
| `github-app.yaml` | `kind: GitHubAppConfig` (`apiVersion`, `kind`, `spec`; `loadGitHubAppConfig`) | `@loopwright/github-app` — [GitHub App](../../../docs/operations/github-app.md) |
| `decisions.yaml` | `kind: DecisionPolicy` (`apiVersion`, `kind`, `spec`; `loadDecisionPolicyFile`) | `@loopwright/decisions` — [Decision Routing](../../../docs/configuration/decision-routing.md) |
| `campaign.yaml` | `kind: EvolutionCampaign` (`metadata.name` + `spec.taskpack`, `spec.targetCellId`, `spec.stages`, `spec.population`, `spec.sampling`, `spec.teamEvolution?`, `spec.objectives`, `spec.budgets`, `spec.export?`) | `@loopwright/evolution`, `@loopwright/cli` — [Evolutionary Campaigns](../../../docs/walkthroughs/evolutionary-campaigns.md), [Evolution Campaign](../../../docs/configuration/evolution-campaign.md), [CLI](../../../docs/operations/cli.md#evolution-campaigns) |
| `campaign.yaml` | `kind: EvolutionCampaign` (`metadata.name` + `spec.taskpack`, `spec.targetCellId`, `spec.stages`, `spec.population`, `spec.sampling`, `spec.teamEvolution?`, `spec.objectives`, `spec.budgets`, `spec.export?`) | `@loopwright/evolution`, `@loopwright/cli` — [Evolutionary Campaign](../../../docs/walkthroughs/evolutionary-campaign.md), [Evolution Campaign](../../../docs/configuration/evolution-campaign.md), [CLI](../../../docs/operations/cli.md#evolution-campaigns) |
| `examples/task.yaml` | `kind: TaskContract` (`apiVersion`, `kind`, `spec`; `loopwright check` / `loopwright run`) | `@loopwright/core`, `@loopwright/cli` — [Task Contract](../../../docs/configuration/task-contract.md) |

## Module Map & Skill Routing
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/loopwright-step/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >-

# Loopwright Step Driver

Drive bounded Loopwright pipelines from an OAuth-backed host coding agent with zero Loopwright provider API tokens, or bind distinct models per role via `--role-model`. Read [Coding Agents](https://docs.gpustack.ai/loopwright/latest/docs/operations/coding-agents/) and [CLI](https://docs.gpustack.ai/loopwright/latest/docs/operations/cli/) for complete coroutine and flag contracts.
Drive bounded Loopwright pipelines from an OAuth-backed host coding agent with zero Loopwright provider API tokens, or bind distinct models per role via `--role-model`. Read [Coding Agents](https://docs.gpustack.ai/loopwright/latest/docs/operations/coding-agents/), [Coding Agent Protocol Reference](https://docs.gpustack.ai/loopwright/latest/references/coding-agent-protocol.md), and [CLI](https://docs.gpustack.ai/loopwright/latest/docs/operations/cli/) for complete coroutine, `StepYield`, and flag contracts.

## When to Use

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Read the [architecture overview](./docs/getting-started/architecture.md) and [do
- **Declarative taskpacks & suites**: Define repository scope, triggers, compact step handoffs, conditional rules, baseline alignment (`baselineAlignment`), and multi-domain `TaskpackSuite` manifests (`.loopwright/suite.yaml`) in YAML. See [Declarative Taskpack](./docs/walkthroughs/declarative-taskpack.md) and [Taskpack](./docs/configuration/taskpack.md).
- **Run diagnostics (`RunEval`)**: Export deterministic tool-repeat, ping-pong, repair-convergence, and per-role/per-step breakdowns via `loopwright inspect` and `Run Health` step summaries. See [CLI](./docs/operations/cli.md).
- **Hardware benchmark gates**: Bind hardware `target.matrix` cells to host-owned `benchmark-gate.v1` slots and run outbound-only `@loopwright/hardware-runner` workers (`loopwright runner relay|worker`). See [Task Contract](./docs/configuration/task-contract.md) and [CLI](./docs/operations/cli.md).
- **Evolutionary campaigns**: Run bounded island and MAP-Elites optimization (`@loopwright/evolution`, `loopwright evolve`) with `evolve-block-guard.v1`, plateau `teamEvolution`, and signed `evolution-bundle.v1` exports. See [Evolutionary Campaigns](./docs/walkthroughs/evolutionary-campaigns.md), [Evolution Campaign](./docs/configuration/evolution-campaign.md), and [CLI](./docs/operations/cli.md#evolution-campaigns).
- **Evolutionary campaigns**: Run bounded island and MAP-Elites optimization (`@loopwright/evolution`, `loopwright evolve`) with `evolve-block-guard.v1`, plateau `teamEvolution`, and signed `evolution-bundle.v1` exports. See [Evolutionary Campaign](./docs/walkthroughs/evolutionary-campaign.md), [Evolution Campaign](./docs/configuration/evolution-campaign.md), and [CLI](./docs/operations/cli.md#evolution-campaigns).
- **Reviewed memory**: Content-addressed proposals apply separately after review. See [memory](./docs/contribute/memory.md).
- **Capability closure**: Inspect local evidence and external prerequisites with the [closure matrix](./docs/contribute/closure-matrix.md).

Expand Down Expand Up @@ -177,7 +177,8 @@ on:
- cron: '0 3 * * *'
workflow_dispatch: {}
issue_comment:
types: [created]
types:
- created
permissions:
contents: read
jobs:
Expand Down
25 changes: 18 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
- [Installation](getting-started/installation.md) and [Architecture](getting-started/architecture.md)
- [Declarative Taskpack](walkthroughs/declarative-taskpack.md), [Taskpack](configuration/taskpack.md), and [GitHub Action](operations/github-action.md)
- [Managed Controller](walkthroughs/managed-controller.md), [Task Contract](configuration/task-contract.md), and [Controller and Registry](configuration/controller-and-registry.md)
- [Evolutionary Campaigns](walkthroughs/evolutionary-campaigns.md) and [Evolution Campaign](configuration/evolution-campaign.md)
- [Evolutionary Campaign](walkthroughs/evolutionary-campaign.md) and [Evolution Campaign](configuration/evolution-campaign.md)
- [GitHub App](operations/github-app.md), [CLI](operations/cli.md), and [Coding Agents](operations/coding-agents.md)
- [Sandbox Backends](configuration/sandbox-backends.md) and [Decision Routing](configuration/decision-routing.md)
- [Bootstrap Interview Reference](references/bootstrap-interview.md) for interactive agent onboarding
- [Reference Hub](references/README.md) and [Bootstrap Interview Reference](references/bootstrap-interview.md) for machine-readable lookup and agent onboarding
- [Development](development.md) and [Internals](contribute/internals.md)

## Module map
Expand Down Expand Up @@ -51,7 +51,7 @@
- ID: controller
- Use for: compile trusted configuration and coordinate bounded runs
- Aliases: controller
- Guides: [getting-started/installation.md](getting-started/installation.md), [walkthroughs/managed-controller.md](walkthroughs/managed-controller.md), [walkthroughs/evolutionary-campaigns.md](walkthroughs/evolutionary-campaigns.md), [configuration/controller-and-registry.md](configuration/controller-and-registry.md), [configuration/evolution-campaign.md](configuration/evolution-campaign.md), [operations/cli.md](operations/cli.md), [operations/coding-agents.md](operations/coding-agents.md), [contribute/closure-matrix.md](contribute/closure-matrix.md)
- Guides: [getting-started/installation.md](getting-started/installation.md), [walkthroughs/managed-controller.md](walkthroughs/managed-controller.md), [walkthroughs/evolutionary-campaign.md](walkthroughs/evolutionary-campaign.md), [configuration/controller-and-registry.md](configuration/controller-and-registry.md), [configuration/evolution-campaign.md](configuration/evolution-campaign.md), [operations/cli.md](operations/cli.md), [operations/coding-agents.md](operations/coding-agents.md), [contribute/closure-matrix.md](contribute/closure-matrix.md)
- Specs: [Specification](../specs/2026-11-06-bounded-controller-and-trusted-config.md), [Delegated Stepping](../specs/2026-11-14-delegated-role-stepping-and-multi-model-routing.md), [Multi-Domain Suites, Handoffs, and RunEval](../specs/2026-11-21-multi-domain-suite-handoff-and-run-eval.md), [Hardware Execution and Remote Runner](../specs/2026-11-21-hardware-execution-benchmark-gate-and-remote-runner.md), [Evolutionary Campaigns, Pareto Archive, and Bundle Export](../specs/2026-11-23-evolutionary-campaigns-pareto-archive-and-bundle-export.md)
- Code: [controller](../packages/controller/), [hardware-runner](../packages/hardware-runner/), [evolution](../packages/evolution/), [cli](../packages/cli/)
- Related: [contracts](#contracts-and-evidence), [state](#persistent-state-store)
Expand Down Expand Up @@ -146,7 +146,7 @@

| Page | Description |
| --- | --- |
| [Architecture](getting-started/architecture.md) | Execution stages, trust boundaries, and configuration map |
| [Architecture](getting-started/architecture.md) | Execution stages, operating modes, trust boundaries, and configuration map |
| [Installation](getting-started/installation.md) | Install the CLI on a laptop or wire the GitHub Action |

### Operations
Expand All @@ -164,20 +164,31 @@
| --- | --- |
| [Declarative Taskpack](walkthroughs/declarative-taskpack.md) | Author or migrate a single-file repository taskpack |
| [Managed Controller](walkthroughs/managed-controller.md) | Configure out-of-repo registries, contracts, and CLI runs |
| [Evolutionary Campaigns](walkthroughs/evolutionary-campaigns.md) | Run bounded island optimization with hardware gates and bundle export |
| [Evolutionary Campaign](walkthroughs/evolutionary-campaign.md) | Run bounded island optimization with hardware gates and bundle export |

### Configuration

| Page | Description |
| --- | --- |
| [Taskpack](configuration/taskpack.md) | Configure every field and enum in .loopwright/taskpack.yaml |
| [Taskpack](configuration/taskpack.md) | Configure .loopwright/taskpack.yaml and multi-domain TaskpackSuite manifests |
| [Task Contract](configuration/task-contract.md) | Configure task goals, scope, roles, budgets, DAGs, and evidence |
| [Controller and Registry](configuration/controller-and-registry.md) | Configure approved handlers, profiles, credentials, and controls |
| [Sandbox Backends](configuration/sandbox-backends.md) | Select OS or container sandboxes and required capabilities |
| [Decision Routing](configuration/decision-routing.md) | Configure advisory routing policies, providers, and thresholds |
| [Evolution Campaign](configuration/evolution-campaign.md) | Configure stages, islands, objectives, budgets, teamEvolution, and export |

### Contribute
## Reference

| Page | Description |
| --- | --- |
| [Reference Hub](references/README.md) | Task routing, exact resource aliases, and evidence labels for flat references |
| [Bootstrap Interview Reference](references/bootstrap-interview.md) | Interactive agent interview protocol for Mode 1, Mode 2, and Mode 3 setup |
| [Taskpack and Contract Reference](references/taskpack-and-contract-schema.md) | Complete field, bound, and enum dictionary for Taskpack, TaskContract, and EvolutionCampaign |
| [Controller and Registry Reference](references/controller-and-registry-schema.md) | Complete TrustedRegistry, ControllerConfig, and DecisionPolicy field and hook tables |
| [CLI and Action Reference](references/cli-and-action-reference.md) | Exhaustive action.yml inputs, CLI subcommand flags, exit codes, and GitHubAppConfig |
| [Coding Agent Protocol Reference](references/coding-agent-protocol.md) | StepYield JSON schema, lease diagnostics, exit codes, and verified overlay-apply script |

## Contribute

| Page | Description |
| --- | --- |
Expand Down
Loading
Loading