claw-code/.guardrails/docs/agentmcp/Header Map.txt

1 line
6.9 KiB
Plaintext

Sentinel Deep-Link Map (Header Map)Target Audience: AI Agents & Context WindowsPurpose: Precision Context Injection.Usage: When a specific error, intent, or topic arises, lookup the row and read ONLY the specific section defined by the Anchor to save tokens.1. Core Architecture & PhilosophyTopic / IntentTarget SectionFile PathSystem Logic2.2 The Cortex (State Machine)docs/SENTINEL_CORE_ARCH.mdVFS Security2.4 The Jailor (Guardrail Engine)docs/SENTINEL_CORE_ARCH.mdThreats2. Threat Analysis: Contextual Amnesiadocs/SENTINEL_THREAT_MODEL.mdDrift Defense2.2 Sentinel Countermeasure: JIT Contextdocs/SENTINEL_THREAT_MODEL.mdStrategy1.2 The Evolution of Guardrailsdocs/SENTINEL_OVERVIEW.mdHard vs Soft2.1 Constraint vs. Instructiondocs/SENTINEL_OVERVIEW.md2. Operational WorkflowsTopic / IntentTarget SectionFile PathBoot/Init2.1 The Handshakedocs/workflows/SENTINEL_WORKFLOW_EXECUTION.mdStart Task3.1 Starting a Taskdocs/workflows/SENTINEL_WORKFLOW_EXECUTION.mdCommit Msg2. Message Enforcementdocs/workflows/SENTINEL_WORKFLOW_COMMIT.mdPre-Commit3.1 The Time-Window Ruledocs/workflows/SENTINEL_WORKFLOW_COMMIT.mdTest Fail4.1 The "Stop the Line" Ruledocs/workflows/SENTINEL_WORKFLOW_TESTING.mdCoverage2.1 The "New Code" Ruledocs/workflows/SENTINEL_WORKFLOW_TESTING.mdLooping2.1 The "Definition of Insanity" Ruledocs/workflows/SENTINEL_WORKFLOW_ESCALATION.mdForce Push3.1 The Confirmation Gatedocs/workflows/SENTINEL_WORKFLOW_ESCALATION.mdBranching1.1 The Binding Ruledocs/workflows/SENTINEL_WORKFLOW_BRANCHING.mdMain Lock2.2 Main Branch Lockdowndocs/workflows/SENTINEL_WORKFLOW_BRANCHING.mdDoc Parity1.1 The Definition of Done (DoD) Guardraildocs/workflows/SENTINEL_WORKFLOW_DOCS.mdADRs2. Architecture Decision Recordsdocs/workflows/SENTINEL_WORKFLOW_DOCS.mdCode Review1.1 The "Ready for Review" Criteriadocs/workflows/SENTINEL_WORKFLOW_REVIEW.mdMerge Lock2.1 The Approval Lockdocs/workflows/SENTINEL_WORKFLOW_REVIEW.mdRollback3.1 The "Red Button" Tooldocs/workflows/SENTINEL_WORKFLOW_ROLLBACK.mdDB Restore4.1 The WAL Guardiandocs/workflows/SENTINEL_WORKFLOW_ROLLBACK.mdCheckpoint2.1 What is persisted?docs/workflows/SENTINEL_WORKFLOW_CHECKPOINT.mdResume3.1 Local Resumedocs/workflows/SENTINEL_WORKFLOW_CHECKPOINT.mdRelease1.1 The Release State Requirementsdocs/workflows/SENTINEL_WORKFLOW_DEPLOY.mdProd Deploy3.2 The "Break-Glass" Approvaldocs/workflows/SENTINEL_WORKFLOW_DEPLOY.md3. Standards & GovernanceTopic / IntentTarget SectionFile PathAPI Ver2.1 Versioning Protocoldocs/standards/SENTINEL_STANDARD_API.mdSchema First3.1 The "Schema-First" Gatedocs/standards/SENTINEL_STANDARD_API.mdLogging2.1 The Standard Patterndocs/standards/SENTINEL_STANDARD_LOGGING.mdPII in Logs3.1 The "Struct Tag" Ruledocs/standards/SENTINEL_STANDARD_LOGGING.mdEnv Access2.1 The ".env" Blockadedocs/standards/SENTINEL_STANDARD_ISOLATION.mdTest DB4.1 The DB Prefix Ruledocs/standards/SENTINEL_STANDARD_ISOLATION.mdLeak Prev1.1 The Egress Firewalldocs/standards/SENTINEL_STANDARD_SECRETS.mdIAM2.1 The "Agent" User Profiledocs/standards/SENTINEL_STANDARD_SECRETS.mdBudgets1.2 Hierarchy of Enforcementdocs/standards/SENTINEL_STANDARD_COST.mdLarge Context3.1 The "Grep First" Ruledocs/standards/SENTINEL_STANDARD_COST.mdSprint Plan1.1 The Planning Phasedocs/sprints/SENTINEL_SPRINT_GOVERNANCE.mdDoD2.1 Automated DoD Verificationdocs/sprints/SENTINEL_SPRINT_GOVERNANCE.md4. Language Profiles (Toolchains)LanguageTarget SectionFile PathGo1.1 The go test Wrapperdocs/languages/SENTINEL_LANG_GO.mdGo2.1 Error Handlingdocs/languages/SENTINEL_LANG_GO.mdTypeScript1.1 The "Strict Mode" Enforcerdocs/languages/SENTINEL_LANG_TS.mdTypeScript2.1 The "Server Component" Firewalldocs/languages/SENTINEL_LANG_TS.mdPython1.1 The Virtual Environment Lockdocs/languages/SENTINEL_LANG_PYTHON.mdPython2.1 Mandatory Type Hintsdocs/languages/SENTINEL_LANG_PYTHON.mdJava1.1 The Wrapper Mandatedocs/languages/SENTINEL_LANG_JAVA.mdJava3.1 The "Actuator" Lockdocs/languages/SENTINEL_LANG_JAVA.mdRuby1.1 The Bundler Jaildocs/languages/SENTINEL_LANG_RUBY.mdRuby2.1 Mass Assignment Protectiondocs/languages/SENTINEL_LANG_RUBY.mdRust1.1 The Cargo.lock Enforcerdocs/languages/SENTINEL_LANG_RUST.mdRust2.1 The unsafe Blockadedocs/languages/SENTINEL_LANG_RUST.mdC# / .NET1.1 The Restore Guarddocs/languages/SENTINEL_LANG_CSHARP.mdC# / .NET2.2 Async/Await Hygienedocs/languages/SENTINEL_LANG_CSHARP.mdPHP1.1 The Platform Checkdocs/languages/SENTINEL_LANG_PHP.mdPHP3.2 Legacy Function Bandocs/languages/SENTINEL_LANG_PHP.mdC++1.1 The "Out-of-Source" Builddocs/languages/SENTINEL_LANG_CPP.mdC++2.1 The new/delete Bandocs/languages/SENTINEL_LANG_CPP.mdSwift1.1 The Package Resolution Guarddocs/languages/SENTINEL_LANG_SWIFT.mdSwift2.1 The "Weak Self" Enforcerdocs/languages/SENTINEL_LANG_SWIFT.mdKotlin1.1 The Dependency Verificationdocs/languages/SENTINEL_LANG_KOTLIN.mdKotlin2.1 Blocking Call Detectiondocs/languages/SENTINEL_LANG_KOTLIN.mdScala1.1 The "Clean Build" Mandatedocs/languages/SENTINEL_LANG_SCALA.mdScala2.1 Immutability Enforcementdocs/languages/SENTINEL_LANG_SCALA.mdR1.1 The Library Lockdocs/languages/SENTINEL_LANG_R.mdR3.2 Shiny App Securitydocs/languages/SENTINEL_LANG_R.mdJulia1.1 Project Activationdocs/languages/SENTINEL_LANG_JULIA.mdJulia2.1 The Type Stability Linterdocs/languages/SENTINEL_LANG_JULIA.mdSQL1.1 Destructive Command Blockadedocs/languages/SENTINEL_LANG_SQL.mdSQL3.1 Parameterization Checkdocs/languages/SENTINEL_LANG_SQL.mdGeneric1.1 Configuration-Driven Mappingdocs/languages/SENTINEL_LANG_GENERIC.mdGeneric3.1 Ephemeral Docker Runnersdocs/languages/SENTINEL_LANG_GENERIC.md5. Operations & IntegrationTopic / IntentTarget SectionFile PathInstall2.1 The init Commanddocs/setup/SENTINEL_SETUP_INSTALL.mdConfig2. The sentinel.toml Schemadocs/setup/SENTINEL_CONFIG_STRATEGY.mdOverride4.1 The .sentinelignoredocs/setup/SENTINEL_CONFIG_STRATEGY.mdPolyglot1.1 The Translation Matrixdocs/setup/SENTINEL_POLYGLOT.mdCI Setup2.1 The Workflow Filedocs/setup/SENTINEL_CICD.mdGating4.1 The "Clean Sprint" Ruledocs/setup/SENTINEL_CICD.mdPrompt2. The Core System Promptdocs/setup/SENTINEL_SYSTEM_PROMPT.mdReports2.1 The Sprint Retrospectivedocs/ops/SENTINEL_ANALYTICS.mdIDE1.1 The "Universal Server" Modedocs/integration/SENTINEL_IDE_PROTOCOL.mdAPI2. API Referencedocs/integration/SENTINEL_API_GATEWAY.mdWebhooks3.1 Event Subscriptionsdocs/integration/SENTINEL_API_GATEWAY.mdCloud2.1 The Kubernetes Sidecardocs/integration/SENTINEL_REMOTE_ARCH.mdmTLS3.1 Mutual TLS (mTLS)docs/integration/SENTINEL_REMOTE_ARCH.md6. Build PlansTopic / IntentTarget SectionFile PathBuild Core1.4 Phase 1 Review Checklistsprints/plans/PHASE_1_FOUNDATION.mdBuild Logic2.4 Phase 2 Review Checklistsprints/plans/PHASE_2_LOGIC.mdBuild Release3.5 Final Review Checklistsprints/plans/PHASE_3_INTEGRATION.md🤖 Agent Instructions: Updating the Header MapProtocol:Trigger: When you edit a document and add/change a # Header.Action: Update this table if the header defines a Rule, Constraint, or Workflow Step.Validation: Ensure the anchor text is an exact match for the section title to support regex-based retrieval.