Skip to content

docs(evolution): add site walkthrough, config guide, and bootstrap prompt - #57

Merged
thxCode merged 3 commits into
mainfrom
docs/bootstrap-interview-evolution
Nov 24, 2026
Merged

thxCode merged 3 commits into
mainfrom
docs/bootstrap-interview-evolution

Conversation

@thxCode

@thxCode thxCode commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind documentation
/kind bug
/area docs
/area site
/area cli
/area controller
/area hardware-runner
/area taskpack

Summary

  • Add two dedicated public site pages for Loopwright's evolutionary campaign workflow so Walkthroughs, Configuration, and llms.txt mirror Declarative Taskpack and Managed Controller symmetry (expanding the public site from 13 to 15 pages across the 4 navigation groups):
    • docs/walkthroughs/evolutionary-campaigns.md (Evolutionary Campaigns): end-to-end guide covering EVOLVE-BLOCK markers, .loopwright/taskpack.yaml, .loopwright/campaign.yaml, outbound loopwright runner relay|worker, and loopwright evolve check|run|resume|status|inspect|export.
    • docs/configuration/evolution-campaign.md (Evolution Campaign): full EvolutionCampaign Pretty YAML schema, field/enum tables, plateau teamEvolution, and evolution-bundle.v1 export contract, moved out of docs/configuration/task-contract.md.
  • Align ## Evolutionary campaign mode (Mode 3) in docs/references/bootstrap-interview.md with ## Managed Controller mode (concise interview steps directing coding agents to fetch the owning llms.txt Markdown guides instead of duplicating YAML).
  • Add the copy-paste ### Evolution prompt in docs/getting-started/installation.md and docs/walkthroughs/evolutionary-campaigns.md, keeping README.md focused on the primary bootstrap prompt.
  • Update site/data/navigation.yaml, docs/README.md, scripts/check-docs.mjs, .agents/skills/, packages/cli/test/docs-and-site.test.ts, and packages/cli/test/check-docs-rules.test.ts.
  • Fix intermittent ubuntu-24.04 concurrency/contention failures in evolutionary campaign runs:
    • packages/hardware-runner/src/relay-server.ts: close the transient nlink === 2 race window in ingestStreamedCasBlob by unlinking the temp path synchronously right after linkSync, plus add a concurrent identical-blob PUT regression test in packages/hardware-runner/test/relay-server.test.ts.
    • packages/controller/src/verification.ts: raise Verifier.run() non-wide-overlay worker wall timeout from 2_000 ms to 10_000 ms while preserving boundedWorker's 2-second default containment bound.
    • packages/taskpack/src/sandbox.ts: raise Linux bwrap/landlock probe timeouts (5_000 ms / 10_000 ms) and avoid permanently caching transient ETIMEDOUT Landlock probe failures.
    • packages/evolution/test/campaign-hardening.test.ts: record workerFatalError and include recorded individual statuses/reasons in assertion diagnostics.

Related Issues

Relates #56

Verification

  • npm run build, npm run typecheck, npm run lint passed cleanly
  • npm run lint:docs (Checked 29 docs pages and 39 linked sources; 0 error(s).) and npm run site (Verified 18 HTML pages and 15 Markdown exports; 0 broken link(s).) passed cleanly
  • docs-and-site.test.js + check-docs-rules.test.js (17/17), relay-server.test.js + full hardware-runner suite (63/63, 2 live SSH GPU tests skipped), verification-containment.test.js + evolve-block-guard-and-benchmark-forwarding.test.js (7/7), evolution suite (42/42, 1 live GPU smoke skipped), and sandbox.test.js (6/6) passed cleanly
  • Verified .github/workflows/ untouched and protected
  • Signed-off-by: thxCode <thxcode0824@gmail.com> Developer Certificate of Origin (DCO) included on all commits

Does this PR introduce a user-facing change?

NONE

…ompt

- Add public site pages docs/walkthroughs/evolutionary-campaigns.md (Evolutionary Campaigns) and docs/configuration/evolution-campaign.md (Evolution Campaign), moving the EvolutionCampaign schema out of task-contract.md.
- Expand site/data/navigation.yaml, docs/README.md, scripts/check-docs.mjs, and skill page maps from 13 to 15 public pages (27 total docs pages).
- Align Mode 3 (Evolutionary campaign mode) in docs/references/bootstrap-interview.md with Managed Controller mode (concise steps referencing llms.txt guides without duplicate YAML).
- Keep the Evolution bootstrap prompt in docs/getting-started/installation.md and docs/walkthroughs/evolutionary-campaigns.md (leaving README.md focused on the primary bootstrap prompt).
- Validate the embedded Taskpack and EvolutionCampaign YAML examples in packages/cli/test/docs-and-site.test.ts and update site build checks to 15 pages.

Signed-off-by: thxCode <thxcode0824@gmail.com>
@gpustack-code-review

gpustack-code-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🔍 OpenCodeReview found 1 issue(s) in this PR.

  • ✅ Successfully posted inline: 0 comment(s)
  • 📋 Routed to summary by policy: 1 comment(s)

documentation · low

📄 packages/hardware-runner/src/relay-server.ts (L2472-L2475)

⚠️ GitHub could not post this as an inline comment: Routed to summary (severity low · category documentation)

The comment claims concurrent Relay requests "never observe transient nlink === 2", but linkSync followed by unlinkSync only removes await interleavings within this process — another process can still observe nlink === 2 in the window between the two syscalls (hence the polling loop below). Also note linkSync/unlinkSync block the event loop for all concurrent connections on this relay server; if the transient-nlink window is already tolerated by the reconcile loop, consider whether the async forms with tightened ordering would suffice.

Reviewed 1490133..fed2b6a only; earlier commits in this PR were reviewed in a previous run.

- Include docs/walkthroughs/evolutionary-campaigns.md and docs/configuration/evolution-campaign.md in CANONICAL_PAGES and synthetic navigation.yaml to match the expanded 15-page public site.

Signed-off-by: thxCode <thxcode0824@gmail.com>
…ng and verifier/probe timeouts

- Close the transient nlink === 2 window in RelayServer ingestStreamedCasBlob by unlinking the temp path synchronously immediately after linkSync, and add a concurrent identical-blob PUT regression test.
- Raise Verifier non-wide-overlay worker wall timeout from 2s to 10s while keeping boundedWorker's 2s default containment bound intact.
- Raise Linux bwrap/Landlock probe timeouts and avoid permanently caching transient ETIMEDOUT Landlock probe failures under CPU contention.
- Surface workerFatalError and recorded individual statuses in campaign-hardening diagnostics.

Signed-off-by: thxCode <thxcode0824@gmail.com>
@thxCode
thxCode merged commit a48fc06 into main Nov 24, 2026
15 checks passed
@thxCode
thxCode deleted the docs/bootstrap-interview-evolution branch November 24, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant