tessl install tessl-labs/intent-integrity-kit@1.0.2Closing the intent-to-code chasm - specification-driven development with cryptographic verification
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
$ARGUMENTSYou MUST consider the user input before proceeding (if not empty).
Before ANY action, load and internalize the project constitution:
Read constitution:
cat CONSTITUTION.md 2>/dev/null || echo "NO_CONSTITUTION"If exists, parse all principles, constraints, and governance rules.
Run prerequisites check:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/check-prerequisites.sh --json --paths-onlyParse JSON for:
FEATURE_DIRFEATURE_SPECIf JSON parsing fails:
ERROR: Feature specification not found.
No active feature detected. Create a feature specification first.
Run: /iikit-01-specify <feature description>Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec file.
Note: This clarification workflow should run BEFORE invoking /iikit-03-plan. If the user explicitly states they are skipping clarification, proceed but warn that downstream rework risk increases.
Load the current spec file and perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing.
Functional Scope & Behavior:
Domain & Data Model:
Interaction & UX Flow:
Non-Functional Quality Attributes:
Integration & External Dependencies:
Edge Cases & Failure Handling:
Constraints & Tradeoffs:
Terminology & Consistency:
Completion Signals:
Generate a prioritized queue of candidate clarification questions (maximum 5).
Constraints:
Present EXACTLY ONE question at a time.
For multiple-choice questions:
Analyze all options and determine the most suitable option based on:
Present your recommended option prominently:
**Recommended:** Option [X] - <reasoning>Render all options as a table:
| Option | Description |
|---|---|
| A | Option A description |
| B | Option B description |
| C | Option C description |
| Short | Provide a different short answer (<=5 words) |
Add: You can reply with the option letter (e.g., "A"), accept the recommendation by saying "yes" or "recommended", or provide your own short answer.
After user answers:
Stop asking when:
For each accepted answer:
Ensure a ## Clarifications section exists in the spec
Under it, create a ### Session YYYY-MM-DD subheading for today
Append: - Q: <question> -> A: <final answer>
Apply the clarification to the appropriate section:
Save the spec file AFTER each integration to minimize risk of context loss
After EACH write plus final pass:
Output:
| Category | Status |
|---|---|
| [Category] | Resolved / Deferred / Clear / Outstanding |
/iikit-03-plan)ERROR: spec.md not found in feature directory.
Run: /iikit-01-specify <feature description>After completing clarification:
/iikit-03-plan to create the technical implementation planThe plan skill will validate that the spec exists before proceeding.