Repository navigation
feat(config): unify kit.toml, inherit door_paths, drop agents_only shim - #1277
Merged
Merged
Conversation
Use root kit.toml ([dev.*]) as canonical project config with .kit.toml fallback across all config readers, auto-inherit [repo].door_paths (or repokit.toml fallback) into the hard-path lane floor, migrate .kit.toml on adopt --refresh while preserving [repo], and remove pure 1-line @AGENTS.md CLAUDE.md shims under adopt.agents_only.
Collaborator
Author
independent-check (failed at
|
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.
docs/verification/unified-kit-toml-and-agents-only.md(green runs, 2 base-ref negative controls, 1 mutation control for the review fixes)lib/gate/(Core gates one-way door) andlib/config/kit-config.sh; backward-compatible fallback to.kit.tomlandrepokit.tomlpreserved and testedWhat
Unified project
kit.toml([dev.*]sections) with.kit.tomlbackward compatibility:<project>/kit.tomlunder[dev.<section>]([dev.modules],[dev.gate],[dev.adopt],[dev.lanes],[dev.lane.<name>],[dev.merge],[dev.output],[dev.proof],[dev.ledger],[dev.mega],[dev.sync],[dev.test],[dev.battery],[dev.wrap],[dev.observe], and[[dev.gate.hard_path_exempt]]), while[repo]/[repo.*]belongs torepokitand is untouched.lib/config/kit-config.shand all config readers (config.sh,hook-module.sh,merge-command.sh,gate-policy.sh,lane-data.sh,proof-ledger.sh,ledger-key.sh,mega-merge.sh,wrap-adopt.sh,lane-classify.sh,dashboard.py) so projectkit.toml[dev.*]wins over legacy.kit.toml[*], falling back to.kit.tomlwhen absent. Unprefixed[<section>]in projectkit.tomlis never read as a project override, keeping devkit's own shipped-defaultkit.tomlisolated from the operator layer.lib/adopt.shso fresh adoption writes[dev.modules]and[dev.gate]tokit.toml(appending cleanly ifkit.tomlalready exists with[repo]), andadopt.sh --refreshmigrates legacy.kit.tomlintokit.tomlunder[dev.*]while merging per key (kit.tomlwins on a key it sets) and preserving[repo], removing.kit.tomlviagit rm(if tracked) orrmotherwise, idempotently.Auto-inherit
[repo].door_paths(orrepokit.tomlfallback) into the hard-path lane floor:_kit_toml_get_array(supporting single-line and multi-line TOML string arrays, comments, and single/double quotes) andlane_door_hard_pathsinlib/gate/lane-data.sh..indeploy/macos/firewall.sh, directory prefixinternal/ghauth/, exact.mddoors likeSECURITY.md), giveskit.toml[repo].door_pathsprecedence overrepokit.toml, unions cleanly with[dev.lanes]/[lanes]extra_hard_paths, and unions working tree +HEAD+KIT_FLOOR_CONFIG_AT.Fix
adopt.agents_only = trueredundant 1-lineCLAUDE.mdshim cleanup:agents_only = true([dev.adopt]inkit.tomlor[adopt]in.kit.toml) never creates aCLAUDE.mdshim, and--checkpasses whenCLAUDE.mdis absent.adopt.sh --refreshwithagents_only = true, a pure 1-line@AGENTS.mdCLAUDE.mdshim (regular non-symlink file whose trimmed content equals@AGENTS.md) is removed viagit rm -f(if tracked) orrm -f(if untracked), while any customCLAUDE.mdis left untouched.Demo
Review fixes
extra_hard_pathsandhard_path_canariesare unioned; a legacy lanelightbesidekit.tomlphasesstays a comment; legacy exemption tables besidekit.tomlones stay comments. An invalidextra_hard_pathsERE refuses the migration.repokit.tomledit trips thefullfloor.kit.tomldiff is no longer inert, so an adopt or--refreshcommit that adds it owes proof whereproof_of_doneis on.chkstatus idiom), and SC2046 on one line.Proof
docs/specs/SPEC-434-unified-kit-toml-and-agents-only.mddocs/verification/unified-kit-toml-and-agents-only.mddocs/implementation-notes/unified-kit-toml-and-agents-only.mdBookkeeping
no-board-row: dispatched coordinator wave implementing unified kit.toml ([dev.*]), [repo].door_paths inheritance, and agents_only CLAUDE.md shim cleanup.