Skip to content

AIClarityAU/minspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

892 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MinSpecPro

status release marketplace

🚧 Under construction β€” pre-release. APIs, specs, and layout change daily; nothing here is published to the VS Code Marketplace or Open VSX, and there are no stability guarantees. Star/watch to follow along β€” don't depend on it yet.

ScroogeLLM is not in this repo. Its source, spec, design, and research live in a separate private repository (DR-027). This monorepo hosts MinSpec (open), the shared classifier, and the extension-pack manifest.

Monorepo for the open MinSpec VS Code extension, the shared classifier engine, and the MinSpec Pro extension-pack manifest.

Package ID Domain Status
packages/minspec aiclarity.minspec minspec.dev SDD Implement (pre-release)
packages/shared @aiclarity/shared β€” Shared classifier
packages/extension-pack aiclarity.minspec-pro β€” Manifest only β€” refs ScroogeLLM by marketplace ID

ScroogeLLM (aiclarity.scroogellm, scroogellm.com) β€” developed in a private repo (see banner above). The pack references it by marketplace ID once published.

What is this?

MinSpec β€” scope-adaptive spec-driven development. Classifies each change by its mechanical scope (blast radius β€” files touched, lines, cross-boundary spread) into a tier, then applies proportional ceremony. A tier measures how far a change reaches, not how hard it is to think through. One-file fix = one sentence of spec. Architecture rewrite = full treatment. The predicted tier is a floor (ceremony only ratchets up); you can always raise it. Works with zero AI tools installed.

ScroogeLLM β€” LLM proxy that minimises token spend. Anonymises PII, caches aggressively, downgrades models when the task allows. Every token counts.

MinSpec Pro β€” extension pack referencing both. Unlocks spec-conformance checks that use ScroogeLLM as the inference layer.

Invariants

Rules every change must preserve. See CLAUDE.md for full list.

MinSpec

  1. No AI dependency β€” core path makes zero AI calls.
  2. Tiered network consent (DR-004) β€” Tier 0 fully offline. No http/fetch in packages/minspec or packages/shared.
  3. No lock-in β€” Spec Kit-compatible markdown, no proprietary format.
  4. Ceremony proportional to complexity.
  5. User override always wins β€” classifier suggests, human decides.
  6. Harness regeneration preserves user edits (merge, not overwrite).

ScroogeLLM

  1. All LLM calls go through proxy.
  2. Savings auditable β€” raw vs actual cost logged per request.
  3. PII anonymisation deterministic.
  4. User API keys in OS keychain only.
  5. Proxy binds localhost by default.
  6. Free-tier optimisations always active.

Commands

npm test          # all packages
npm run lint
npm run build
npm run validate  # frontmatter check on specs/**/*.md

# Package one extension
cd packages/minspec && npm run package    # β†’ .vsix

# Publish (requires vsce token)
cd packages/minspec && npx vsce publish

Layout

specs/<product>/         SDD artifacts (requirements, design, tasks)
docs/decisions/DR-NNN.md Architectural decisions (see INDEX.md)
docs/research/           Background research
sites/minspec.dev/       Marketing site
sites/scroogellm.com/    Marketing site
packages/                Workspaces
scripts/hooks/           Pre-commit + dispatch

Methodology

Spec-driven development. Three phases per product: Specify β†’ Plan β†’ Implement. MinSpec is at Implement. ScroogeLLM has not started Specify.

Bug fixes follow RCDD β€” Root-Cause-Driven Debugging β€” reproduce, diagnose, fix, harden. No code changes in phases 1–2.

All architectural decisions land in docs/decisions/ as DR-NNN.md.

License

Multi-licensed β€” see LICENSE and DR-018. Each package's LICENSE file is authoritative.

Path License
packages/shared (classifier engine + contracts) MPL-2.0
packages/minspec, packages/extension-pack MIT
docs / site copy / whitepaper (LICENSE-CONTENT) CC-BY-4.0

Publisher: aiclarity.

About

🚧 WIP / pre-release β€” MinSpec: complexity-adaptive spec-driven development for VS Code. Tier-proportional spec ceremony, zero AI dependency. Not yet published to any marketplace.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages