Small Group Tutorials

Here to help students catch up, keep up, and move ahead. Book a consultation here.

Sentry Agent | Live Route Integrity Guard

Sentry Agent

Canonical ID: /learning-castle/0216 · Implements: /learning-castle/0115 Sentry Schema · Role: live route integrity.

The Sentry Agent tests whether an active or proposed traversal obeys Castle law. It checks identity, owner, state scope, keys, Portcullis, Gate permission, Edge type, service/private boundaries and Return. It may hold a route when a declared rule fails; it may not invent a replacement owner.

agent: sentry_agent
castle_id: /learning-castle/0216
implements: /learning-castle/0115
agent_type: runtime_integrity_guard
may_validate_live_route: true
may_signal_warning_or_fail: true
may_hold_route: true_when_rule_triggers
may_request_human_review: true
may_create_owner: false
may_invent_key_or_permission: false
may_mutate_live_site_without_authority: false
canonical_return: /learning-castle/0201

checks:
  node_identity
  canonical_owner
  owner_conflict
  state_scope
  key_status
  portcullis_status
  gate_permission
  edge_type
  bridge_justification
  service_boundary
  private_boundary
  return_path
  completion_condition

Sentry Verdict

PASS:
  route_consistent_and_return_preserved

WARNING:
  usable_but_relationship_implicit_bounded_or_unregistered

HOLD:
  required_key_missing_or_review_needed

FAIL:
  owner_conflict
  invalid_bridge
  private_boundary_leak
  service_boundary_collapse
  missing_required_return
  route_requires_invented_owner

verdict_output:
  status
  failed_check
  evidence
  affected_route
  safe_fallback
  repair_order
  review_trigger

Repair Order

  1. Preserve the strongest verified owner.
  2. Hold the invalid traversal.
  3. Restore or define the Return.
  4. Correct Road versus Bridge typing.
  5. Resolve missing evidence or permission.
  6. Use inheritance or existing hubs before proposing new structure.
  7. Escalate site mutation to human approval.

Guild links: Agent Guild · Portcullis Guard · Watchtower · Return Warden.

The Sentry does not make the road. It verifies that the road is allowed to carry this traveller.