Files
whetstone_DSL/FEATURE_REQUESTS.md
Bill c9d938f855 Sprint 7 Phase 7a: API documentation, schemas, and new RPC methods (Steps 202-206)
- Step 202: docs/AGENT_API.md — comprehensive JSON-RPC API reference with 23 methods
- Step 203: schemas/ — 20 JSON Schema files (8 types, 12 methods) for validation
- Step 204: Expose ContextAPI (getInScopeSymbols, getCallHierarchy, getDependencyGraph) and BatchMutationAPI (applyBatch) via WebSocket RPC
- Step 205: Expose Pipeline operations (runPipeline, parseSource, generateFromAST, projectLanguage) via WebSocket RPC
- Step 206: API schema validation tests — 51/51 assertions pass
- Updated PROGRESS.md with Sprint 5+6 completion, corrected summary table
- Updated FEATURE_REQUESTS.md to reflect implemented items
- Created sprint7_plan.md with 33 steps across 6 phases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 07:31:01 -07:00

2.7 KiB
Raw Blame History

Feature Requests

Backlog of feature ideas to triage into future sprints (e.g., Sprint 6/7).

Security Vulnerability Awareness (Dependencies) — IMPLEMENTED (Sprint 6, Steps 190195)

Goal: Warn when a dependency has known vulnerabilities and surface safer alternatives.

Concept:

  • Maintain a vulnerability knowledge base (local cache + optional remote sources).
  • When a dependency is added/updated, show immediate warnings.
  • Surface findings in the Dependencies panel and Problems list.
  • Optionally block auto-upgrade to vulnerable versions.

Potential Data Sources:

  • OSV (Open Source Vulnerabilities) API / datasets
  • NVD (CVE/NVD feeds)
  • GitHub Security Advisories (GHSA)
  • OWASP references (for categorization)

Candidate Data Model:

  • VulnerabilityRecord
    • ecosystem (pypi/npm/crates/maven/go/vcpkg/etc)
    • package
    • affected_versions
    • severity
    • summary
    • references

UI/UX:

  • Dependencies panel: inline warning badges and <20>View Advisory<72>.
  • Problems panel: security diagnostics with severity.
  • Agent hints: prefer safe alternatives when available.

Semantic Annotations for Library APIs — IMPLEMENTED (Sprint 6, Steps 193194)

Goal: Tag library functions/types with semantic annotations (e.g., @serialize, @crypto, @io) so humans/agents can discover intent-driven APIs quickly.

Concept:

  • Add annotation metadata for library symbols (by library + symbol).
  • Attach annotations to ExternalModule / TypeSignature nodes.
  • Use annotations to filter in Library Browser and guide agent completion.

Candidate Storage:

  • annotations/library_semanno.json (or similar)
  • Format: { library: { symbol: [annotations...] } }

UI/UX:

  • Library Browser: filter by annotation tag.
  • Completion ranking: prioritize annotated matches for task keywords.
  • Agent prompts: <20>Use @serialize APIs<49> guidance.

Notes

  • Treat these as separate features to schedule independently.
  • Likely Sprint 6/7, after core library-aware flow is stable.

LLM Tooling & MCP Bridge — PLANNED (Sprint 7, Steps 202234)

Goal: Make the agent API easy for LLMs to use and optionally expose it via MCP.

Status: Full plan written in sprint7_plan.md. 33 steps across 6 phases:

  • Phase 7a: API documentation & JSON schemas (Steps 202206)
  • Phase 7b: MCP server with tools/resources/prompts (Steps 207213)
  • Phase 7c: Synthetic trace generation for training data (Steps 214219)
  • Phase 7d: Evaluation harness for LLM tool-use accuracy (Steps 220224)
  • Phase 7e: Model-specific tool definitions — Claude, Codex, open-source (Steps 225229)
  • Phase 7f: Session recording pipeline — capture, anonymize, export (Steps 230234)