⚠ Not built. SG/Sentinel is a published design from May 2026 — “this is how I would build it” — not a product. No plans to build it unless somebody funds it. Read the note →
sg-sentinel.sgit.ai / documents / codebase-extension

SG/Sentinel As An Extension Of The Codebase: Type-Safe Validation, Agentic Development, And Security Zones

TypeArch brief Versionv0.27.58 Date18 May 2026 AuthorDinis Cruz (project lead) and collaborators LicenceCC BY 4.0 Sourceraw markdown · view on GitHub

Summary

Security as part of the codebase, not a separate bolted-on tool — possible now because agentic development, local-everywhere and owned code removed the barriers (licensing, deployment friction, the local-production gap) that always made it fail before. Type-safe runtime validation is the mechanism: security logic is disproportionately validation logic, and a type-safe boundary at the edge means everything behind it can trust the data — security at the edge reduces complexity everywhere behind the edge. Sentinel is, architecturally, the application's trust boundary; horses-for-courses places each check at its right altitude.

Key concepts

Key ideas

On this site

Why every schema in the code snapshot is Type_Safe; the conventions box on the code page.

Read the document

📄 Original document · v0.27.58 · 18 May 2026 · rendered from the raw markdown (the source of truth)