[{"data":1,"prerenderedAt":411},["ShallowReactive",2],{"navigation_docs_en":3,"-en-concepts-guardrails":188,"-en-concepts-guardrails-surround":406},[4,35,85,145],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting started",false,"\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project layout","\u002Fen\u002Fgetting-started\u002Fproject-layout","en\u002F1.getting-started\u002F3.project-layout","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Upgrade and uninstall","\u002Fen\u002Fgetting-started\u002Fupgrade-uninstall","en\u002F1.getting-started\u002F4.upgrade-uninstall","i-lucide-refresh-cw",{"title":31,"path":32,"stem":33,"icon":34},"Channels","\u002Fen\u002Fgetting-started\u002Fchannels","en\u002F1.getting-started\u002F5.channels","i-lucide-radio-tower",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Concepts","\u002Fen\u002Fconcepts","en\u002F2.concepts",[40,45,50,55,60,65,70,75,80],{"title":41,"path":42,"stem":43,"icon":44},"Lanes and methods","\u002Fen\u002Fconcepts\u002Flanes-and-methods","en\u002F2.concepts\u002F1.lanes-and-methods","i-lucide-route",{"title":46,"path":47,"stem":48,"icon":49},"Living specs and changes","\u002Fen\u002Fconcepts\u002Fliving-specs","en\u002F2.concepts\u002F2.living-specs","i-lucide-book-open-check",{"title":51,"path":52,"stem":53,"icon":54},"Notation","\u002Fen\u002Fconcepts\u002Fnotation","en\u002F2.concepts\u002F3.notation","i-lucide-pen-line",{"title":56,"path":57,"stem":58,"icon":59},"QA and test data","\u002Fen\u002Fconcepts\u002Fqa-and-test-data","en\u002F2.concepts\u002F4.qa-and-test-data","i-lucide-clipboard-check",{"title":61,"path":62,"stem":63,"icon":64},"Knowledge","\u002Fen\u002Fconcepts\u002Fknowledge","en\u002F2.concepts\u002F5.knowledge","i-lucide-brain",{"title":66,"path":67,"stem":68,"icon":69},"Scripts","\u002Fen\u002Fconcepts\u002Fscripts","en\u002F2.concepts\u002F6.scripts","i-lucide-file-code",{"title":71,"path":72,"stem":73,"icon":74},"Guardrails","\u002Fen\u002Fconcepts\u002Fguardrails","en\u002F2.concepts\u002F7.guardrails","i-lucide-shield",{"title":76,"path":77,"stem":78,"icon":79},"Session context","\u002Fen\u002Fconcepts\u002Fsession-context","en\u002F2.concepts\u002F8.session-context","i-lucide-gauge",{"title":81,"path":82,"stem":83,"icon":84},"How the kit improves","\u002Fen\u002Fconcepts\u002Fself-improvement","en\u002F2.concepts\u002F9.self-improvement","i-lucide-sprout",{"title":86,"icon":6,"path":87,"stem":88,"children":89,"page":6},"Guides","\u002Fen\u002Fguides","en\u002F3.guides",[90,95,100,105,110,115,120,125,130,135,140],{"title":91,"path":92,"stem":93,"icon":94},"New app monorepo","\u002Fen\u002Fguides\u002Fnew-app-monorepo","en\u002F3.guides\u002F01.new-app-monorepo","i-lucide-boxes",{"title":96,"path":97,"stem":98,"icon":99},"Your website with Claude","\u002Fen\u002Fguides\u002Fcontent-site","en\u002F3.guides\u002F02.content-site","i-lucide-globe",{"title":101,"path":102,"stem":103,"icon":104},"Adopt an existing project","\u002Fen\u002Fguides\u002Fadopt-existing-project","en\u002F3.guides\u002F03.adopt-existing-project","i-lucide-git-merge",{"title":106,"path":107,"stem":108,"icon":109},"A change, end to end","\u002Fen\u002Fguides\u002Fspec-lane-change","en\u002F3.guides\u002F04.spec-lane-change","i-lucide-git-pull-request",{"title":111,"path":112,"stem":113,"icon":114},"A fast-track change","\u002Fen\u002Fguides\u002Ffast-track-change","en\u002F3.guides\u002F05.fast-track-change","i-lucide-zap",{"title":116,"path":117,"stem":118,"icon":119},"The TDD loop","\u002Fen\u002Fguides\u002Ftdd-loop","en\u002F3.guides\u002F06.tdd-loop","i-lucide-repeat",{"title":121,"path":122,"stem":123,"icon":124},"A QA pass","\u002Fen\u002Fguides\u002Fqa-pass","en\u002F3.guides\u002F07.qa-pass","i-lucide-clipboard-list",{"title":126,"path":127,"stem":128,"icon":129},"Test data","\u002Fen\u002Fguides\u002Ftest-data","en\u002F3.guides\u002F08.test-data","i-lucide-database",{"title":131,"path":132,"stem":133,"icon":134},"Releasing and upgrading","\u002Fen\u002Fguides\u002Freleasing-and-upgrading","en\u002F3.guides\u002F09.releasing-and-upgrading","i-lucide-rocket",{"title":136,"path":137,"stem":138,"icon":139},"Proposing improvements","\u002Fen\u002Fguides\u002Fproposing-improvements","en\u002F3.guides\u002F10.proposing-improvements","i-lucide-lightbulb",{"title":141,"path":142,"stem":143,"icon":144},"Docs for agents","\u002Fen\u002Fguides\u002Fdocs-for-agents","en\u002F3.guides\u002F11.docs-for-agents","i-lucide-bot",{"title":146,"icon":6,"path":147,"stem":148,"children":149,"page":6},"Reference","\u002Fen\u002Freference","en\u002F4.reference",[150,155,160,165,170,173,178,183],{"title":151,"path":152,"stem":153,"icon":154},"CLI","\u002Fen\u002Freference\u002Fcli","en\u002F4.reference\u002F1.cli","i-lucide-terminal",{"title":156,"path":157,"stem":158,"icon":159},"Configuration","\u002Fen\u002Freference\u002Fconfiguration","en\u002F4.reference\u002F2.configuration","i-lucide-settings",{"title":161,"path":162,"stem":163,"icon":164},"Skills","\u002Fen\u002Freference\u002Fskills","en\u002F4.reference\u002F3.skills","i-lucide-sparkles",{"title":166,"path":167,"stem":168,"icon":169},"Hooks","\u002Fen\u002Freference\u002Fhooks","en\u002F4.reference\u002F4.hooks","i-lucide-webhook",{"title":66,"path":171,"stem":172,"icon":69},"\u002Fen\u002Freference\u002Fscripts","en\u002F4.reference\u002F5.scripts",{"title":174,"path":175,"stem":176,"icon":177},"Changelog","\u002Fen\u002Freference\u002Fchangelog","en\u002F4.reference\u002F6.changelog","i-lucide-history",{"title":179,"path":180,"stem":181,"icon":182},"Templates","\u002Fen\u002Freference\u002Ftemplates","en\u002F4.reference\u002F7.templates","i-lucide-layout-template",{"title":184,"path":185,"stem":186,"icon":187},"Privacy","\u002Fen\u002Freference\u002Fprivacy","en\u002F4.reference\u002F8.privacy","i-lucide-lock",{"id":189,"title":71,"body":190,"description":399,"extension":400,"links":401,"meta":402,"navigation":403,"path":72,"seo":404,"stem":73,"__hash__":405},"docs_en\u002Fen\u002F2.concepts\u002F7.guardrails.md",{"type":191,"value":192,"toc":391},"minimark",[193,201,206,225,298,323,327,336,358,362,381,385],[194,195,196,197,200],"p",{},"Four hooks and a few scripts do the checking. They are silent outside agent-kit projects and take about 70–100 ms each. Full list in ",[198,199,166],"a",{"href":167},".",[202,203,205],"h2",{"id":204},"git-guard","Git guard",[194,207,208,209,213,214,217,218,217,221,224],{},"A ",[210,211,212],"code",{},"PreToolUse(Bash)"," hook applies the git flow you chose, even through ",[210,215,216],{},"bash -c",", ",[210,219,220],{},"eval",[210,222,223],{},"$( )"," and git aliases:",[226,227,228,244],"table",{},[229,230,231],"thead",{},[232,233,234,238,241],"tr",{},[235,236,237],"th",{},"Flow",[235,239,240],{},"The agent may",[235,242,243],{},"Blocked",[245,246,247,272,285],"tbody",{},[232,248,249,256,269],{},[250,251,252],"td",{},[253,254,255],"strong",{},"Read-only",[250,257,258,259,217,262,217,265,268],{},"read (",[210,260,261],{},"status",[210,263,264],{},"diff",[210,266,267],{},"log",", …)",[250,270,271],{},"every git write — the agent hands you the exact command",[232,273,274,279,282],{},[250,275,276],{},[253,277,278],{},"Branches + PRs",[250,280,281],{},"commit on a feature branch",[250,283,284],{},"commits \u002F pushes on the main branch",[232,286,287,292,295],{},[250,288,289],{},[253,290,291],{},"Trunk",[250,293,294],{},"commit on main",[250,296,297],{},"—",[194,299,300,301,217,304,217,307,310,311,314,315,318,319,322],{},"Every flow blocks force-push, ",[210,302,303],{},"reset --hard",[210,305,306],{},"clean -f",[210,308,309],{},"branch -D"," and ",[210,312,313],{},"--no-verify",", and the guard validates ",[210,316,317],{},"git commit -m"," messages before they run. Permission rules in ",[210,320,321],{},".claude\u002Fsettings.json"," are the first layer; the hook is the backstop.",[202,324,326],{"id":325},"preflight","Preflight",[194,328,329,332,333,335],{},[210,330,331],{},"agent-kit preflight [base]"," (and the ",[210,334,325],{}," skill) before a merge:",[337,338,339,346,352],"ul",{},[340,341,342,345],"li",{},[253,343,344],{},"Violations (block)",": changed logic without a test (SDD + TDD), an edited committed migration, grants to the browser roles, possible secrets, undocumented kept scripts, done changes with uncovered scenarios or not merged into the living specs.",[340,347,348,351],{},[253,349,350],{},"Report",": migrations to apply, new env vars, new dependencies.",[340,353,354,357],{},[253,355,356],{},"Warnings",": debug leftovers, living-spec gaps, notation errors, a stale QA checklist, migrations without seed \u002F purge changes.",[202,359,361],{"id":360},"commits","Commits",[194,363,364,365,368,369,372,373,376,377,380],{},"With Conventional Commits, ",[210,366,367],{},"init"," adds commitlint + husky. The ",[210,370,371],{},"commit"," skill runs preflight, writes the message, checks it with ",[210,374,375],{},"agent-kit commit check"," and commits within the git flow — or gives you the command in a read-only project. ",[210,378,379],{},"agent-kit commit draft"," groups changed files by suggested scope.",[202,382,384],{"id":383},"reviewer","Reviewer",[194,386,387,388,390],{},"A read-only ",[210,389,383],{}," agent reviews a diff against its change: every scenario's proof, the EARS requirements, the knowledge rules, and correctness bugs (scope checks, rounding, idempotent migrations).",{"title":392,"searchDepth":393,"depth":393,"links":394},"",2,[395,396,397,398],{"id":204,"depth":393,"text":205},{"id":325,"depth":393,"text":326},{"id":360,"depth":393,"text":361},{"id":383,"depth":393,"text":384},"Hooks and checks that enforce the rules instead of asking for them.","md",null,{},{"icon":74},{"title":71,"description":399},"fVD2bdlwwAikT7PCUpY0wsV1CmtDD7RGzjCr5FlzaPA",[407,409],{"title":66,"path":67,"stem":68,"description":408,"icon":69,"children":-1},"A registry so agents search, keep, document and test scripts instead of rewriting them.",{"title":76,"path":77,"stem":78,"description":410,"icon":79,"children":-1},"What every session starts with, how work resumes, and how the context budget is kept.",1793099612108]