[{"data":1,"prerenderedAt":618},["ShallowReactive",2],{"doc-seo-\u002Fdocs\u002Ftools\u002Fseptum-boundary":3,"content-query-9cRHOhWYLe":6},{"title":4,"description":5},"septum_boundary","Evaluate proposed file imports, domain dependencies, workspace cycles, and frozen Git staged trees.",{"_path":7,"_dir":8,"_draft":9,"_partial":9,"_locale":10,"title":4,"description":5,"badge":11,"body":12,"_type":612,"_id":613,"_source":614,"_file":615,"_stem":616,"_extension":617},"\u002Fdocs\u002Ftools\u002Fseptum-boundary","tools",false,"","Guard Tool",{"type":13,"children":14,"toc":601},"root",[15,29,33,40,175,184,187,193,355,358,364,371,433,439,536,542],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,27],{"type":16,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":26,"value":4},"text",{"type":26,"value":28}," evaluates statically resolved import statements against configured domain rules and checks for dependency cycles across files and bounded contexts.",{"type":16,"tag":30,"props":31,"children":32},"hr",{},[],{"type":16,"tag":34,"props":35,"children":37},"h2",{"id":36},"implemented-boundary-rules",[38],{"type":26,"value":39},"Implemented Boundary Rules",{"type":16,"tag":41,"props":42,"children":43},"table",{},[44,63],{"type":16,"tag":45,"props":46,"children":47},"thead",{},[48],{"type":16,"tag":49,"props":50,"children":51},"tr",{},[52,58],{"type":16,"tag":53,"props":54,"children":55},"th",{},[56],{"type":26,"value":57},"Rule",{"type":16,"tag":53,"props":59,"children":60},{},[61],{"type":26,"value":62},"Trigger",{"type":16,"tag":64,"props":65,"children":66},"tbody",{},[67,109,141,158],{"type":16,"tag":49,"props":68,"children":69},{},[70,80],{"type":16,"tag":71,"props":72,"children":73},"td",{},[74],{"type":16,"tag":21,"props":75,"children":77},{"className":76},[],[78],{"type":26,"value":79},"forbidden_dependency",{"type":16,"tag":71,"props":81,"children":82},{},[83,85,91,93,99,101,107],{"type":26,"value":84},"A resolved cross-domain target appears in the source domain's ",{"type":16,"tag":21,"props":86,"children":88},{"className":87},[],[89],{"type":26,"value":90},"forbidden_dependencies",{"type":26,"value":92}," list (enforced in both ",{"type":16,"tag":21,"props":94,"children":96},{"className":95},[],[97],{"type":26,"value":98},"warn",{"type":26,"value":100}," and ",{"type":16,"tag":21,"props":102,"children":104},{"className":103},[],[105],{"type":26,"value":106},"strict",{"type":26,"value":108}," modes).",{"type":16,"tag":49,"props":110,"children":111},{},[112,121],{"type":16,"tag":71,"props":113,"children":114},{},[115],{"type":16,"tag":21,"props":116,"children":118},{"className":117},[],[119],{"type":26,"value":120},"disallowed_dependency",{"type":16,"tag":71,"props":122,"children":123},{},[124,126,131,133,139],{"type":26,"value":125},"In ",{"type":16,"tag":21,"props":127,"children":129},{"className":128},[],[130],{"type":26,"value":106},{"type":26,"value":132}," mode, a cross-domain import target is absent from the source domain's ",{"type":16,"tag":21,"props":134,"children":136},{"className":135},[],[137],{"type":26,"value":138},"allowed_dependencies",{"type":26,"value":140}," list.",{"type":16,"tag":49,"props":142,"children":143},{},[144,153],{"type":16,"tag":71,"props":145,"children":146},{},[147],{"type":16,"tag":21,"props":148,"children":150},{"className":149},[],[151],{"type":26,"value":152},"circular_dependency",{"type":16,"tag":71,"props":154,"children":155},{},[156],{"type":26,"value":157},"Depth-first graph search detects a cycle in the resolved domain or file import graph (excluding recognized type-only imports).",{"type":16,"tag":49,"props":159,"children":160},{},[161,170],{"type":16,"tag":71,"props":162,"children":163},{},[164],{"type":16,"tag":21,"props":165,"children":167},{"className":166},[],[168],{"type":26,"value":169},"unmapped_domain",{"type":16,"tag":71,"props":171,"children":172},{},[173],{"type":26,"value":174},"In proposal mode, a supplied source file belongs to no registered domain root.",{"type":16,"tag":17,"props":176,"children":177},{},[178],{"type":16,"tag":179,"props":180,"children":181},"em",{},[182],{"type":26,"value":183},"(Note: Same-domain imports do not require allowlist membership.)",{"type":16,"tag":30,"props":185,"children":186},{},[],{"type":16,"tag":34,"props":188,"children":190},{"id":189},"mcp-scopes",[191],{"type":26,"value":192},"MCP Scopes",{"type":16,"tag":41,"props":194,"children":195},{},[196,217],{"type":16,"tag":45,"props":197,"children":198},{},[199],{"type":16,"tag":49,"props":200,"children":201},{},[202,207,212],{"type":16,"tag":53,"props":203,"children":204},{},[205],{"type":26,"value":206},"Scope",{"type":16,"tag":53,"props":208,"children":209},{},[210],{"type":26,"value":211},"Example Input",{"type":16,"tag":53,"props":213,"children":214},{},[215],{"type":26,"value":216},"Behavior",{"type":16,"tag":64,"props":218,"children":219},{},[220,262,288,321],{"type":16,"tag":49,"props":221,"children":222},{},[223,232,241],{"type":16,"tag":71,"props":224,"children":225},{},[226],{"type":16,"tag":21,"props":227,"children":229},{"className":228},[],[230],{"type":26,"value":231},"file",{"type":16,"tag":71,"props":233,"children":234},{},[235],{"type":16,"tag":21,"props":236,"children":238},{"className":237},[],[239],{"type":26,"value":240},"{\"scope\": \"file\", \"file_path\": \"src\u002Forders\u002Fservice.ts\", \"proposed_imports\": [\"..\u002Fbilling\u002Fservice\"]}",{"type":16,"tag":71,"props":242,"children":243},{},[244,246,252,254,260],{"type":26,"value":245},"Evaluates supplied ",{"type":16,"tag":21,"props":247,"children":249},{"className":248},[],[250],{"type":26,"value":251},"proposed_imports",{"type":26,"value":253}," (or batch ",{"type":16,"tag":21,"props":255,"children":257},{"className":256},[],[258],{"type":26,"value":259},"file_paths",{"type":26,"value":261},") against policy and checks simulated cycles. Does not audit existing unmentioned imports in the file unless present in existing violation checks.",{"type":16,"tag":49,"props":263,"children":264},{},[265,274,283],{"type":16,"tag":71,"props":266,"children":267},{},[268],{"type":16,"tag":21,"props":269,"children":271},{"className":270},[],[272],{"type":26,"value":273},"domain",{"type":16,"tag":71,"props":275,"children":276},{},[277],{"type":16,"tag":21,"props":278,"children":280},{"className":279},[],[281],{"type":26,"value":282},"{\"scope\": \"domain\", \"domain\": \"orders\"}",{"type":16,"tag":71,"props":284,"children":285},{},[286],{"type":26,"value":287},"Audits indexed dependencies involving a registered domain.",{"type":16,"tag":49,"props":289,"children":290},{},[291,307,316],{"type":16,"tag":71,"props":292,"children":293},{},[294,300,302],{"type":16,"tag":21,"props":295,"children":297},{"className":296},[],[298],{"type":26,"value":299},"all",{"type":26,"value":301}," ",{"type":16,"tag":179,"props":303,"children":304},{},[305],{"type":26,"value":306},"(default)",{"type":16,"tag":71,"props":308,"children":309},{},[310],{"type":16,"tag":21,"props":311,"children":313},{"className":312},[],[314],{"type":26,"value":315},"{\"scope\": \"all\"}",{"type":16,"tag":71,"props":317,"children":318},{},[319],{"type":26,"value":320},"Audits the indexed workspace dependency graph for policy violations and cycles.",{"type":16,"tag":49,"props":322,"children":323},{},[324,333,342],{"type":16,"tag":71,"props":325,"children":326},{},[327],{"type":16,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":26,"value":332},"staged",{"type":16,"tag":71,"props":334,"children":335},{},[336],{"type":16,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":26,"value":341},"{\"scope\": \"staged\"}",{"type":16,"tag":71,"props":343,"children":344},{},[345,347,353],{"type":26,"value":346},"Freezes the Git index using ",{"type":16,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":26,"value":352},"git write-tree",{"type":26,"value":354},", materializes staged source and interpretation manifests (ignoring unstaged edits), and audits the snapshot. Rejects symlinks and submodules.",{"type":16,"tag":30,"props":356,"children":357},{},[],{"type":16,"tag":34,"props":359,"children":361},{"id":360},"statuses-cli-differences-known-limitations",[362],{"type":26,"value":363},"Statuses, CLI Differences & Known Limitations",{"type":16,"tag":365,"props":366,"children":368},"h3",{"id":367},"status-semantics",[369],{"type":26,"value":370},"Status Semantics",{"type":16,"tag":372,"props":373,"children":374},"ul",{},[375,393,408],{"type":16,"tag":376,"props":377,"children":378},"li",{},[379,391],{"type":16,"tag":380,"props":381,"children":382},"strong",{},[383,389],{"type":16,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":26,"value":388},"approved",{"type":26,"value":390},":",{"type":26,"value":392}," No policy violations or cycles were detected within the evaluated static scope and checks.",{"type":16,"tag":376,"props":394,"children":395},{},[396,406],{"type":16,"tag":380,"props":397,"children":398},{},[399,405],{"type":16,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":26,"value":404},"rejected",{"type":26,"value":390},{"type":26,"value":407}," One or more dependency violations or cycles were detected.",{"type":16,"tag":376,"props":409,"children":410},{},[411,421,423],{"type":16,"tag":380,"props":412,"children":413},{},[414,420],{"type":16,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":26,"value":419},"unknown",{"type":26,"value":390},{"type":26,"value":422}," Missing\u002Ferrored workspace sync, skipped files, or incomplete import resolution prevented a conclusive boundary check. ",{"type":16,"tag":380,"props":424,"children":425},{},[426,431],{"type":16,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":26,"value":419},{"type":26,"value":432}," is not approval.",{"type":16,"tag":365,"props":434,"children":436},{"id":435},"mcp-vs-cli-enforcement",[437],{"type":26,"value":438},"MCP vs. CLI Enforcement",{"type":16,"tag":372,"props":440,"children":441},{},[442,473],{"type":16,"tag":376,"props":443,"children":444},{},[445,457,459,464,466,471],{"type":16,"tag":380,"props":446,"children":447},{},[448,450,455],{"type":26,"value":449},"MCP (",{"type":16,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":26,"value":4},{"type":26,"value":456},")",{"type":26,"value":458}," reports detected violations as ",{"type":16,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":26,"value":404},{"type":26,"value":465}," even when the workspace configuration uses ",{"type":16,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":26,"value":98},{"type":26,"value":472}," mode.",{"type":16,"tag":376,"props":474,"children":475},{},[476,488,490,495,497,503,505,511,513,518,520,526,528,534],{"type":16,"tag":380,"props":477,"children":478},{},[479,481,487],{"type":26,"value":480},"CLI (",{"type":16,"tag":21,"props":482,"children":484},{"className":483},[],[485],{"type":26,"value":486},"septum check",{"type":26,"value":456},{"type":26,"value":489}," respects effective enforcement: in ",{"type":16,"tag":21,"props":491,"children":493},{"className":492},[],[494],{"type":26,"value":98},{"type":26,"value":496}," mode violations report with exit code ",{"type":16,"tag":21,"props":498,"children":500},{"className":499},[],[501],{"type":26,"value":502},"0",{"type":26,"value":504},", while ",{"type":16,"tag":21,"props":506,"children":508},{"className":507},[],[509],{"type":26,"value":510},"--strict",{"type":26,"value":512}," (or ",{"type":16,"tag":21,"props":514,"children":516},{"className":515},[],[517],{"type":26,"value":106},{"type":26,"value":519}," config) exits with code ",{"type":16,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":26,"value":525},"1",{"type":26,"value":527},". ",{"type":16,"tag":21,"props":529,"children":531},{"className":530},[],[532],{"type":26,"value":533},"septum check --staged",{"type":26,"value":535}," audits the frozen Git index.",{"type":16,"tag":365,"props":537,"children":539},{"id":538},"known-static-limitations",[540],{"type":26,"value":541},"Known Static Limitations",{"type":16,"tag":372,"props":543,"children":544},{},[545,574,591],{"type":16,"tag":376,"props":546,"children":547},{},[548,553,555,559,561,566,568,573],{"type":16,"tag":380,"props":549,"children":550},{},[551],{"type":26,"value":552},"Unmapped Targets:",{"type":26,"value":554}," If a mapped source imports a real local file that sits outside ",{"type":16,"tag":380,"props":556,"children":557},{},[558],{"type":26,"value":299},{"type":26,"value":560}," registered domain roots, the evaluator skips the unresolved target domain—so that import can receive ",{"type":16,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":26,"value":388},{"type":26,"value":567}," even in ",{"type":16,"tag":21,"props":569,"children":571},{"className":570},[],[572],{"type":26,"value":106},{"type":26,"value":472},{"type":16,"tag":376,"props":575,"children":576},{},[577,582,584,589],{"type":16,"tag":380,"props":578,"children":579},{},[580],{"type":26,"value":581},"Incomplete Language Resolution:",{"type":26,"value":583}," Conditional imports, dynamic expressions, missing Java classpaths, and C#\u002FRust conditional compilation can leave relationships incomplete (",{"type":16,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":26,"value":419},{"type":26,"value":590},").",{"type":16,"tag":376,"props":592,"children":593},{},[594,599],{"type":16,"tag":380,"props":595,"children":596},{},[597],{"type":26,"value":598},"Not Runtime Proof:",{"type":26,"value":600}," Passing a static boundary check confirms import-rule hygiene over the analyzed scope, not runtime correctness or application safety.",{"title":10,"searchDepth":602,"depth":602,"links":603},3,[604,606,607],{"id":36,"depth":605,"text":39},2,{"id":189,"depth":605,"text":192},{"id":360,"depth":605,"text":363,"children":608},[609,610,611],{"id":367,"depth":602,"text":370},{"id":435,"depth":602,"text":438},{"id":538,"depth":602,"text":541},"markdown","content:docs:tools:septum-boundary.md","content","docs\u002Ftools\u002Fseptum-boundary.md","docs\u002Ftools\u002Fseptum-boundary","md",1795576106007]