All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
npx aidd agent --prompt "<text>"— new CLI subcommand that delegates a prompt to an AI agent (claude, opencode, or cursor) directly from the terminal--prompt <text>flag onnpx aidd create— after scaffolding completes, runs an AI agent in the new project directory to kick off autonomous development--agent-config <name|path>oncreateandagent— configures which AI agent to use; accepts a preset name (claude,opencode,cursor), a path to a YAML config file, or falls through the full resolution chain- Agent config resolution chain: explicit flag →
AIDD_AGENT_CONFIGenv var →agent-configinaidd-custom/config.yml→ claude default agent-configoption inaidd-custom/config.yml— documented indocs/aidd-custom.mdand pre-populated as a commented example in the install templateaidd/agentpackage export — programmatic access torunAgentfor third-party tools and scaffold manifestsaidd/agent-configpackage export — programmatic access togetAgentConfig/resolveAgentConfigwith full TypeScript typesScaffoldDestinationError— dedicated error type (codeSCAFFOLD_DESTINATION_ERROR) whennpx aidd createtarget folder already exists; displays a clear❌ Destination conflictmessage with actionable hint- Manifest prompt-step ordering guard —
parseManifestnow throwsScaffoldValidationErrorif aprompt:step appears before anyrun:step that invokes theaiddCLI, preventing agents from running before the framework is installed import aidd-custom/AGENTS.mddirective in rootAGENTS.md— allows projects to override root-level agent directives with project-specific settingsaidd-custom/AGENTS.mdscaffold — created automatically onnpx aiddinstall to provide a place for project-specific agent instruction overrides
npx aidd scaffold-cleanupremoved — downloaded scaffold files are now cleaned up automatically after everynpx aidd create <url>. Remove any explicitscaffold-cleanupcalls from your workflows.⚠️ Requires a major version bump.
aidd-tddskill — added mocking constraint: I/O operations should use integration tests; unit tests needing a mock should extract effect-free pure functions insteadaidd-churnskill — churn scores now exclude intra-PR commits automatically (scoped togit merge-base HEAD origin/main); added >15% composite score gate with RTC analysis for threshold breaches
npx aidd create <url>no longer fails on repeated runs with a destination-conflict error —~/.aidd/scaffold/is cleaned up automatically after every create, whether it succeeds or fails (fixes #157)
aidd-fixskill — structured bug-fixing workflow using a typed SudoLang pipeline with TDD discipline, exit gates, and delegation hints (/execute,/commit)aidd-ecsskill — enforces@adobe/data/ecsbest practices for Database.Plugin definitions, components, resources, transactions, actions, systems, and servicesaidd-layoutskill — enforces UI component layout and composition patterns (terminal vs. layout components, spacing, re-render efficiency)aidd-namespaceskill — ensures types and related functions follow a modular, discoverable, tree-shakeable namespace patternaidd-observeskill — enforces Observe pattern best practices from@adobe/data/observe(reactive data flow, observable composition helpers)aidd-reactskill — enforces React component authoring best practices (reactive binding,useObservableValues, action callbacks)aidd-structureskill — enforces source code structuring and interdependency rules across types, services, plugins, and components layersvision.md— project vision document as source of truth for AI agents; agents now check for conflicts before executing tasks- SudoLang syntax cheat sheet (
ai/rules/sudolang/sudolang-syntax.mdc) npx aidd createepic planned for app scaffolding CLI surface- Next.js + ShadCN setup guide (
docs/new-project-setup-nextjs-shadcn.md) typechecknpm script (tsc --noEmit) wired intonpm testandnpm run test:unitlib/cli-core.d.tstype declarations for all exported CLI core functions
- Replaced ESLint and Prettier with Biome for formatting and linting
- Updated task execution steps and approval process in agent workflow documentation
- Enhanced TDD documentation with UI testing strategy (Redux, sagas, Playwright, riteway/render)
- Improved README with AI-generated code challenges and AIDD benefits
- ALL_CAPS plain JS constants renamed to camelCase per style guide (
requiredDirectives,agentsMdContent,maxRecursionDepth, etc.) generateAllIndexeserror return type normalized to{ message, cause? }across all code pathsgenerateIndexRecursivetype declaration updated to include optionaldepthparameter
- AGENTS.md installer with
--indexcommand for progressive AI context discovery - Error-causes rule for structured error handling patterns
- SHA3-256 hashing security rule for CSRF token validation
- Timing-safe comparison security rule
- Renamed "SudoLang AIDD" to "AIDD Framework" throughout documentation
- Enhanced JWT security guidelines with stronger recommendations
- Updated security review guidelines for JWT and comparison operations
- Review.mdc file path references corrected
- Form handling middleware (
handleForm) with TypeBox validation - CSRF protection middleware (
withCSRF) with SHA3-256 token validation - Timing-safe comparison for CSRF tokens
- Comprehensive documentation for form, CSRF, and auth middleware
- TypeScript type checking in test scripts
- Replaced ajv with TypeBox for form validation
- Enhanced CSRF and form middleware with logging and configuration
- CSRF bypass allowing form processing after rejection
- CSRF token regeneration on every GET request
- js-sha3 import compatibility for Node.js ESM
- Critical bugs in form/CSRF middleware
- File path inconsistencies in AI configuration files
- Auth middleware wrapping better-auth for session management
- Parallel Drive badge to README
- Table of Contents section to README
- Made better-auth a peer dependency (optional)
- File path patterns for agent files
- Agent orchestrator file path references
- Component overview in README and CLI help text
- AIDD definition in documentation
- Updated CLI help text with improved structure and clarity
- Consistent bullet format in CLI help text
- Brand name in tests changed to "SudoLang AIDD"
- Badge link for SudoLang AIDD
- Markdown formatting removed from CLI help text
- Server docs link restored in CLI help
- Release dates corrected in CHANGELOG
- Repository URLs corrected
- Test files excluded and docs included in npm package
- Latest tag now pushed to origin in release hook
- New
aidd/utilsbarrel export with composition utilities pipefunction for left-to-right synchronous compositioncomposefunction for right-to-left synchronous compositionsideEffects: falsein package.json for optimal tree-shaking
- BREAKING: Import path changed from
aidd/asyncPipetoaidd/utils- Before:
import { asyncPipe } from 'aidd/asyncPipe' - After:
import { asyncPipe } from 'aidd/utils'
- Before:
To migrate to v2.0.0, update your imports:
// Old (v1.x)
import { asyncPipe } from 'aidd/asyncPipe';
// New (v2.0.0+)
import { asyncPipe } from 'aidd/utils';- AIDD Server Framework with production-ready middleware
- GitHub Actions CI workflow
- Comprehensive server framework documentation
- Flaky E2E tests now robust with git state verification
- Test redundancies removed for cleaner test suite
- Release automation improvements
- Test suite enhancements