Skip to content

Custom AST-grep deterministic rule layer #1966

Description

@JSONbored

Phase 3 — Analysis depth, analytics & developer experience

Context

Operators want repo-specific structural rules enforced deterministically, groundably, and cheaply (no AI cost).

Goal

A config-driven AST-grep rule layer feeding review findings.

Requirements

  • review.ast_rules (rule dirs / inline rules) run over changed files (ideally inside the enrichment service from the tool-runner work); matches become normalized findings (advisory, or blocking if configured) and ground the AI.
  • Deterministic + bounded; default-OFF; org-shareable via the review.shared_config knob.

Deliverables

  • AST-grep runner + rule loading + finding mapping + tests + docs.

Expected outcome

  • Enforce house patterns deterministically at zero AI cost; fewer style debates.

Effort

L.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.orbGittensory Orb related - maintainer self-hosting analytics.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions