get_gaps
Identify architectural gaps by finding decisions that may not be fully implemented in your codebase.
Instructions
Find architectural gaps — decisions that were made but may not be fully implemented.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:333-369 (handler)The handler for the 'get_gaps' tool which identifies decisions with constraints.
// ── get_gaps ── if (name === "get_gaps") { const store = readStore(); const gaps = store.decisions.filter( (d) => d.constraints.length > 0 ); if (gaps.length === 0) { return { content: [ { type: "text", text: "No gaps found. All decisions have been recorded without constraints.", }, ], }; } const report = gaps .map( (d) => `⚠️ ${d.decision}\n` + ` Constraints: ${d.constraints.join(", ")}\n` + ` Recorded: ${d.timestamp.split("T")[0]}` ) .join("\n\n"); return { content: [ { type: "text", text: `Architectural Gaps Found:\n\n${report}`, }, ], }; } - src/index.ts:206-214 (registration)The tool registration for 'get_gaps' in the ListTools response.
{ name: "get_gaps", description: "Find architectural gaps — decisions that were made but may not be fully implemented.", inputSchema: { type: "object", properties: {}, }, },