collaborative-judgment

Solid

Protocol for handling ambiguous decisions and missing/conflicting knowledge during code generation, design, and review. Ensures AI surfaces genuine judgment calls with structured options and stops on hallucination risk instead of silently assuming. Use when a decision has multiple valid approaches, when facts are missing or contradictory, when the user asks 'what should we do here?', 'is this a judgment call?', 'should I ask about this?', 'am I guessing here?', 'what are the tradeoffs?', or when deciding between two reasonable architectural or design options. Also composed by molecules to define how judgment calls and clarification requests are surfaced and resolved.

AI & Automation 134 stars 8 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Collaborative Judgment ## Problem AI resolve ambiguity silent. User never know decision made. Silent micro-assumption make code feel "off". Undo woven assumption cost more than upfront choice. ## When Decide vs When Ask Most decision NOT ambiguous. AI decide when: - **Rule clear.** 80-line function doing 5 things violate SRP. Domain entity import database break dependency rule. Fix. - **Project documented preference.** Knowledge base, refiner docs, context anchor specify choice -- follow. Not ambiguity, documented intent. - **Low-impact.** Variable naming, import order, test data -- choose, move on. - **Grounding solid.** Can point to source: user instruction, inspected code/artifact, failing test/log, knowledge base, refiner doc, context anchor. No repo-specific fact from memory alone. Surface decision only when ALL three true: 1. **Multiple valid approach** -- genuine fork between reasonable options. 2. **No active context resolve** -- checked user instruction, inspected code/artifacts, current evidence, knowledge base, refiner docs, context anchor. Still unresolved. 3. **Meaningful consequences** -- affect architecture, behavior, maintainability. Not cosmetic. **Confidence test**: "Considered two+ approaches, neither clearly better given project context." True → surface. False → decide, move on. **Err side of deciding only when grounded.** Confident AI occasionally disputable > uncertain AI ask everything. But grounded autonomy ≠ guessing. If evidence thin, miss...

Details

Author
techygarg
Repository
techygarg/lattice
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Related Skills