Upgrade guide
Current line: 7.0.x
Current documented runtime: 7.0.0.
Release history lives in Changelog. This guide focuses on migration actions, compatibility notes, and setup refresh steps.
For users already on recent 4.x, 5.x, or 6.x, there is no special data migration command. Re-run normal setup so generated runner instructions pick up the current startup contract:
aictx install
aictx init
7.0
7.0 is a product-consolidation release that narrows the default AICTX experience to a lightweight repo-local continuity runtime for coding agents.
This line does not require a data migration. Re-run setup so generated runner instructions pick up the current lifecycle guidance and documentation positioning:
aictx install
aictx init
Upgrade notes:
- Existing
.aictx/continuity data remains compatible. - The primary path is
install -> init -> agent resume -> work -> finalize. - Re-run
aictx initafter upgrading so repo-local instructions pick up the narrowed lifecycle-first guidance. - Top-level CLI help now emphasizes the primary path. Advanced, diagnostic, MCP, guard, steer, prepare, portability, and legacy compatibility commands remain available for existing automations, but they are no longer the default first-run surface.
- Legacy runtime communication modes are normalized to disabled defaults. If you relied on AICTX to enforce agent response style, move that preference to your agent or runner configuration.
- Doctor JSON now includes action-plan remediation hints for continuity quality issues; existing diagnostics consumers should tolerate the additional field.
- Resume JSON now includes a public contract object that separates stable fields from diagnostic fields; existing consumers can continue reading the previous fields directly.
- Final summaries no longer include the long Mermaid Live online URL by default; they keep the local
continuity-map.mmdlink. Useaictx finalize --online-view, MCPinclude_online_view, oraictx view --json --onlinewhen an online Mermaid link is needed. - Review What AICTX writes if you need a file-level setup/runtime inventory.
6.11
This line does not require a data migration. Re-run setup so generated runner instructions pick up the current lifecycle contract, MCP-first guidance, guard triggers, and finalize evidence expectations.
Upgrade notes:
- Existing
.aictx/continuity data remains compatible. - Re-run setup after upgrading the package:
aictx install
aictx init
- Use
aictx resume --repo . --task "<task goal>" --json --briefonly when a compact routine startup payload is preferred; standard resume output remains the compatibility default. - For the complete release history, see Changelog.
6.10
6.10 adds compact guard rails for active agent work and hardens repo-local MCP attachment for the AICTX source checkout.
This release does not require a data migration.
Added:
aictx guard --repo . --action <action> --jsonfor compact read-only action-boundary checks before first edits, edits, risky commands, final answers, finalize, scope changes, agent switches, or continuing after idle.aictx_continuity_guardMCP readonly tool with the same compact payload.aictx steer --repo . --message "<user message>" --jsonfor deterministic classification of user interventions during active agent work.aictx_steer_guardMCP readonly tool.- Dedicated docs: Continuity Guard and Steer Guard.
Changed:
- Guard outputs are intentionally compact and omit full resume capsules, loaded context, and long continuity payloads.
- Repeated guard calls are faster through compact Continuity Quality issue collection, shared lifecycle Work State reads, process-local guard caching, and lightweight CLI entrypoints for
guardandsteer. - The readonly MCP profile includes both guard tools.
- AICTX-managed JSON MCP entries include both
transport: "stdio"andtype: "stdio"for client compatibility.
Fixed:
- In the AICTX source checkout, managed repo-local MCP config now launches the current checkout with
.venv/bin/python -m aictxplusPYTHONPATH=srcinstead of relying on a globally installedaictxbinary. - MCP attachment is therefore less likely to load stale tool schemas after local development changes.
Upgrade notes:
- No data migration is required.
- Existing
.aictx/continuity data remains compatible. - Re-run setup to refresh generated runner instructions and repo-local MCP config:
aictx install
aictx init
- In the AICTX source repository, also refresh the managed MCP files after pulling this release so
.mcp.json/.vscode/mcp.jsonpoint at the local checkout runtime.
6.9.1
6.9.1 is a patch release for Codex setup, communication policy propagation, and Continuity View Mermaid Live links.
This release does not require a data migration.
Changed:
aictx installnow detects an existing~/.codex/directory and installs or updates AICTX-managed global Codex integration by default.- Interactive installs ask for confirmation before updating detected Codex global files;
aictx install --yesapplies detected Codex setup automatically. aictx install --install-codex-globalnow means “force global Codex setup” even when~/.codex/is not detected.aictx resume --jsonnow includes structuredcommunication_policyandruntime_text_policyfields from effective user preferences so agents can applycaveman_lite,caveman_full, orcaveman_ultra.- The communication policy change is payload-only: it does not modify
startup_banner_text,startup_banner_render_payload,agent_summary_text, oragent_summary_render_payload.
Fixed:
- Mermaid Live URLs generated for Continuity View now use a centralized
generate_mermaid_live_urlhelper. - Mermaid Live URLs now use zlib/pako-compatible compression and URL-safe base64 without padding.
- Mermaid Live state now matches the working editor/view shape, including
autoSync,grid,rough,panZoom,pan,zoom,renderCount, andmermaidas a JSON string. - Finalize summaries and agent summary render payloads now reuse the same hardened Continuity View Mermaid Live URL generation path.
Upgrade notes:
- No data migration is required.
- Re-run setup if you want generated runner instructions and global Codex integration behavior from this patch:
aictx install
aictx init
- If Codex is installed and
~/.codex/exists,aictx installwill now offer to update AICTX-managed global Codex files; use--yesfor non-interactive setup.
6.9.0
6.9.0 adds read-only Task Context Packs for on-demand task-specific context outside the normal lifecycle startup step.
This release does not require a data migration.
Added:
aictx prepare "<task goal>" --repo . --jsonfor a bounded Task Context Pack.aictx_prepare_task_contextMCP tool in the readonly profile.- Best-effort lifecycle event tracking for resume, Work State writes, and finalize.
- Lifecycle diagnostics in
aictx resume --json,aictx doctor --json, MCP toolaictx_lifecycle_status, and resourceaictx://repo/current/lifecycle-status. - Task context output covering relevant files, areas, decisions, handoffs, failures, validation expectations, continuity quality and stale-context warnings.
Changed:
- Task context preparation is separate from
aictx resume; it does not render startup banner policy, persist resume contracts, write generated trace artifacts, or replace the requiredresume -> work -> finalizelifecycle. - Task Context Packs filter unrelated CI/config background decisions when they do not match the supplied goal.
- Lifecycle diagnostics are advisory warnings only. They detect incomplete control-loop usage without blocking users or requiring a daemon.
- Lifecycle diagnostics now report MCP resume sessions without finalize as
mcp_resume_without_finalizeinstead of implying a readonly-only MCP profile. - MCP-first runner instructions now ask agents to use runner tool discovery for lazy-loaded MCP namespaces, searching for
aictx resume finalize lifecycle, before falling back to CLI when.mcp.jsonor.vscode/mcp.jsonexists.
Fixed:
.aictx/continuity/lifecycle_events.jsonlis local-only by default so runtime/session telemetry does not enter the portable Git continuity subset.- Claude Code and GitHub Copilot identity inference now resolves to
claudeandcopilotinstead of falling back to generic agent identity. - MCP/CLI resume and finalize flows now share centralized
agent_id/adapter_idinference and expose consistentagent_identitymetadata.
Upgrade notes:
- No data migration is required.
- Existing
.aictx/continuity data remains compatible. - Re-run setup if you want regenerated local runner instructions and MCP metadata from the current package:
aictx install
aictx init
Example:
aictx prepare "fix the MCP permissions bug" --repo . --json
6.8.0
6.8.0 adds Continuity Quality scoring so AICTX can evaluate whether repo-local continuity is fresh, stale, missing, demoted, unverified, or safe to rely on.
This release does not require a data migration.
Added:
- Continuity Quality scoring for repo-local continuity artifacts.
- Stale-context warnings for handoffs, decisions, failures, Work State, RepoMap, Continuity View, and validation evidence.
- Detection of continuity items that reference deleted or missing files.
- Demotion semantics for old or weak memory without deleting existing artifacts.
- Distinction between:
pending_validation_for_new_contract: informational, for newly generated execution contracts that have not been validated yet.missing_validation_evidence: warning, for older carried continuity that expected validation evidence but did not record it.
- Continuity Quality output in
aictx resume --json. - Continuity Quality diagnostic check in
aictx doctor --json. - Continuity Quality MCP tool/resource:
aictx_continuity_qualityaictx://repo/current/continuity-quality
- Compact
## Continuity Qualitysection in generated Continuity View Markdown.
Changed:
aictx viewnow includes a compact quality summary in.aictx/reports/continuity-view.md.- Freshness thresholds are now explicit and advisory:
fresh: updated within 7 dayspossibly_stale: updated within 30 daysdemoted: older than 30 days but not older than 90 daysobsolete: older than 90 days
resumeavoids noisy warning-level validation messages for newly generated contracts.
Upgrade notes:
- No data migration is required.
- Existing
.aictx/continuity data remains compatible. - Continuity Quality is advisory. It does not delete or rewrite existing memory.
- Old continuity may now appear as
demoted,possibly_stale, orobsolete. This means agents should treat it as background evidence and verify it against current files before acting. - After upgrading, refresh repo-local integration files and regenerate the Continuity View:
aictx install
aictx init
aictx doctor --repo . --json
aictx view --repo .
6.7.0
6.7.0 adds local AICTX MCP support and plugin distribution artifacts so agents can use repo-local continuity through MCP-first workflows.
Added:
- Local AICTX MCP server exposing repo-local continuity as tools, resources, and prompts.
- MCP profiles for
readonly,standard, andfullusage. - Default MCP preparation during
aictx installand repo-local MCP configuration duringaictx init. - Safe cleanup/uninstall support for AICTX-managed MCP configuration.
- Claude Code and Codex packaged integration artifacts for AICTX.
- Shared generated agent guidance for MCP-first, CLI-fallback AICTX usage.
- Plugin marketplace manifests for Claude Code and Codex.
Changed:
- Agent integration guidance now tells agents to prefer AICTX MCP tools when available and fall back to CLI commands otherwise.
Security:
- The MCP server is local-first and does not expose arbitrary shell, generic filesystem access, git push, or cloud sync capabilities.
Upgrade notes:
- No data migration is required.
- Existing
.aictx/continuity data remains compatible. - Re-run setup to generate or refresh AICTX-managed MCP configuration and plugin/agent guidance from the current package:
aictx install
aictx init
6.6.0
6.6.0 simplifies the default interactive setup flow while preserving the previous full setup prompts for advanced users.
Added:
aictx install --manualfor the full advanced install prompt flow.aictx init --manualfor the full advanced repo initialization prompt flow.
Changed:
- Default interactive
aictx installnow asks only whether to enable recommended RepoMap support using Tree-sitter. - Default interactive
aictx initnow assumes setup defaults and asks only for repo communication mode. aictx installexplains why RepoMap/Tree-sitter is recommended: it provides compact structural file and symbol context so agents can choose better starting points.aictx initexplains the available communication modes before asking for a selection.- Installation, Quickstart, Usage, RepoMap, and homepage documentation now describe the simplified setup flow.
Upgrade notes:
- No data migration is required.
- Existing flags still work, including
--yes,--with-repomap,--portable-continuity,--no-portable-continuity,--no-register, and--no-gitignore. --yesstill skips prompts and keeps safe defaults. To request RepoMap non-interactively, use:
aictx install --yes --with-repomap
- To keep the previous full interactive flow, use:
aictx install --manual
aictx init --manual
6.5.1
6.5.1 is a patch release for contract-gap guidance hardening and legacy runtime quarantine.
Changed:
- Contract gaps now carry compact guidance fields:
severitypolicyblockingexpectedobserved
- Initial severity mapping is now explicit:
missing_validation -> needs-validation
edit_outside_scope -> needs-review
missing_first_action -> caution
structural_entrypoints_ignored -> caution
- Work State now preserves structured
contract_gapsplusstrongest_contract_gap. aictx resume --jsonnow surfacescarryover_gaps,strongest_carryover_gap, and clearer carryover reasons such ascontract_gap:needs-validation.
Fixed:
- Legacy generated runtime directories are now quarantined instead of being treated as normal editable/discoverable paths:
.aictx_memory.aictx_task_memory.aictx_failure_memory.context_metrics
- Semantic repo shard filenames are now collision-safe.
- Area memory shard filenames are now collision-safe.
migrate_portability_scaffold()now rewrites the AICTX-managed.gitignoreblock back to local-only policy when portability is disabled.- Latest
resume_capsule.jsoncontract fallback is now stricter and no longer accepts weak fuzzy task matches. aictx doctornow reports partial contract compliance aswarninginstead of treating it as fully healthy.python -m aictx.cliis supported again throughsrc/aictx/cli/__main__.py.
Upgrade notes:
- No data migration is required.
- AICTX 6.x continues to use
.aictx/as the canonical runtime and continuity root. - Older experimental runtime directories such as
.aictx_memory,.aictx_task_memory,.aictx_failure_memory, and.context_metricsare not migrated or read by AICTX 6.x. They are treated as legacy generated artifacts and should not be edited directly. - If you still need information from those directories, copy it manually into
.aictx/memory/source/before removing them. - Re-run setup if you want regenerated local runner instructions from the current package:
aictx install
aictx init
6.5.0
6.5.0 adds Continuity View: a local, deterministic Markdown and Mermaid report for current repo continuity.
Added:
- Public Continuity View commands:
aictx view --repo .aictx view --repo . --mermaidaictx view --repo . --json
- Stable local report artifacts:
.aictx/reports/continuity-view.md.aictx/reports/continuity-map.mmd
aictx finalize --include-view/--viewsupport so final summaries can include Continuity View links.resume --jsoncontinuity_viewmetadata with stable Markdown/Mermaid paths and existence state.- Dedicated Continuity View documentation and site placement.
Changed:
- The artifact contract now documents
.aictx/reports/*and the stable Continuity View report/map paths. - The docs now position Continuity View as inspectable repo continuity, not a generic graph viewer.
- Agent-facing docs now state that AICTX generates the Mermaid deterministically and agents preserve the exact local
.mmdandmermaid.live viewsummary links. - Overview active-task semantics now distinguish actual active Work State from paused/blocked carryover.
Fixed:
- Continuity View Overview no longer counts recent paused or blocked carryover as the current active task. Carryover can still appear as
Paused WorkorBlocked Workwhere relevant.
Upgrade notes:
- No data migration is required.
- Existing
.aictx/continuity data remains compatible. - Run
aictx view --repo .to create the first local Continuity View in an existing repository. - Re-run setup if you want regenerated local runner instructions from the current package:
aictx install
aictx init
6.4.3
6.4.3 is a patch release for GitHub Copilot instruction hardening.
- GitHub Copilot path-specific instruction and prompt files generated by
aictx init:.github/instructions/aictx.instructions.md.github/prompts/aictx-resume.prompt.md.github/prompts/aictx-finalize.prompt.md
6.4.2
6.4.2 is a patch release for SEO documentation architecture, canonical project identity improvements.
Added:
- New documentation clusters for use cases, comparisons, and concepts:
/use-cases//compare//concepts/
- Agent-readable docs files:
llms.txt,llms-small.txt, andllms-full.txt.
Changed:
- Existing Markdown docs now have SEO-focused front matter titles and descriptions.
- The docs homepage now emphasizes repo-local memory and continuity for coding agents and links to the new SEO hubs.
- The official project identity page now clearly documents the canonical website, GitHub repository, PyPI package, CLI, maintainer, and non-affiliation notice.
- Documentation pages now emit
TechArticleJSON-LD and canonical breadcrumb structured data. - The sitemap now includes all new SEO pages and cluster indexes.
- GitHub Copilot docs now describe the best-effort instruction model and how to verify
.github/copilot-instructions.mdin Copilot References.
Fixed:
- Nested breadcrumb JSON-LD now includes canonical
itemURLs for Use cases, Comparisons, and Concepts section breadcrumbs.
Upgrade notes:
- No runtime migration is required.
- No
.aictx/data migration is required. - Re-run setup if you want regenerated local docs/instructions from the current package, including the hardened Copilot instruction files:
aictx install
aictx init
6.4.1
6.4.1 is a patch release for portable continuity hardening and release/documentation identity consistency.
Added:
docs/OFFICIAL_PROJECT.mdas the canonical project identity page.
Changed:
- Portable continuity human status output now surfaces warning-level information directly in text mode:
- overall status
- portability drift
- invalid portable JSONL row count
- secret finding count
- warning messages
- README, installation, usage, portability, safety, release checklist, and generated site metadata now describe the
6.4.1line and official project identity consistently.
Fixed:
link_resolved_failures()now rewrites.aictx/failure_memory/failure_patterns.jsonlthrough the shared portable JSONL writer instead of bypassing the portable rewrite path.- Shared portable JSONL rewrite flows now consistently follow the sanitizer-backed writer path for rewrites as well as appends.
Upgrade notes:
- No data migration is required.
- Re-run setup only if you want regenerated local instructions or docs-aligned repo scaffolding:
aictx install
aictx init
6.4.0
6.4.0 is a minor release for team-safe git-portable continuity.
Added:
- Public portability maintenance commands:
aictx portability status --repo . --jsonaictx portability compact --repo . --apply --json
Changed:
aictx init --portable-continuitynow writes thepolicy_version: 2/profile: team-safeportability policy.- Portable continuity now prefers append-only histories and sharded portable artifacts:
.aictx/continuity/handoffs.jsonl.aictx/continuity/semantic_repo/*.json.aictx/area_memory/areas/*.json
- Conflict-prone snapshots stay local-only and are derived when missing:
.aictx/tasks/active.json.aictx/continuity/handoff.json.aictx/continuity/semantic_repo.json.aictx/area_memory/areas.json
- If
.aictx/tasks/active.jsonis missing and portable Work State falls back tothreads/*.json, AICTX now skips fallback threads that do not have savedgit_context. - AICTX now manages
.gitattributesmerge hints for portable append-only JSONL files. Git remains the only required transport; no external sync/lock service is required. aictx portability status --repo . --jsonnow reports sync/drift for the managed portability policy files.- Portable artifacts are now secret-safe by default: AICTX redacts detected tokens, passwords, API keys, private keys, credential-bearing URLs, and similar secret-shaped values before writing the portable subset.
aictx portability status --repo . --jsonnow also reports portable secret-scan findings without printing raw secret values.aictx portability compact --repo . --apply --jsonnow redacts secret-like values in valid rows, but still refuses to rewrite files containing invalid JSONL rows.
Upgrade notes:
- If you were already using local-only continuity, no migration is required unless you want to opt into portable continuity.
- If you already had portable continuity enabled on an older repo, re-run:
aictx init --repo . --portable-continuity
- Then verify the effective policy:
aictx portability status --repo . --json | python3 -m json.tool
- After large merges, you can compact portable JSONL artifacts:
aictx portability compact --repo . --apply --json | python3 -m json.tool
- There is no secret-redaction override in this line. If a portable artifact is meant to be committed, AICTX will persist the redacted form.
6.3.2
6.3.2 is a patch release for GitHub Copilot repository instructions and related docs.
Added:
aictx initnow creates.github/copilot-instructions.mdwith AICTX-managed GitHub Copilot repository custom instructions.
Changed:
- README, installation, quickstart, technical overview, docs index, and release checklist now describe GitHub Copilot as a supported runner surface.
- GitHub Copilot instructions are documented as a standard repository file that remains versioned in git and uses explicit Copilot identity:
--agent-id copilot--adapter-id copilot-vscode
aictx cleanandaictx uninstallnow remove the AICTX-managed block from.github/copilot-instructions.mdwhile preserving non-AICTX user content in that file.
Upgrade notes:
- No data migration is required.
- Re-run
aictx initafter upgrading so existing repositories receive the Copilot instructions file and refreshed runner instructions.
6.3.1
6.3.1 is a patch release for visible-session banner behavior and repository presentation.
Fixed:
aictx finalizenow preserves the inferred Codex adapter identity when no explicit--adapter-idis provided.- This prevents
resumefrom usingCODEX_THREAD_IDwhile CLIfinalizemarks a separategenericsession, which made the startup banner appear again on later responses in the same visible session.
Changed:
- README top-of-page copy now states the real repo-local runtime loop,
.aictx/artifact model, install path, use cases, and limits more directly. - Added GitHub community health files for contribution, issue, PR, conduct, and security workflows.
Upgrade notes:
- No data migration is required.
- Re-run
aictx installandaictx initafter upgrading so generated runtime instructions match the current runtime.
6.3.0
6.3.0 hardens the repo-local continuity loop: release readiness, contract-gap carryover, resume relevance, RepoMap status clarity, and read-only diagnostics.
Added:
- Contract compliance gaps carry over into Work State as
unverified,risks,recommended_commands,next_action, andsource_execution_ids. aictx resume --jsonexplains loaded context withrole,selection_reason,confidence,staleness, andrelated_paths.- RepoMap status separates provider, index, query, and refresh availability.
- Public read-only
aictx doctor --repo . --jsongeneral diagnostic report, with--release-readinessfor strict aictx release-gate checks. make ciremains the canonical release gate, including clean wheel install/version checks.
Upgrade notes:
- No external Jira, Confluence, Slack, email, cloud cache, hosted dashboard, or external RAG integrations are added in this line.
- No new carryover store is required; Work State remains the source for unresolved continuation.
- Re-run
aictx installandaictx initafter upgrading so generated runtime instructions match the current runtime.
6.2.0
6.2.0 makes RepoMap actionable inside the normal continuity workflow.
Added:
- Top-level
structural_entry_pointsandstructural_contexttoaictx resume --jsonwhen RepoMap is enabled and indexed. - Compact text rendering of structural entry points in
aictx resumeoutput. - Optional
execution_contract.expected_first_filesderived from RepoMap structural entry points. - Contract compliance
structural_alignmentmetadata for whether observed files followed, partially followed, ignored, or could not evaluate the expected structural entry points.
Upgrade notes:
- RepoMap remains optional. Core continuity works when RepoMap is disabled, unavailable, stale, or unindexed.
- Structural entry points are bounded hints, not semantic understanding, enforcement, or correctness guarantees.
- Re-run
aictx installandaictx initafter upgrading so generated runtime instructions match the current runtime.
6.1.0
6.1.0 extends the v6 runtime with explainable loaded-context metadata and optional entrypoint arbitration for request-sensitive resume routing.
Added:
- Top-level
loaded_contextinaictx resume --json, with bounded additive metadata for failures, handoffs, decisions, strategy reuse, and RepoMap hints. src/aictx/continuity/explain.pyto explain why continuity items were selected without introducing a second unrelated retrieval pass.- Official entrypoint-arbiter adapter contracts and wrapper scripts for Codex, Claude, and generic runners.
Changed:
aictx resumecan now use configured runner-specific arbiter commands (AICTX_CODEX_ENTRYPOINT_ARBITER_COMMAND,AICTX_CLAUDE_ENTRYPOINT_ARBITER_COMMAND,AICTX_GENERIC_ENTRYPOINT_ARBITER_COMMAND) in addition toAICTX_ENTRYPOINT_ARBITER_COMMAND.- Technical overview, usage docs, limitations, and README now document explainable loaded context and the arbiter trust/fallback model.
Fixed:
- Handoff staleness now accepts both
updated_atandtimestamp. loaded_context.related_pathsnormalizes repo-internal absolute paths to repo-relative form, removes duplicates, and omits repo-external absolute paths.- Arbiter failures, invalid JSON, non-zero exits, and timeouts now fall back cleanly to deterministic local ranking without corrupting
resume --json.
Upgrade notes:
- Re-run
aictx installandaictx initafter upgrading so generated runner instructions and wrapper paths match the current runtime. - Entrypoint arbitration remains disabled unless one of the arbiter command environment variables is explicitly configured.
loaded_contextis inspection/debugging metadata only; it explains selection but does not prove relevance or correctness.
6.0.0
6.0.0 is a breaking runtime cleanup and Contract Compliance redesign. Re-run setup after upgrading so generated runner instructions and repo-local scaffold files match the v6 contract.
Added:
- Persisted resume contracts under
.aictx/continuity/contracts/, indexed bycontract_id,session_id, andexecution_id. contract_refin resume capsules, so finalize/prepare can resolve the generated contract without depending only on the latest.aictx/continuity/resume_capsule.json.- Canonical
aictx finalize --task "<task goal>".
Changed:
- Contract matching no longer depends on exact task text. It uses task-intent matching and refuses stale/unrelated contracts.
aictx finalizeresolves task context in this order:--task, legacy--request, active Work State, then--summary.- Contract reporting only surfaces evaluated results:
followed,partial, orviolated. - Final summaries only include
Contract:when there was a usable contract and enough observation to evaluate it.
Fixed:
- Low-signal
not_evaluatedrows are no longer appended to.aictx/metrics/contract_compliance.jsonl. - Historical reports ignore old
not_evaluatedrows when choosing the latest useful contract result. - Missing contracts no longer create false
contract_missingadherence violations.
Upgrade notes:
- Existing old
not_evaluatedrows may remain in historical JSONL files, but v6 reporting ignores them for latest useful contract status. - Prefer
aictx resume --repo . --task "<task goal>" --jsonat startup andaictx finalize --repo . --status success|failure --task "<task goal>" --summary "<what happened>" --jsonat finalization. - If an active Work State exists,
finalizecan use it when neither--tasknor--requestis provided.
5.3.0
Added:
- Added the Contract Compliance Ledger, evaluated during
aictx finalize, with compact JSONL audit rows at.aictx/metrics/contract_compliance.jsonl. - Added
contract_complianceto finalize JSON output and a compact contract line inagent_summary_text/ structured summary output. - Added historical contract compliance metrics to
aictx report real-usage. - Added
previous_contract_resulttoaictx resume --jsonand a single compact previous-contract line in default resume text. - Added focused and end-to-end tests for followed, partial, violated, not-evaluated, persistence, reporting, and next-resume behavior.
Changed:
- Updated normal startup documentation to prefer
aictx resume --repo . --task "<task goal>" --jsonand remove legacy--requeststartup compatibility. - Improved user-facing contract summaries so visible text says the reason in human terms while
main_issuekeeps compact machine-readable codes.
Fixed:
- Made not-evaluated contract summaries explicit about why evaluation was skipped, distinguishing missing matching resume contracts from missing execution observations.
- Verified finalize compliance evaluation uses the populated execution observation (
files_opened,files_edited,commands_executed,tests_executed) before writing metrics and final summaries.
Safe upgrade checklist
python -m pip install --upgrade aictx
aictx install
aictx init
aictx resume --repo . --task "continue current work" --json | python3 -m json.tool
aictx finalize --repo . --status success --task "upgrade validation" --summary "Validated AICTX v6 upgrade" --json | python3 -m json.tool
aictx advanced