Project-level .aidd-lint.yml replaces the shipped config instead of merging — a minimal one silently lints nothing #167
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#167
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
AiddLint::Config.load_forwalks up from the target file, and the nearest.aidd-lint.ymlit finds wholly replaces the plugin's shipped defaults. There is no deep merge —Config#initializejust wraps the one loaded hash.The failure is silent and total.
Scope.in_scope?(lib/aidd_lint/scope.rb:10) does:A project config without a
paths.includekey yieldsincludes == [], so every file is out of scope and the linter silently lints nothing. No error, no warning — it just stops finding anything, which reads exactly like a clean repo.Reproduction
Project root containing only:
Result:
(subject
skills/foo/SKILL.md, which the shippedpaths.includematches via**/SKILL.md)Everything else silently reverts to hardcoded fallbacks rather than shipped values:
paths.includenil→ nothing in scopegate.min_changed_wordsnil→ 20 via.fetchfallback (safe)tier2.model_tierhaikunil→haikuvia `tier2.max_findingsnil→ 20 via `cops.StepBulk.max_linesSo the tuned cop thresholds and the gate degrade quietly to in-code defaults, and
paths:fails closed to a no-op linter.Why this surfaced now
#164 added
tier2.cross_file_authority, whose documented enable mechanism is exactly this: drop an.aidd-lint.ymlat the linted project's root. That is the first setting a user is likely to enable from a project that has no config file yet, which walks them straight into the trap — they turn on the deep cross-file scan and the linter goes quiet, which looks like the scan finding nothing rather than the scan never running.What I verified
lib/aidd_lint/config.rb—load_for/find_config/initialize: single-hash wrap, no merge anywhere.Scope.in_scope?andConfig#top_level_setting/#settingwith a real temp project root.What I did NOT verify
.aidd-lint.yml.Suggested resolution
Pick one, maintainer's call:
paths.include, rather than silently scoping to nothing.Option 2 is the smallest change that removes the silent-failure mode, and is compatible with either of the others later.
Provenance
Found while implementing #164, verifying that ticket's documented enable path end to end. Pre-existing behavior, not introduced by #164; deliberately not changed there, since altering config merge semantics under a charter-amendment ticket would have been out of scope.
Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.