Skip to content

fix: classify .gitattributes in the validation capability manifest - #17

Open
Monsterray wants to merge 1 commit into
developfrom
claude/validation-gitattributes-rule
Open

Monsterray wants to merge 1 commit into
developfrom
claude/validation-gitattributes-rule

Conversation

@Monsterray

Copy link
Copy Markdown
Owner

What

Add a .gitattributes path rule to .validation/capabilities.json.

Why

.gitattributes was added on 2026-08-22 without a rule. The workspace validator fails closed on unclassified paths, so every repository-set validation since then stopped with unknown changed path: .gitattributes. The last green cross-repository evidence predates the file.

Line-ending rules change checked-out sources, so the rule uses the same Ubuntu source profile as .github/**.

Validation

  • validation_tool.py validate-capabilities accepts the manifest.
  • Every tracked file now matches a path rule.
  • Repository-set validation on the restricted Ubuntu account: see PR comment.

🤖 Generated with Claude Code

.gitattributes was added on 2026-08-22 without a path rule. The workspace
validator refuses unclassified paths, so every repository-set validation
since then stopped with "unknown changed path: .gitattributes". Line-ending
rules change checked-out sources, so the rule selects the same Ubuntu
source profile as .github/**.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Monsterray

Copy link
Copy Markdown
Owner Author

Repository-set validation on the restricted Ubuntu account (codex-x10), 2026-12-04, all three claude/validation-gitattributes-rule heads (redux abb0585, docker 69150c8, bridge a003c4f):

Repo PASS NOT RUN NOT APPLICABLE FAIL
mochad-redux (source-full) 12 0 1 0
mochad-docker (source) 3 3 1 0
mochad-mqtt-bridge (source) 6 2 1 0

NOT RUN: Docker image, Compose and MQTT integration checks (no Docker socket or broker on the restricted account, by design), and ShellCheck (not installed on the lab host). NOT APPLICABLE: hardware.

Before this change the same run stopped with FAIL: unknown changed path: .gitattributes.

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