Skip to content

community_16_modules_guardrails

grisun0 edited this page Oct 25, 2026 · 1 revision

modules/guardrails

Community 16 | 6 files | cohesion 0.67

Definition

This community groups 6 file(s) rooted at modules/guardrails with dominant language py (cohesion 0.67). Central symbols: AdvisoryLedger, CapacityEnvelope, CheckpointLedger, FeatureGate, GuardHarness, GuardrailContract, HarnessAdminPort, RunTicket. Core file: modules/guardrails/budget.py (16 symbols). Documented purpose: Operator-facing guardrail harness: tiers, capacity, checkpoints. Exposes the harness contracts used by the autonomous loop, the APT chain and the orchestrator .

Files

File Language Layer Symbols Doc
modules/guardrails/__init__.py py utility 0 yes
modules/guardrails/advisories.py py utility 15 yes
modules/guardrails/budget.py py utility 16 yes
modules/guardrails/checkpoints.py py utility 7 yes
modules/guardrails/contracts.py py utility 10 yes
modules/guardrails/harness.py py utility 11 yes

Key Symbols

Internal vs External Edges

  • Internal resolved imports (EXTRACTED): 10
  • Cross-boundary resolved imports (EXTRACTED): 10

Connections

  • [EXTRACTED] depends_on community 7 <-> 16 (strength 0.9): Extracted import edge crosses communities: cli/apt_chain_support.py imports modules/guardrails/init.py.

Risks

  • No scoped security, taint, cycle, or layer risks.

Open Questions

  • What would break if the most connected file in modules/guardrails changed?
  • Should modules/guardrails be split, given cohesion 0.67?

Sources

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally