Repository navigation
feat(workspace): manifest-driven scaffold feature opt-outs (DEVKIT_FEATURES_DISABLED) - #1293
Merged
Merged
Conversation
c-vigo
added a commit
that referenced
this pull request
Jul 29, 2026
## Summary New `docs/SOLO_ADOPTION.md`: the one document a single-user, private repo follows to adopt devkit without the team/traceability layer — expressed purely as a combination of existing knobs, no new mode. Distilled from the beancount-repo adoption evaluation that produced #1280–#1284. The recipe: `--mode devcontainer --workflow trunk` + `DEVKIT_FEATURES_DISABLED=release,sync-issues,scanning,skills,worktree,gh-templates` + `DEVKIT_REFS_POLICY=optional`, with the accurate two-step apply flow (both are manifest-only keys: scaffold, set keys, `--force` re-render, `--preview` first). The guide states what is KEPT (hook stack, commit type/format validation, agent-identity enforcement, managed upgrade path, justfiles, dev env, `ci.yml`) as clearly as what is dropped, calls out `renovate` as a kept-by-default judgment call (preserved-class `renovate.json` never pruned), warns about forward drift (new feature groups arrive enabled), and cross-links the three adoption notes that trip solo adopters (#1283 `main` default branch, #1280 undotted `typos.toml`, #1281 zero-test Python repos). A `--profile solo` installer flag is explicitly out of scope (possible follow-up against #1285). Also: README pointer in the install section (edited via `docs/templates/README.md.j2` — README is generated — and regenerated with `just docs`), MIGRATION.md cross-link bullet in the manifest section, changelog Added entry. ##⚠️ Merge order — merge LAST Depends on #1292 (`DEVKIT_REFS_POLICY`, #1282) and #1293 (`DEVKIT_FEATURES_DISABLED`, #1284): the guide documents those keys and links MIGRATION.md anchors that land with #1291/#1293. Recommended batch order: #1290 → #1291 → #1292 → #1293 → this. ## Verification Docs-only (no TDD — no runtime surface). `prek run --all-files` green; `just docs` confirms README regenerates identically from the template. Closes #1285
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New
.vig-oskeyDEVKIT_FEATURES_DISABLED— a comma-separated (whitespace-tolerant) subset of seven scaffold feature groups that are never scaffolded, pruned if a previous scaffold left them behind, truthfully reported by--preview, and stable across--forceupgrades. Clearing the key re-ships the features on the next--force. Absent/empty key ⇒ byte-identical scaffold.Groups (feature → path map, SSoT in
feature_paths()):release— the 8 release-train workflows +docs/DOWNSTREAM_RELEASE.mdrenovate—renovate.json,renovate-default.json, both renovate-changelog workflowssync-issues—sync-issues.yml+label-taxonomy.tomlscanning—codeql.yml,scorecard.ymlgh-templates—ISSUE_TEMPLATE/,pull_request_template.mdskills/worktree—.claude/skills/split, enumerated dynamically from the template tree (no hardcoded names)Design notes
MODE_CONFIG_EXCLUDES, so the--previewADDED classifier and the rsync copy stay in agreement for free; DELETIONS report + post-copy prune mirror the Per-consumer workflow-model knob (gitflow default / trunk opt-in) #1205 trunksync-main-to-dev.ymlquartet, and compose with it (trunk +releasedisabled → exactly one prune/report).release-extension.yml,prepare-release-extension.yml,renovate.jsoncarry consumer implementation (PRESERVE_FILES) — excluded from the copy but never pruned; a left-in-place notice is printed instead of a DELETIONS entry.sync-issuesdisabled withDEVKIT_SYNC_TARGET/DEVKIT_SYNC_SCHEDULEset warns (never aborts);render_sync_settingsis skipped explicitly.DEVKIT_FLOATING_TAGS/DEVKIT_CI_RUNNER.DEVKIT_MODULES(feat(flake): modular capability shells — opt-in vigos capability modules (native, geant4, rust, …) on top of mkProjectShell #884 reservation); v1 scope = standalone files only,ci.ymlstays atomic.docs/MIGRATION.md: manifest-table row + "Scaffold feature opt-outs" subsection.Test evidence
52e2fd74…8f8a36f3), failing-first confirmed each cycle.--filter "1284|1205|913|1196"27/27 ok;pytest tests/test_workflow_model.py22 passed; fullbats tests/bats/init-workspace.bats261 tests zero failures;prek run --all-filesgreen.Merge order
Part of the #1280–#1285 solo-adoption batch (semver:minor); recommended merge order #1281 → #1280 → #1283 → #1282 → #1284 → #1285.
Closes #1284