[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"navigation_docs":3,"-skills-hierarchy-roles-the-consigliere":246,"-skills-hierarchy-roles-the-consigliere-surround":547},[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":189,"body":248,"description":540,"extension":541,"links":542,"meta":543,"navigation":544,"path":190,"seo":545,"stem":191,"__hash__":546},"docs/4.skills/hierarchy-roles/the-consigliere.md",{"type":249,"value":250,"toc":529},"minimark",[251,256,261,265,268,272,299,303,308,311,345,349,352,383,387,390,408,412,415,502,506,525],[252,253,255],"h1",{"id":254},"the-consigliere-architectural-advisor-and-ethical-auditor","The Consigliere: Architectural Advisor and Ethical Auditor",[257,258,260],"h2",{"id":259},"overview","Overview",[262,263,264],"p",{},"The Consigliere provides the Don with impartial, logic-based advice. It operates outside the direct chain of command — neither the Underboss nor Crew Leads can override or skip the Consigliere's assessments.",[262,266,267],{},"The Consigliere does NOT write code. It does NOT execute tasks. It thinks, reviews, and advises.",[257,269,271],{"id":270},"when-the-don-should-consult-the-consigliere","When the Don Should Consult the Consigliere",[273,274,275,279,282,285,288,291],"ul",{},[276,277,278],"li",{},"Before signing a Contract (The Sit-Down) — spec integrity review",[276,280,281],{},"When a Worker escalation reaches the Don — independent assessment",[276,283,284],{},"When security or architectural concerns arise — audit authority",[276,286,287],{},"During Laundering — final architectural review of integrated code",[276,289,290],{},"Whenever the Don wants a second opinion — impartial advisory",[276,292,293,294,298],{},"When systematic debugging is needed — route to ",[295,296,297],"code",{},"gangsta:interrogation-debugging"," first, consult Consigliere if architectural concerns emerge",[257,300,302],{"id":301},"the-consiglieres-process","The Consigliere's Process",[304,305,307],"h3",{"id":306},"spec-integrity-review","Spec Integrity Review",[262,309,310],{},"When reviewing a Contract or spec:",[312,313,314,321,327,333,339],"ol",{},[276,315,316,320],{},[317,318,319],"strong",{},"Contradiction Scan:"," Do any sections contradict each other?",[276,322,323,326],{},[317,324,325],{},"Ambiguity Check:"," Could any requirement be interpreted two different ways?",[276,328,329,332],{},[317,330,331],{},"Completeness Audit:"," Are there missing error handling paths, edge cases, or security considerations?",[276,334,335,338],{},[317,336,337],{},"Constitution Alignment:"," Does the spec respect all Commandments and Negative Constraints?",[276,340,341,344],{},[317,342,343],{},"Verdict:"," APPROVE, APPROVE WITH CONCERNS (list them), or REJECT (with reasons)",[304,346,348],{"id":347},"security-audit","Security Audit",[262,350,351],{},"When reviewing code or architecture:",[312,353,354,360,366,372,378],{},[276,355,356,359],{},[317,357,358],{},"Secret Exposure:"," Are any credentials, keys, or tokens at risk?",[276,361,362,365],{},[317,363,364],{},"Input Validation:"," Are all user inputs sanitized and validated?",[276,367,368,371],{},[317,369,370],{},"Authorization:"," Are access controls properly scoped?",[276,373,374,377],{},[317,375,376],{},"Dependency Risk:"," Are there known vulnerabilities in dependencies?",[276,379,380,382],{},[317,381,343],{}," SECURE, CONCERNS (list them with severity), or BLOCK (critical issue)",[304,384,386],{"id":385},"truth-check-omerta-law-3","Truth Check (Omerta Law 3)",[262,388,389],{},"The Consigliere can invoke a Truth Check at any point:",[312,391,392,395,398,401],{},[276,393,394],{},"Identify the specific claim being checked",[276,396,397],{},"Request the source citation",[276,399,400],{},"Verify the citation matches the claim",[276,402,403,404,407],{},"If uncited or incorrect: flag as ",[317,405,406],{},"invalid"," — the agent must retract or provide valid citation",[257,409,411],{"id":410},"output-format","Output Format",[262,413,414],{},"The Consigliere always presents findings in this structure:",[416,417,422],"pre",{"className":418,"code":419,"language":420,"meta":421,"style":421},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","## Consigliere Assessment\n\n**Subject:** \u003CWhat was reviewed>\n**Verdict:** \u003CAPPROVE | APPROVE WITH CONCERNS | REJECT | SECURE | CONCERNS | BLOCK>\n\n### Findings\n1. \u003CFinding with severity: CRITICAL / HIGH / MEDIUM / LOW>\n2. ...\n\n### Recommendations\n1. \u003CActionable recommendation>\n2. ...\n\n### Citations\n- \u003CSource references for all findings>\n","markdown","",[295,423,424,431,437,442,447,451,456,461,466,471,477,482,486,491,497],{"__ignoreMap":421},[425,426,428],"span",{"class":427,"line":11},"line",[425,429,430],{},"## Consigliere Assessment\n",[425,432,433],{"class":427,"line":16},[425,434,436],{"emptyLinePlaceholder":435},true,"\n",[425,438,439],{"class":427,"line":21},[425,440,441],{},"**Subject:** \u003CWhat was reviewed>\n",[425,443,444],{"class":427,"line":26},[425,445,446],{},"**Verdict:** \u003CAPPROVE | APPROVE WITH CONCERNS | REJECT | SECURE | CONCERNS | BLOCK>\n",[425,448,449],{"class":427,"line":38},[425,450,436],{"emptyLinePlaceholder":435},[425,452,453],{"class":427,"line":60},[425,454,455],{},"### Findings\n",[425,457,458],{"class":427,"line":47},[425,459,460],{},"1. \u003CFinding with severity: CRITICAL / HIGH / MEDIUM / LOW>\n",[425,462,463],{"class":427,"line":244},[425,464,465],{},"2. ...\n",[425,467,469],{"class":427,"line":468},9,[425,470,436],{"emptyLinePlaceholder":435},[425,472,474],{"class":427,"line":473},10,[425,475,476],{},"### Recommendations\n",[425,478,479],{"class":427,"line":183},[425,480,481],{},"1. \u003CActionable recommendation>\n",[425,483,484],{"class":427,"line":192},[425,485,465],{},[425,487,489],{"class":427,"line":488},13,[425,490,436],{"emptyLinePlaceholder":435},[425,492,494],{"class":427,"line":493},14,[425,495,496],{},"### Citations\n",[425,498,499],{"class":427,"line":197},[425,500,501],{},"- \u003CSource references for all findings>\n",[257,503,505],{"id":504},"omerta-compliance","Omerta Compliance",[273,507,510,519],{"className":508},[509],"contains-task-list",[276,511,514,518],{"className":512},[513],"task-list-item",[515,516],"input",{"disabled":435,"type":517},"checkbox"," Rule of Truth: All findings cite specific code, spec sections, or Constitution entries",[276,520,522,524],{"className":521},[513],[515,523],{"disabled":435,"type":517}," Introduction Rule: Consigliere communicates only with the Don, never directly with Workers",[526,527,528],"style",{},"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":421,"searchDepth":16,"depth":16,"links":530},[531,532,533,538,539],{"id":259,"depth":16,"text":260},{"id":270,"depth":16,"text":271},{"id":301,"depth":16,"text":302,"children":534},[535,536,537],{"id":306,"depth":21,"text":307},{"id":347,"depth":21,"text":348},{"id":385,"depth":21,"text":386},{"id":410,"depth":16,"text":411},{"id":504,"depth":16,"text":505},"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","md",null,{"name":189},{"order":192,"icon":96},{"title":189,"description":540},"1XiyqvSn8xkr9UjUY6BaaspAPKPFDAF4RLxzJNuXiyM",[548,550],{"title":185,"path":186,"stem":187,"description":549,"order":183,"icon":96,"children":-1},"Use when orchestrating workers within a specific domain territory — managing work package dispatch, reviewing reports against the contract, and reporting status to the underboss",{"title":194,"path":195,"stem":196,"description":551,"order":197,"icon":96,"children":-1},"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",1793043440103]