Skip to content

docs: finish site-agnostic runner documentation and scrub fixtures - #1971

Merged
gerchowl merged 2 commits into
devfrom
feature/1934-docs-scrub
Oct 29, 2026
Merged

gerchowl merged 2 commits into
devfrom
feature/1934-docs-scrub

Conversation

@gerchowl

@gerchowl gerchowl commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Finish S7b's site-agnostic runner documentation and remove the site label and adjacent private names from the scoped test fixtures/comments.

Type of Change

  • docs -- Documentation
  • test -- Fixture text and comment scrub only

Modifiers

  • Breaking change (!)

Changes Made

  • Explain the extension lane in both downstream guides; document the fork predicate, forbidden triggers, and runner-side security controls.
  • Add the going-public checklist and per-worktree site-init adoption instructions.
  • Deprecate both legacy runner knobs in both changelog copies, including the permanent resolve-variable tombstone and N+2 errors.
  • Record the owner-confirmed runner security model in the ADR amendment and link its security/checklist sections to it.
  • Add the going-public link to the self-hosted migration section; preserve all other MIGRATION.md text and released changelog entries.
  • Clarify the .vig-os lane override key and distinguish the resolver output from the retained extension input.

Changelog Entry

Deprecated

  • Legacy CI runner settings (#1934)
    • The .vig-os DEVKIT_CI_RUNNER key and DEVKIT_CI_RESOLVE_RUNNER variable
      remain supported in releases N and N+1 with per-run warnings; migrate to
      CI_RUNNER_SMALL/LARGE/XLARGE.
    • At N+2, the key stops selecting runners and the resolver's runner-json output is removed.
      A key still needed by any required class produces ::error::; an inert key or a
      foreign run only warns. The DEVKIT_CI_RESOLVE_RUNNER term stays permanently
      before the hosted default in resolve jobs: on non-foreign runs it produces
      ::error:: when set without CI_RUNNER_SMALL, and only warns when SMALL is set.
    • See the deprecation timeline and
      seeded hook migration.

Testing

  • CI on 6add07e93be865e5dfd3c5dca0ff28109064054e: all 16 checks green, including the repository's Test Summary gate (called CI Summary in the brief). gh pr checks 1971 --watch exited 0.
  • Targeted Python tests: uv run --with pytest-xdist pytest tests/test_setup_toolchain_env.py -n 4 --basetemp="$HOME/.cache/devkit-pytest/1934" — exit 0, 61 passed.
  • Round-two Bats: bats -j 2 tests/bats/init-workspace.bats inside nix develop — exit 0, 346 passed.
  • Round-two Markdown: git diff --name-only -- "*.md" | xargs pymarkdown -c .pymarkdown fix before committing, inside nix develop — exit 0 on all six touched Markdown files. All commit hooks passed.
  • Added links and anchors checked against repository files and the owner comment. Verified MIGRATION.md adds only the requested checklist link and released changelog sections remain byte-identical.
  • Six round-two consistency assertions failed before edits (exit 1), then passed afterward (exit 0).

Manual Testing Details

The scrub assertion failed before the edit and passes afterward. Exact grep command (the pattern file contains the site label recovered from git log -p -S DEVKIT_CI_RUNNER -- docs/MIGRATION.md):

git grep -l -F -f /tmp/1934-site-label -- ':(exclude)docs/issues/**' ':(exclude)docs/pull-requests/**'

Output:

CHANGELOG.md
assets/workspace/.devcontainer/CHANGELOG.md

All four remaining occurrences are in permitted released sections; filtering those sections produces no output. No other scoped private names remain in the touched test files.

Checklist

  • Follow project style and perform self-review
  • Update documentation and both Unreleased changelogs
  • Check links against the repository and factual claims against merged resolver/site code
  • Dependent implementation changes are merged
  • Owner private-pattern tree scan (pending after this PR is up)

Additional Notes

The owner's site-leak-check --all-files run with the private site pattern file is pending, as required by #1934. No private pattern file was sought or requested.

The ADR now records the owner-confirmed correction: runner-side job-start checks and org approval for all external contributors are primary; runner-group visibility is optional. The amendment preserves the accepted runner-selection decisions. N+2 removal is future behavior, not claimed as implemented now.

TDD is inapplicable under CLAUDE.md's docs exception: production behavior is unchanged; fixture values and prose are scrubbed. The repo deliberately uses Markdown fix mode (nix/hooks.nix).

Refs: #1934

@gerchowl
gerchowl force-pushed the feature/1934-docs-scrub branch from 59e33a0 to 6add07e Compare October 29, 2026 19:39
@gerchowl
gerchowl merged commit 14eab6d into dev Oct 29, 2026
16 checks passed
@gerchowl
gerchowl deleted the feature/1934-docs-scrub branch October 29, 2026 23:34
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