[GEMINI-HARDEN-05] Make architecture_linter_v2 repo-aware, test-backed, and CI-enforced #437

Closed
opened 2026-04-09 14:32:40 +00:00 by Timmy · 0 comments
Owner

Parent epic: #432

Why
architecture_linter_v2.py currently infers policy from repository basename (timmy-config vs hermes-agent) and ships next to merged scripts that violate its own hard-coded-IP doctrine.

If this linter is going to guard architecture, it must be trustworthy, configurable, and exercised in CI against realistic fixtures.

Acceptance criteria

  • Rule policy is driven by explicit configuration/fixtures, not only by folder basename.
  • Canonical-repo rules are documented and testable.
  • Add positive/negative fixtures for timmy-config, hermes-agent, and neutral repos.
  • The current scripts/ suite either passes lint honestly or documents any intentional exceptions in policy.
  • CI/guardrail integration blocks future architectural drift.
  • scripts/README.md or ADR docs explain what the linter enforces and how to extend it.

Related

Parent epic: #432 Why `architecture_linter_v2.py` currently infers policy from repository basename (`timmy-config` vs `hermes-agent`) and ships next to merged scripts that violate its own hard-coded-IP doctrine. If this linter is going to guard architecture, it must be trustworthy, configurable, and exercised in CI against realistic fixtures. Acceptance criteria - Rule policy is driven by explicit configuration/fixtures, not only by folder basename. - Canonical-repo rules are documented and testable. - Add positive/negative fixtures for `timmy-config`, `hermes-agent`, and neutral repos. - The current `scripts/` suite either passes lint honestly or documents any intentional exceptions in policy. - CI/guardrail integration blocks future architectural drift. - `scripts/README.md` or ADR docs explain what the linter enforces and how to extend it. Related - #432 - PR #418 - PR #430
Timmy added the enhancement label 2026-04-09 14:32:40 +00:00
ezra was assigned by Timmy 2026-04-09 14:45:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-config#437