Skip to content

chore(governance): declare legitimate root entries - #35

Merged
hyperpolymath merged 2 commits into
mainfrom
chore/declare-root-entries
Aug 7, 2026
Merged

chore(governance): declare legitimate root entries#35
hyperpolymath merged 2 commits into
mainfrom
chore/declare-root-entries

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The estate-rules gate reports every tracked root entry absent from .machine_readable/root-allow.txt, offering two cures: move the entry into a subdirectory, or add it here with a justification.

Declaring is the right cure. The allowlist derives from the RSR template's "Proposed Final Directory Map", which anticipates a documentation repository — so genuinely correct top-level directories (crates/, daemon/, compiler-core/) are reported as drift. Moving them would break every path that references them, to satisfy a map never written for this project's shape.

Worth noting at source: across the 16 repositories failing this gate, REQUIRES_INITIALISATION.md appears in 12 and .githooks/ in 9. Those are files the RSR template itself ships — the template's own allowlist omits files the template creates, so a freshly minted repo fails this gate on day one. That is a template defect worth fixing upstream as well.

Entries were read from the gate's own output rather than a directory listing, so this adds exactly what is failing and no more — an allowlist wider than the finding would be a blind spot.

🤖 Generated with Claude Code

The `estate-rules` gate reports every tracked root entry absent from
.machine_readable/root-allow.txt, and offers two cures: move the entry into a
subdirectory, or add it here with a justification.

Declaring is the right cure here. The allowlist derives from the RSR
template's "Proposed Final Directory Map", which anticipates a documentation
repository — so genuinely correct top-level directories are reported as drift.
Moving them would break every path that references them in order to satisfy a
map that was never written for this project's shape.

Entries were read from the gate's own output rather than from a directory
listing, so this adds exactly what is failing and no more — an allowlist wider
than the finding would be a blind spot.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@gitar-bot

This comment has been minimized.

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) August 6, 2026 12:05
@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Aug 6, 2026
@hyperpolymath
hyperpolymath disabled auto-merge August 7, 2026 16:31
@hyperpolymath
hyperpolymath merged commit 58fb375 into main Aug 7, 2026
31 of 33 checks passed
@hyperpolymath
hyperpolymath deleted the chore/declare-root-entries branch August 7, 2026 16:31
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant