Repository navigation
AIContext v0.4.0
Pre-release
Pre-release
AIContext 0.4.0
AIContext 0.4.0 makes the CLI easier to start with and to run day to day: --version, an extended init profile, and export that honors exports.defaultTarget. The standalone binaries are also about three times smaller.
Highlights
aicontext --version(also-vandversion) prints the tool version and the specification version.aicontext init --profile extendedcreates starterarchitecture.md,decisions.mdandconstraints.mdnext toREADME.mdandcontext.json, so a new project passesvalidate --strictas the Extended profile right away. The default stayscore.exportwithout--target. Whenexports.defaultTargetis set incontext.json,aicontext exportuses it.--targetalways takes precedence,allmeans the targets fromexports.targets, and if neither is available the command fails with a message that names both options.- Smaller standalone binaries. Self-contained, single-file binaries are now published with partial trimming: about 11 MB instead of about 36 MB for Windows x64. No .NET installation is required.
New
aicontext --version,-v,version.aicontext init --profile <core|extended>.exportfalls back toexports.defaultTargetand printsUsing exports.defaultTarget '<value>' from .aicontext/context.json.ProjectInitializerin theAIContextlibrary (the init logic moved out of the CLI).- Release smoke test for the standalone binaries now also covers
--version, the extended profile and rejection of an invalidcontext.json. - English user manual on the website.
Changed
initchecks all files it would create before writing anything: if any of them exists it reports every conflict and writes nothing (unless--force). Files are now written with LF line endings and without a BOM.- SPEC 6.1 now defines the meaning of
exports.defaultTarget. The schema andspecVersion(0.1.0) are unchanged, so existingcontext.jsonfiles stay valid.
Upgrade notes
dotnet tool update --global AIContext.CLI
aicontext --version- Nothing breaks:
exportwithout--targetused to fail, so existing scripts are unaffected. If yourcontext.jsonalready containsexports.defaultTarget,aicontext exportnow acts on it. - In CI you can keep using
aicontext export --target all --check.
Known limitations
- Partial trimming was verified locally on Windows x64; the other platforms are verified by the release workflow.
- Secret detection is heuristic and does not replace a dedicated secret scanner.
- Per-tool rule formats were verified against vendor documentation, not yet against every tool in real projects.