[{"data":1,"prerenderedAt":732},["ShallowReactive",2],{"navigation_docs":3,"-skills-hierarchy-roles-the-ledger":246,"-skills-hierarchy-roles-the-ledger-surround":727},[4,28,62,94,207,236,240],{"title":5,"path":6,"stem":7,"children":8,"order":11,"icon":27},"Getting Started","/getting-started","1.getting-started/index",[9,12,17,22],{"title":10,"path":6,"stem":7,"order":11},"What is Gangsta Agents?",1,{"title":13,"path":14,"stem":15,"order":16},"Installation","/getting-started/installation","1.getting-started/installation",2,{"title":18,"path":19,"stem":20,"order":21},"Quickstart — Your First Heist","/getting-started/quickstart","1.getting-started/quickstart",3,{"title":23,"path":24,"stem":25,"order":26},"The 1% Rule","/getting-started/the-1-percent-rule","1.getting-started/the-1-percent-rule",4,"i-lucide-rocket",{"title":29,"path":30,"stem":31,"children":32,"order":11,"icon":61},"Core Concepts","/core-concepts","2.core-concepts/index",[33,34,39,43,48,52,56],{"title":29,"path":30,"stem":31,"order":11},{"title":35,"path":36,"stem":37,"order":38},"Intent Routing","/core-concepts/intent-routing","2.core-concepts/intent-routing",5,{"title":40,"path":41,"stem":42,"order":26},"Omerta — The Five Laws","/core-concepts/omerta","2.core-concepts/omerta",{"title":44,"path":45,"stem":46,"order":47},"Spec-Driven Development","/core-concepts/spec-driven-dev","2.core-concepts/spec-driven-dev",7,{"title":49,"path":50,"stem":51,"order":16},"The Gangsta Agents Family Hierarchy","/core-concepts/the-borgata","2.core-concepts/the-borgata",{"title":53,"path":54,"stem":55,"order":21},"The Heist Pipeline","/core-concepts/the-heist","2.core-concepts/the-heist",{"title":57,"path":58,"stem":59,"order":60},"The Ledger","/core-concepts/the-ledger","2.core-concepts/the-ledger",6,"i-lucide-brain",{"title":63,"icon":64,"path":65,"stem":66,"children":67},"Heist Pipeline","i-lucide-workflow","/heist-pipeline","3.heist-pipeline",[68,70,74,78,82,86,90],{"title":53,"path":65,"stem":69,"order":11},"3.heist-pipeline/index",{"title":71,"path":72,"stem":73,"order":16},"Reconnaissance","/heist-pipeline/reconnaissance","3.heist-pipeline/1.reconnaissance",{"title":75,"path":76,"stem":77,"order":21},"The Grilling","/heist-pipeline/the-grilling","3.heist-pipeline/2.the-grilling",{"title":79,"path":80,"stem":81,"order":26},"The Sit-Down","/heist-pipeline/the-sit-down","3.heist-pipeline/3.the-sit-down",{"title":83,"path":84,"stem":85,"order":38},"Resource Development","/heist-pipeline/resource-development","3.heist-pipeline/4.resource-development",{"title":87,"path":88,"stem":89,"order":60},"Execution","/heist-pipeline/the-hit","3.heist-pipeline/5.the-hit",{"title":91,"path":92,"stem":93,"order":47},"The Delivery","/heist-pipeline/laundering","3.heist-pipeline/6.laundering",{"title":95,"icon":96,"path":97,"stem":98,"children":99},"Skills Reference","i-heroicons-bolt","/skills","4.skills",[100,102,138,173],{"title":95,"path":97,"stem":101,"order":11,"icon":96},"4.skills/index",{"title":103,"icon":104,"path":105,"stem":106,"children":107,"page":137},"Dev Skills","i-heroicons-wrench-screwdriver","/skills/dev-skills","4.skills/dev-skills",[108,113,117,121,125,129,133],{"title":109,"path":110,"stem":111,"order":112,"icon":96},"audit-review","/skills/dev-skills/audit-review","4.skills/dev-skills/audit-review",31,{"title":114,"path":115,"stem":116,"order":112,"icon":96},"drill-tdd","/skills/dev-skills/drill-tdd","4.skills/dev-skills/drill-tdd",{"title":118,"path":119,"stem":120,"order":112,"icon":96},"exit-strategy","/skills/dev-skills/exit-strategy","4.skills/dev-skills/exit-strategy",{"title":122,"path":123,"stem":124,"order":112,"icon":96},"interrogation-debugging","/skills/dev-skills/interrogation-debugging","4.skills/dev-skills/interrogation-debugging",{"title":126,"path":127,"stem":128,"order":112,"icon":96},"receiving-orders","/skills/dev-skills/receiving-orders","4.skills/dev-skills/receiving-orders",{"title":130,"path":131,"stem":132,"order":112,"icon":96},"safehouse-worktrees","/skills/dev-skills/safehouse-worktrees","4.skills/dev-skills/safehouse-worktrees",{"title":134,"path":135,"stem":136,"order":112,"icon":96},"sweep-verification","/skills/dev-skills/sweep-verification","4.skills/dev-skills/sweep-verification",false,{"title":139,"icon":140,"path":141,"stem":142,"children":143,"page":137},"Heist Phases","i-heroicons-academic-cap","/skills/heist-phases","4.skills/heist-phases",[144,149,154,158,163,168],{"title":145,"path":146,"stem":147,"order":148,"icon":96},"laundering","/skills/heist-phases/laundering","4.skills/heist-phases/laundering",21,{"title":150,"path":151,"stem":152,"order":153,"icon":96},"reconnaissance","/skills/heist-phases/reconnaissance","4.skills/heist-phases/reconnaissance",22,{"title":155,"path":156,"stem":157,"order":148,"icon":96},"resource-development","/skills/heist-phases/resource-development","4.skills/heist-phases/resource-development",{"title":159,"path":160,"stem":161,"order":162,"icon":96},"the-grilling","/skills/heist-phases/the-grilling","4.skills/heist-phases/the-grilling",23,{"title":164,"path":165,"stem":166,"order":167,"icon":96},"the-hit","/skills/heist-phases/the-hit","4.skills/heist-phases/the-hit",24,{"title":169,"path":170,"stem":171,"order":172,"icon":96},"the-sit-down","/skills/heist-phases/the-sit-down","4.skills/heist-phases/the-sit-down",26,{"title":174,"icon":175,"path":176,"stem":177,"children":178,"page":137},"Hierarchy Roles","i-heroicons-user-group","/skills/hierarchy-roles","4.skills/hierarchy-roles",[179,184,188,193,198,203],{"title":180,"path":181,"stem":182,"order":183,"icon":96},"omerta","/skills/hierarchy-roles/omerta","4.skills/hierarchy-roles/omerta",11,{"title":185,"path":186,"stem":187,"order":183,"icon":96},"the-capo","/skills/hierarchy-roles/the-capo","4.skills/hierarchy-roles/the-capo",{"title":189,"path":190,"stem":191,"order":192,"icon":96},"the-consigliere","/skills/hierarchy-roles/the-consigliere","4.skills/hierarchy-roles/the-consigliere",12,{"title":194,"path":195,"stem":196,"order":197,"icon":96},"the-ledger","/skills/hierarchy-roles/the-ledger","4.skills/hierarchy-roles/the-ledger",15,{"title":199,"path":200,"stem":201,"order":202,"icon":96},"the-underboss","/skills/hierarchy-roles/the-underboss","4.skills/hierarchy-roles/the-underboss",17,{"title":204,"path":205,"stem":206,"order":183,"icon":96},"using-gangsta","/skills/hierarchy-roles/using-gangsta","4.skills/hierarchy-roles/using-gangsta",{"title":208,"icon":209,"path":210,"stem":211,"children":212},"Advanced","i-lucide-zap","/advanced","5.advanced",[213,216,220,224,228,232],{"title":214,"path":210,"stem":215,"order":11},"Advanced Topics","5.advanced/index",{"title":217,"path":218,"stem":219,"order":38},"Artifacts Reference","/advanced/artifacts","5.advanced/artifacts",{"title":221,"path":222,"stem":223,"order":26},"Checkpoint Recovery","/advanced/checkpoint-recovery","5.advanced/checkpoint-recovery",{"title":225,"path":226,"stem":227,"order":38},"Contributing","/advanced/contributing","5.advanced/contributing",{"title":229,"path":230,"stem":231,"order":16},"Writing Custom Skills","/advanced/custom-skills","5.advanced/custom-skills",{"title":233,"path":234,"stem":235,"order":21},"Multi-Agent Patterns","/advanced/multi-agent-patterns","5.advanced/multi-agent-patterns",{"title":237,"path":238,"stem":239,"order":60},"Glossary","/glossary","6.glossary",{"title":241,"path":242,"stem":243,"order":244,"icon":245},"Changelog","/changelog","7.changelog",8,"i-lucide-scroll-text",{"id":247,"title":194,"body":248,"description":720,"extension":721,"links":722,"meta":723,"navigation":724,"path":195,"seo":725,"stem":196,"__hash__":726},"docs/4.skills/hierarchy-roles/the-ledger.md",{"type":249,"value":250,"toc":705},"minimark",[251,256,261,265,269,272,283,287,294,319,326,384,388,395,404,498,503,516,520,525,532,618,622,632,636,641,644,648,651,655,658,662,665,669,672,676,701],[252,253,255],"h1",{"id":254},"the-ledger-institutional-memory-of-the-gangsta-agents-family","The Ledger: Institutional Memory of the Gangsta Agents Family",[257,258,260],"h2",{"id":259},"overview","Overview",[262,263,264],"p",{},"The Ledger is the Gangsta Agents Family's persistent memory. It stores successful reasoning pathways (Insights), documented failures (Fails), and accumulated governance rules (the Project Constitution). Every Heist reads from and writes to the Ledger.",[257,266,268],{"id":267},"directory-structure","Directory Structure",[262,270,271],{},"The Ledger lives in the target project, NOT in the gangsta package:",[273,274,279],"pre",{"className":275,"code":277,"language":278},[276],"language-text","docs/gangsta/\n├── constitution.md             # Project Constitution (living document)\n├── insights/                   # Repository of Insights (Good Catches)\n│   └── YYYY-MM-DD-\u003Ctopic>.md\n└── fails/                      # Repository of Fails (Concrete Shoes)\n    └── YYYY-MM-DD-\u003Ctopic>.md\n","text",[280,281,277],"code",{"__ignoreMap":282},"",[257,284,286],{"id":285},"initializing-the-ledger","Initializing the Ledger",[262,288,289,290,293],{},"If ",[280,291,292],{},"docs/gangsta/"," does not exist in the target project, create it:",[273,295,299],{"className":296,"code":297,"language":298,"meta":282,"style":282},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","mkdir -p docs/gangsta/insights docs/gangsta/fails\n","bash",[280,300,301],{"__ignoreMap":282},[302,303,305,309,313,316],"span",{"class":304,"line":11},"line",[302,306,308],{"class":307},"sBMFI","mkdir",[302,310,312],{"class":311},"sfazB"," -p",[302,314,315],{"class":311}," docs/gangsta/insights",[302,317,318],{"class":311}," docs/gangsta/fails\n",[262,320,321,322,325],{},"Create an initial ",[280,323,324],{},"docs/gangsta/constitution.md",":",[273,327,331],{"className":328,"code":329,"language":330,"meta":282,"style":282},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Project Constitution\n\n## Commandments (from Insights)\n_No commandments yet. They will be added as Heists produce insights._\n\n## Negative Constraints (from Fails)\n_No constraints yet. They will be added as Heists document failures._\n\n## Architectural Decisions\n_No decisions recorded yet._\n","markdown",[280,332,333,338,344,349,354,358,363,368,372,378],{"__ignoreMap":282},[302,334,335],{"class":304,"line":11},[302,336,337],{},"# Project Constitution\n",[302,339,340],{"class":304,"line":16},[302,341,343],{"emptyLinePlaceholder":342},true,"\n",[302,345,346],{"class":304,"line":21},[302,347,348],{},"## Commandments (from Insights)\n",[302,350,351],{"class":304,"line":26},[302,352,353],{},"_No commandments yet. They will be added as Heists produce insights._\n",[302,355,356],{"class":304,"line":38},[302,357,343],{"emptyLinePlaceholder":342},[302,359,360],{"class":304,"line":60},[302,361,362],{},"## Negative Constraints (from Fails)\n",[302,364,365],{"class":304,"line":47},[302,366,367],{},"_No constraints yet. They will be added as Heists document failures._\n",[302,369,370],{"class":304,"line":244},[302,371,343],{"emptyLinePlaceholder":342},[302,373,375],{"class":304,"line":374},9,[302,376,377],{},"## Architectural Decisions\n",[302,379,381],{"class":304,"line":380},10,[302,382,383],{},"_No decisions recorded yet._\n",[257,385,387],{"id":386},"writing-an-insight","Writing an Insight",[262,389,390,394],{},[391,392,393],"strong",{},"Criteria:"," Record when a solution bypasses a complex constraint, discovers a non-obvious approach, or establishes a new Project Commandment.",[262,396,397,400,401],{},[391,398,399],{},"File:"," ",[280,402,403],{},"docs/gangsta/insights/YYYY-MM-DD-\u003Ctopic-slug>.md",[273,405,407],{"className":328,"code":406,"language":330,"meta":282,"style":282},"---\ndate: YYYY-MM-DD\nheist: \u003Cheist-name>\nphase: \u003Cphase-where-discovered>\ntags: [tag1, tag2, tag3]\n---\n\n# \u003CTitle: Short description of the insight>\n\n## Discovery\n\u003CHow the insight was found — which phase, what triggered it>\n\n## Solution\n\u003CThe successful reasoning pathway or creative solution>\n\n## Project Commandment\n\u003CIf applicable: a new rule to add to the Constitution>\n\u003CIf not applicable: omit this section>\n",[280,408,409,414,419,424,429,434,438,442,447,451,456,461,465,471,477,481,487,492],{"__ignoreMap":282},[302,410,411],{"class":304,"line":11},[302,412,413],{},"---\n",[302,415,416],{"class":304,"line":16},[302,417,418],{},"date: YYYY-MM-DD\n",[302,420,421],{"class":304,"line":21},[302,422,423],{},"heist: \u003Cheist-name>\n",[302,425,426],{"class":304,"line":26},[302,427,428],{},"phase: \u003Cphase-where-discovered>\n",[302,430,431],{"class":304,"line":38},[302,432,433],{},"tags: [tag1, tag2, tag3]\n",[302,435,436],{"class":304,"line":60},[302,437,413],{},[302,439,440],{"class":304,"line":47},[302,441,343],{"emptyLinePlaceholder":342},[302,443,444],{"class":304,"line":244},[302,445,446],{},"# \u003CTitle: Short description of the insight>\n",[302,448,449],{"class":304,"line":374},[302,450,343],{"emptyLinePlaceholder":342},[302,452,453],{"class":304,"line":380},[302,454,455],{},"## Discovery\n",[302,457,458],{"class":304,"line":183},[302,459,460],{},"\u003CHow the insight was found — which phase, what triggered it>\n",[302,462,463],{"class":304,"line":192},[302,464,343],{"emptyLinePlaceholder":342},[302,466,468],{"class":304,"line":467},13,[302,469,470],{},"## Solution\n",[302,472,474],{"class":304,"line":473},14,[302,475,476],{},"\u003CThe successful reasoning pathway or creative solution>\n",[302,478,479],{"class":304,"line":197},[302,480,343],{"emptyLinePlaceholder":342},[302,482,484],{"class":304,"line":483},16,[302,485,486],{},"## Project Commandment\n",[302,488,489],{"class":304,"line":202},[302,490,491],{},"\u003CIf applicable: a new rule to add to the Constitution>\n",[302,493,495],{"class":304,"line":494},18,[302,496,497],{},"\u003CIf not applicable: omit this section>\n",[262,499,500,501,325],{},"After writing, update ",[280,502,324],{},[504,505,506,510],"ul",{},[507,508,509],"li",{},"Add the commandment (if any) to the \"Commandments\" section",[507,511,512,513],{},"Include source reference: ",[280,514,515],{},"— Source: insights/YYYY-MM-DD-\u003Ctopic>.md",[257,517,519],{"id":518},"writing-a-fail","Writing a Fail",[262,521,522,524],{},[391,523,393],{}," Record when an approach caused regressions, security gaps, wasted time, or led to incorrect implementation.",[262,526,527,400,529],{},[391,528,399],{},[280,530,531],{},"docs/gangsta/fails/YYYY-MM-DD-\u003Ctopic-slug>.md",[273,533,535],{"className":328,"code":534,"language":330,"meta":282,"style":282},"---\ndate: YYYY-MM-DD\nheist: \u003Cheist-name>\nphase: \u003Cphase-where-occurred>\ntags: [tag1, tag2, tag3]\nseverity: critical | high | medium | low\n---\n\n# \u003CTitle: Short description of the failure>\n\n## What Happened\n\u003CDescription of the failure and its observable impact>\n\n## Cognitive Diagnosis\n\u003CCausal mechanism explaining WHY the failure occurred — not just what went wrong, but the reasoning error that led to it>\n\n## Negative Constraint\n\u003CThe explicit prohibition: \"NEVER [prohibited pattern] because [reason]\">\n",[280,536,537,541,545,549,554,558,563,567,571,576,580,585,590,594,599,604,608,613],{"__ignoreMap":282},[302,538,539],{"class":304,"line":11},[302,540,413],{},[302,542,543],{"class":304,"line":16},[302,544,418],{},[302,546,547],{"class":304,"line":21},[302,548,423],{},[302,550,551],{"class":304,"line":26},[302,552,553],{},"phase: \u003Cphase-where-occurred>\n",[302,555,556],{"class":304,"line":38},[302,557,433],{},[302,559,560],{"class":304,"line":60},[302,561,562],{},"severity: critical | high | medium | low\n",[302,564,565],{"class":304,"line":47},[302,566,413],{},[302,568,569],{"class":304,"line":244},[302,570,343],{"emptyLinePlaceholder":342},[302,572,573],{"class":304,"line":374},[302,574,575],{},"# \u003CTitle: Short description of the failure>\n",[302,577,578],{"class":304,"line":380},[302,579,343],{"emptyLinePlaceholder":342},[302,581,582],{"class":304,"line":183},[302,583,584],{},"## What Happened\n",[302,586,587],{"class":304,"line":192},[302,588,589],{},"\u003CDescription of the failure and its observable impact>\n",[302,591,592],{"class":304,"line":467},[302,593,343],{"emptyLinePlaceholder":342},[302,595,596],{"class":304,"line":473},[302,597,598],{},"## Cognitive Diagnosis\n",[302,600,601],{"class":304,"line":197},[302,602,603],{},"\u003CCausal mechanism explaining WHY the failure occurred — not just what went wrong, but the reasoning error that led to it>\n",[302,605,606],{"class":304,"line":483},[302,607,343],{"emptyLinePlaceholder":342},[302,609,610],{"class":304,"line":202},[302,611,612],{},"## Negative Constraint\n",[302,614,615],{"class":304,"line":494},[302,616,617],{},"\u003CThe explicit prohibition: \"NEVER [prohibited pattern] because [reason]\">\n",[262,619,500,620,325],{},[280,621,324],{},[504,623,624,627],{},[507,625,626],{},"Add the negative constraint to the \"Negative Constraints\" section",[507,628,512,629],{},[280,630,631],{},"— Source: fails/YYYY-MM-DD-\u003Ctopic>.md",[257,633,635],{"id":634},"reading-the-ledger","Reading the Ledger",[637,638,640],"h3",{"id":639},"during-reconnaissance","During Reconnaissance",[262,642,643],{},"Search insights/ and fails/ for entries with tags matching the current Heist topic. Present relevant entries in the Reconnaissance Dossier.",[637,645,647],{"id":646},"during-the-grilling","During The Grilling",[262,649,650],{},"The Devils-Advocate MUST check all Negative Constraints before accepting any proposal. If a proposal violates a Negative Constraint, it is automatically rejected.",[637,652,654],{"id":653},"during-the-sit-down","During The Sit-Down",[262,656,657],{},"The Underboss references Commandments when drafting the Contract. Every relevant Commandment must be cited in the Contract.",[637,659,661],{"id":660},"during-the-hit","During The Hit",[262,663,664],{},"Workers check Negative Constraints before implementation. If a Work Package would violate a constraint, the Worker escalates to the Crew Lead.",[637,666,668],{"id":667},"during-laundering","During Laundering",[262,670,671],{},"New insights and fails from the Heist are written. The Constitution is updated.",[257,673,675],{"id":674},"omerta-compliance","Omerta Compliance",[504,677,680,689,695],{"className":678},[679],"contains-task-list",[507,681,684,688],{"className":682},[683],"task-list-item",[685,686],"input",{"disabled":342,"type":687},"checkbox"," Rule of Truth: All Ledger entries cite specific phases, heists, and observable evidence",[507,690,692,694],{"className":691},[683],[685,693],{"disabled":342,"type":687}," Rule of Availability: Ledger files are committed to git after every update",[507,696,698,700],{"className":697},[683],[685,699],{"disabled":342,"type":687}," Spec is Law: Negative Constraints in the Constitution are binding on all future Heists",[702,703,704],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":282,"searchDepth":16,"depth":16,"links":706},[707,708,709,710,711,712,719],{"id":259,"depth":16,"text":260},{"id":267,"depth":16,"text":268},{"id":285,"depth":16,"text":286},{"id":386,"depth":16,"text":387},{"id":518,"depth":16,"text":519},{"id":634,"depth":16,"text":635,"children":713},[714,715,716,717,718],{"id":639,"depth":21,"text":640},{"id":646,"depth":21,"text":647},{"id":653,"depth":21,"text":654},{"id":660,"depth":21,"text":661},{"id":667,"depth":21,"text":668},{"id":674,"depth":16,"text":675},"Use when reading or writing institutional memory — insights from successful solutions, fails from historical mistakes, and the Project Constitution that accumulates commandments and negative constraints across heists","md",null,{"name":194},{"order":197,"icon":96},{"title":194,"description":720},"vLSiW7RAh4I6N5ZfowMWrj9RFcKP6Uusymg7kYehBdA",[728,730],{"title":189,"path":190,"stem":191,"description":729,"order":192,"icon":96,"children":-1},"Use when needing impartial architectural advice, security audit, spec integrity review, or a second opinion — operates outside the chain of command with standing authority to invoke truth checks",{"title":199,"path":200,"stem":201,"description":731,"order":202,"icon":96,"children":-1},"Use when decomposing tasks into work packages, allocating territories to crew leads, managing heist phase progression, or serving as the operational buffer between the Don and the crews",1793043440144]