Changelog
All notable changes are documented here using the Keep a Changelog format.
[Unreleased]
Added
- Bilingual static documentation and landing-page generator (
make build-site,scripts/docs_site/) with GitHub Pages workflow (.github/workflows/pages.yml), an 18-second live demo walkthrough GIF (docs/images/demo-walkthrough.gif), Open Graph social preview PNGs, hreflangsitemap.xml,robots.txt,llms.txt/llms-full.txt, andSoftwareApplication/FAQPage/TechArticlestructured data. - Official MCP Registry manifest (
server.json) with matchingmcp-nameverification marker inREADME.md, manual OIDC PyPI/MCP publication workflow (.github/workflows/publish-pypi-mcp.yml), plus positioning comparison and FAQ sections in both READMEs and expanded discovery metadata inpyproject.toml. - Workflow CLI run history and step/recovery inspection (
datakeel workflow runs,datakeel workflow show --audit), actor scoping (--actor), and--jsonoutput acrosslist,validate,run,resume,runs, andshow(datakeel/cli/workflow.py). - Independent
delivery_reviewproof validation and bilingual/JSON attestation summary indatakeel reconcile(datakeel/delivery/,datakeel/cli/delivery.py), checking frozen partition totals and source-version alignment offline. - Native
datakeel agentanddatakeel memorycommands for streamed chat, approved-plan resumption, specialist discovery, searchable history, call telemetry and redacted memory management, with JSON output. - Auditable Markdown/JSON Agent session exports and on-demand Copilot call-tree and budget telemetry.
- Audited MCP memory search, writing and editing, bilingual tool discovery, and specialist/memory resources.
- Agent conversation search and dataset filtering, with call-tree token, cost, model and tool latency telemetry.
- Read-only production, training and knowledge graph/standards specialists, with all six specialist names advertised during delegation discovery.
- Canary-safe live text streaming with immediate tool and delegation progress, while keeping transcripts and replays compact.
- Web and Copilot execution modes, deep Agent escalation, approval continuation, streaming stop, and an on-demand Agent call tree.
- Intent planning retries configured backup models, recalls explicit user notes per attempt,
and automatically looks up objects beyond the prompt catalog when it grows or truncates.
Configure discovery with
DATAKEEL_INTENT_PLANNER_EXPLORE=off|auto|on(defaultauto) andDATAKEEL_INTENT_PLANNER_EXPLORE_THRESHOLD(default60). - Browser image-folder import from the data library with a local preview, directory split detection, optional caption and annotation pairing, and resumable upload.
- Dataset delivery review for an immutable version. Inspect cross-split matches side by side, correct a version by retaining an exact file selection, and sign a release whose portable manifest carries the checked partition and leakage result. The image workflow has a bilingual delivery guide and a local browser smoke test.
Changed
-
Compatible model providers run distinct read-only specialists concurrently, preserving guard limits, ordered results and live child progress.
-
Long Agent conversations compact older history based on budget while retaining action IDs; the call tree shows token and cost utilization with an 80% warning.
-
Agent turns run up to four independent read tools concurrently, preserving guard limits, ordered results and live progress.
-
Memory now preserves identifier tokens and supports ranked search and inline editing with PII redaction.
-
Ranked bilingual Agent tool discovery with bounded results, and folded older large read outputs at the prompt boundary while preserving recent exchanges and persisted transcripts.
-
Batched Agent plan, run, chain and session-owner reads, and scoped delegation history hydration to avoid repeated lookups and unnecessary conversation deserialization.
-
Reorganized both READMEs and documentation hubs around the tasks users can complete.
Fixed
- Mode-aware vector evidence run reports in
web/src/features/evidence/VectorReport.tsx, displaying cloud HTTP metered requests, tokens, CNY cost, cache hits, and provider response IDs formode="real"runs instead of synthetic0 CNYfake labels. - Restored independent mutation-gate observability for
human-approvalindatakeel/agent/confirm.pyby checkingauthorization_for(plan.action_type).human_onlywithout maskingplan.requires_approvalon irreversible actions. - PostgreSQL claim-index initialization now locates the index by the resolved table rather than a name shared across schemas. The prelabel lock regression also checks observable concurrent progress, and the vector-specific signature test observes its own guard independently.
[0.27.0] - 2026-11-17
Added
- Governed cloud HTTP vector embedding mode (
mode="real",fake_version="we-cloud-http-v1") indatakeel/evidence/vector_cloud.py,datakeel/core/vector_models.py, anddatakeel/storage/, supporting OpenAI- and DashScope-compatible/v1/embeddingsendpoints with explicitreal_egress_enabled/real_budget_cnyCNY nano-accounting, pre-dispatch credential and DNS SSRF fencing, non-redirectinghttpxexecution, and mode-isolatedreal:we-cloud-http-v1:*caches and replay integrity. See vector kernel. - Declarative action kernel (
datakeel/actions/declarations.py,datakeel/actions/ir.py,datakeel/actions/authorization.py), transactional lifecycle slice (datakeel/action_store/), and generated frontend declaration export (web/src/api/actionDeclarations.ts), activating structured generated ownership forquarantine_filesandunquarantine_fileswhile decoupling production/automatic execution guards from display wording. See action declarations. - UTC review time-window filtering (
window,days,since,untilviaReworkRateParams) for therework_rateread function and one-sentence planner answers indatakeel/ontology/production_functions.py,datakeel/storage/production_statistics.py, anddatakeel/intents/. - Optional rule-verified model intent candidate refinement (
K18-verified-model-candidateindatakeel/ask/knowledge_intent_candidates.py) alongside expanded bilingual topic-usage, counterfactual outage, and flow-slot vocabulary indatakeel/ask/. - Multi-tier OpenAI and Anthropic tariffs in
contracts/model-prices.yamlalongside a bundled tiered-and-backup routing example (contracts/routing/models-tiered.example.yaml) and bundled cloud visual transcription pricing regression coverage. - Bilingual documentation hubs (
docs/README.md,docs/README.zh.md) indexing all repository guides, alongside extracted API/pipeline references (docs/API_REFERENCE.md,docs/API_REFERENCE.zh.md) and offline evaluation/gate references (docs/VERIFICATION.md,docs/VERIFICATION.zh.md). - Community and package metadata:
SUPPORT.md,CITATION.cff,.github/ISSUE_TEMPLATE/config.yml, and PEP 639-compatibleauthors,keywords,classifiers, and[project.urls]inpyproject.toml. - Loopback-only local PostgreSQL stack in
compose.yaml(documented indocs/DEPLOYMENT.mdanddocs/DEPLOYMENT.zh.md) and a tag-triggered GitHub Release workflow (.github/workflows/release.yml) attaching the verified wheel, hashed requirements, notices, andSHA256SUMS.txtwithout publishing to PyPI or container registries. - Repository open-source hygiene regression tests in
tests/test_oss_repository.pychecking relative links across documentation hubs, package metadata compliance, loopback Compose boundaries, and release-workflow restrictions.
Changed
- Expanded bilingual workflow trigger concepts (
dataset-health,metric-change), irregular English verb inflections, and partial entity-plus-outcome classifier eligibility indatakeel/routing/while preserving all 116 frozen intent labels. - Extended Design System v2 UI primitives (
PageHeader,Button,Select,Input,Badge,Surface,SegmentedTabs,EmptyState) across all remaining route pages inweb/src/pages/and core domain workspaces (ObjectHeader,Evidence,KnowledgeGraph,Catalog,Standards,Workflows,CustomOperators,DataAssets,QualityRules,Labeling,Agent,Ask,Memory,Traces,Datasheets). - Restructured
README.mdandREADME.zh.mdinto scannable bilingual open-source entry points while keeping all verified CLI, MCP, architecture SVG, local Docker, andexport-tracescontracts intact. - Synchronized
docs/BACKLOG.mdwith implemented v0.19.0–v0.26.0 items and removed the standalone historical acceptance memodocs/P32B-ACCEPTANCE.md.
[0.26.0] - 2026-11-14
Added
- Action-chain continuation and live-DB replanning (
POST /api/intents/chains/{chain_id}/replan,datakeel intents replan,replan_chain), planning state-dependentdeferred_stepsaftersucceededprerequisite steps and replanning unexecuted steps onfailedchains while substituting completed step$refoutputs without re-running finished work. - Global right-side proofreading Copilot drawer (
⌘J/Ctrl+J, topbarCopilotTrigger, andCommandPalettehandoff) with toggleable livePageContextchips (CopilotContextBar), zero background requests while closed, lazy session creation on send, and inlineChainReplanBaractions insideIntentCard/ChainCard. - Collapsible navigation sidebar rail (
⌘B/Ctrl+B) and per-group collapse state persisted inlocalStorage, auto-expanding on hash route changes (Sidebar,useSidebarState). - Compact sticky
48pxtopbar with multi-level clickable breadcrumbs (Breadcrumbs) and server-verified actor/role badge (ActorBadge,useActorIdentity). - Design System v2 foundation for the web workspace (
web/src/components/ui/,web/src/styles/ui.css,web/src/styles/tokens.css): structural radius, control-height, border, elevation, layer, and motion tokens plus zero-dependency UI primitives (Button,Select,Input,Badge,Surface,PageHeader,SegmentedTabs,EmptyState), adopted in the topbar,StateBadge,WorkbenchPage,LibraryPage,DatasetWorkspace,ApprovalsPage, andRunsPage. - Runtime proofreading palette switcher (
PaletteControl) in the topbar across all three contrast-verified palettes (pencil,ochre,graphite) scoped via[data-palette]and persisted indatakeel.palette. - Expanded semantic icon library from 18 to 34 icons (
web/src/components/Icon.tsx) with distinct icons across all 19 sidebar navigation destinations.
Fixed
-
Team-tier task claiming ranks candidates in the database instead of fetching and sorting every open task in Python inside the write lock, which serialized concurrent saves behind each claim on SQLite. Re-measured B8 (50 annotators, 10 minutes): SQLite save p95 2,841 → 188 ms and next-task p95 548 → 33 ms, PostgreSQL 113 → 73 ms and 254 → 77 ms; both stacks meet every target with zero duplicate claims. The task list's display order is now persisted once per project as
production_tasks.display_rankand covered by the claim-order index, so a claim is one orderedSKIP LOCKEDquery that still returns exactly the task the list shows as next. SQLite gains schema v3 (nullable column + rebuilt index, purely additive, facts mechanically preserved); legacy rows are backfilled idempotently on the first claim, and PostgreSQL converges the index at startup. See maintenance and capacity. -
Deployment guide Caddy recipes inject the authenticated actor with a single
header_upset. The previous delete-then-set pair let Caddy apply the deletion after the set, dropping the injected header so the application fell back to the legacylocalactor. Found and verified against a live Caddy + basic-auth deployment on a separate host; the six-point verification checklist (unauthenticated rejection, forged-header stripping, loopback-only direct access, role grant/revocation, audit principal, MCP isolation) passes end to end.
[0.25.0] - 2026-11-11
Added
-
Bilingual small-team deployment guide for the supported authenticating-proxy boundary: loopback defaults, shared-operator and registered per-user modes, Caddy/nginx + oauth2-proxy and Caddy basic-auth recipes that strip client-supplied actor headers and inject the authenticated principal, operator registration, and a forged-header/revocation/audit verification checklist. Documentation only; no application authentication, API or schema change. See deployment.
-
Development-only FAISS exact comparison and a reproducible cold/hot/incremental controlled fake-worker campaign with frozen synthetic inputs, raw wall time/process-peak RSS, cache and request/comparison accounting, synthetic-gold metrics and named mutation anchors. FAISS stays outside the product wheel/runtime closure; real encoder quality and cloud latency remain untested, with zero real spend. See offline evaluation.
-
Read-only vector evidence queries for explicit runs, with signed snapshot cursors, complete source and reference authorization, typed failure reports and bounded filtering. The bilingual Evidence view shows measurements, DBSCAN clusters/noise, source contracts, counts and fake usage/cost; reviewed gaps can be added manually to the existing ObjectSet selection without executing actions. OpenAPI types and bundled web assets are synchronized. See the query guide.
-
Fake-only semantic cluster, DBSCAN noise and relative coverage-gap candidates in signed vector pipelines. Complete target/reference snapshots, all-reference authorization, finite typed measurements and exact capacity checks share atomic publication and offline evidence replay. Cluster references remain derived endpoints; real model quality is unmeasured. See the fake kernel guide.
-
SQLite versioned migration registry, full semantic baseline recognition and immutable thin ledger, with campaign maintenance exclusion, transactional forward steps and resumable committed prefixes.
datakeel db status/upgradeand themigratealias emit stable JSON/exit classifications. Complete hash-verified local recovery packages include database/WAL facts, referenced objects and non-secret configuration; restores stay isolated from services and outbound relays. See SQLite maintenance. PostgreSQL/S3 and historical release qualification remain outside this slice. -
Fake-only vector DAG nodes (
evidence.vector_embedand directevidence.semantic_duplicate) reuse controlled pipeline approval and fenced workers. Complete branches, final payload hashes, HTTPS fixture destinations and invented CNY bounds are frozen before execution. Durable attempts retain unknown occupancy across restart; separate embedding/global caches publish atomically with replayable evidence. Task, action and source queries expose optional typed fake status and cosine measurement. Real egress and budget remain disabled; real quality and latency are unmeasured. See the fake kernel guide. -
Offline W-E E1 development provenance reconstruction, per-original license ledger and hash-bound public manifests. Wiki-40B card license silence is retained separately from underlying Wikipedia CC BY-SA duties; the rejected Commons candidate is replaced with a locally verified CC0 image, with the original retained as rejected history. The changed development set requires a fresh independent image and intersection audit. Independent custody and E2 approval remain blocked.
Fixed
-
Vector publication takes the shared projection lock before reading predecessors or invalidations. PostgreSQL lock deduplication follows transaction/savepoint lifetime, including Session reuse; ordinary evidence publication keeps its existing query budget.
-
SQLite v2 freezes the complete 102-table vector/lease schema independently of v1. Empty file/memory stores apply both versions; explicit upgrades preserve existing 99-table facts and stamp complete unversioned 102-table stores without replaying DDL. Pending service startup stays blocked; failed postconditions or ledger writes roll back with schema and data. V1's checksum closure, public protocols, recovery isolation and PostgreSQL W3 initialization remain unchanged.
-
Worker-store completion keeps fake vector authorization, whole-DAG publication, terminal recovery and nonretryable expiry in typed persistence adapters. Recovery follows terminal outbox writes in the same transaction; task query/list responses retain optional vector reports and partial-success flags after the storage split.
-
Legacy trace compatibility tests use complete schema baselines, and production schema mutation anchors now target the frozen SQLite DDL used by generated fixtures.
-
Dataset Row import checks now resolve module aliases, version summaries retain internal row compatibility, and publication reuses prepared file models without reparsing manifests.
-
Restore PostgreSQL W3 application initialization and repeat startup without SQLite-only admission.
create_app(..., run_migrations=False)again reuses caller-initialized stores without migration or baseline checks, including scale fixtures; default SQLite admission stays strict. PostgreSQL/S3 versioned maintenance remains unsupported. -
Restore W3 PostgreSQL initialization for ordinary CLI and evidence benchmark entries. Benchmark engines are disposed even when initialization fails. SQLite benchmark initialization remains versioned; database maintenance commands retain their JSON and exit classifications.
-
SQLite migration checksums bind the complete frozen inspection/campaign/helper closure and explicit fact-preservation policy. Helper drift rejects existing ledgers before pending upgrades; adding future registrations leaves the first version checksum unchanged.
-
Vector operator parameters and fixed choices have Chinese and English wording. Restart regressions preserve the private PostgreSQL search path across independent engines and racing budget/reaper connections. Offline test guards allow loopback infrastructure while rejecting external DNS and sockets; lease upgrade coverage runs on both database dialects.
-
Fake vector pair budgets exclude failed inputs at preparation and execution, preserving partial success at the exact eligible-pair limit. Over-limit runs still fail atomically. Vector tables use an explicit schema owner; the nullable worker lease supports additive upgrades.
-
W-E E1 provenance generation now requires the frozen Commons
Copyrighted=Truedeclaration before retaining it in the ledger. Standalone fake image inputs reject empty or invalid base64, and CLI regression coverage verifies that--public-gateexits 2 even with nonempty valid development evidence. -
The scale ASGI workload reuses its initialized database without rerunning migrations after benchmark fixture creation. SQLite benchmark source facts now live in a separate source database; default SQLite application construction validates the current authoritative schema.
Changed
-
Capacity evidence refreshed on the current tree (version 0.24.1, commits
3fafd6a/6686646, one identical source fingerprint): 18 sequential unprofiled runs covering B1–B8 M on both database stacks plus B1 L. B5 completed with zero errors on both stacks; B4/B7 were re-measured after the storage split. The 0.13.0 matrix moves to a labelled historical appendix. B8 PostgreSQL 50 annotators still meets every target (save p95 113 ms); SQLite 50 did not meet the save/next latency targets in this campaign, and the gap versus the October quiet baseline (pre-FIX1) is flagged for investigation. Team-tier guidance now recommends PostgreSQL pending re-measurement. See capacity. -
Task leases, queries and terminal transitions now live in
worker_store. Explicit persistence wiring routes frozen completion requests to pipeline/evidence, KG, DQ and datasheet adapters in the existing queue transaction. Ambiguous associations and mismatched products fail closed; lease fencing, terminal/outbox bytes and subsequent action receipts retain their ordering. -
Dataset, version, lineage, upload and object-query adapters now live in
dataset_store, with frozen dataset contracts indatasets. Schema, public payloads, object identities and transaction/cleanup ordering remain unchanged. Focused rollback tests cover publication failures after the second write and a successful retry on both CI database stacks. -
API, worker, ordinary database CLI and MCP startup refuse non-current SQLite stores. Demo and generated SQLite fixtures initialize only missing/empty stores. Explicit caller reuse through the API migration keyword skips admission. The nullable-column helper remains a separate low-level contract. The new versioning coverage owner requires 90%; named migration guard mutations join the existing gate.
-
Persistence initialization uses explicit typed schema contributions and independent ownership validation for the existing 99 tables. Dataset and worker mappings have private schema owners; business adapters, stored payloads and migration transaction ordering retain their behavior. Schema snapshots and infrastructure ratchets support independent verification; see persistence schema composition.
[0.24.1] - 2026-11-06
Fixed
- Synchronize the Python package, frontend manifest, npm lockfile, API and lineage producer to v0.24.1, closing the release-version consistency regression left by v0.24.0.
[0.24.0] - 2026-11-06
Fixed
- Both CI gate stacks now supply the original certifi/orjson wheels required by the offline license audit. The setup action downloads only compatible wheel URLs pinned in
uv.lockinto a runner temporary directory, rejects redirects and invalid archives, and exports the evidence directory only after filename, byte length and SHA-256 verification. Existing wheel evidence is revalidated; no dependencies or license rules change.
Changed
- After W-L is merged, the Python, frontend and sandbox-python license policy permits the exact PostgreSQL SPDX identifier and unchanged, integrity-pinned upstream MPL-2.0 distributions with retained license notices and HTTPS upstream source links. The former certifi exception joins the general MPL rule; exact Python orjson/regex exceptions remain scoped and cannot authorize extra forbidden terms or waive MPL evidence. GPL, LGPL, AGPL, BSL, SSPL, unknown, missing and malformed licenses still fail closed. Rust policy is unchanged; no dependencies are added or upgraded.
[0.23.0] - 2026-11-03
Added
datakeel export-traces [--conversation-id ID]sends persisted model-call traces once to any OTLP/HTTP protobuf endpoint (an OpenTelemetry Collector, Langfuse or Phoenix) using the standardOTEL_EXPORTER_OTLP_*variables. Each accounting group becomes one trace with a neutral root span and one child span per recorded call, carrying both OpenTelemetry GenAI (gen_ai.*) and OpenInference (openinference.span.kind=LLM,llm.*) attributes; official session/conversation attributes appear only for real conversations. Unknown billing never becomes an observed zero-token usage. Span times are reconstructed from stored records and are approximate. The export opens the database read-only, never migrates, never sends prompt, completion, tool payload or header content, and succeeds only when every span is accepted (HTTP 200 with no rejected spans); 204/302, partial success, retries exhausted or any failed batch exit non-zero. Re-running the command can duplicate spans in a dashboard; it is not exactly-once.make build-wheelbuilds one pure-Python wheel that includes the built frontend, contracts, prices and the completeTHIRD_PARTY_NOTICES.md, plus hash-locked runtime requirements.make build-imagebuilds the local, non-rootdatakeel:localimage from that same wheel and lock (data in/data). Neither target publishes anything; there is no PyPI package or registry image.- README architecture overview is now a self-contained SVG of the current architecture.
Changed
- Two runtime dependencies are added,
opentelemetry-sdkandopentelemetry-exporter-otlp-proto-http(1.45.1, matching the existingopentelemetry-api), with nine reviewed locked packages; protobuf's legacy3-Clause BSD Licensedeclaration is pinned by exact evidence. The mutation runner can target repository-level build files and run named anchors (--name); the gate grows by 14 anchors to 856.
[0.22.0] - 2026-11-02
Added
- Native audio/video segment annotation is the workbench's sixth component. Integer-millisecond half-open ranges are checked against every locked source's readable
media_probe.duration_ms, with browser-codec checks, overlap/nesting/adjacency/duplicates, object and record attributes, native playback and visible-window swim lanes, complete mouse and keyboard editing, offline drafts, conflicts, 200-step undo/redo, review, package acceptance and finalization. Project creation and template upgrades require probes on every source, including tasks without revisions. Automatic segment agreement/accuracy is explicitly unsupported (null), never a false perfect score. See Annotation workbench. - Native JSONL round-trips segment labels, attributes, boundaries, source duration,
null/reviewed-empty and array order exactly. Export-only WebVTT copies original media bytes and emits stable cues and sample/duration notes, including valid reviewed-empty files; unreviewed media is refused. COCO, YOLO, ImageFolder, HF and text JSONL reject nonempty segments before modality filtering at prepare and write time. Segment stratification is available alongside the existing five sources.
Changed
- Package, API and frontend versions advance to 0.22.0. The mutation gate has 842 anchors (832 before; 10 added for native segments and FIX1 count boundaries), the golden suite remains at 58 cases, the operator catalog at 42, and MCP at 102 tools (37 reads and 65 prepare-only actions). OpenAPI remains at 171 paths, 184 operations and grows from 422 to 423 schemas through one additive segment model and optional fields/enums. The measured pytest duration table covers 851 modules (845 before; 6 added). Segment min/max counts only media segments, never classification labels; other component templates retain their previous count rule.
[0.21.0] - 2026-11-02
Added
- Native skeleton keypoint annotation is the workbench's fifth component. One locked template schema defines ordered bilingual points, required flags and edges; mixed templates support multiple labelled skeleton instances with
visible,occludedandmissingstates, object attributes, mouse and complete keyboard editing, 500 ms autosave, offline drafts, conflicts, unlimited undo/redo, review, package acceptance and finalization. Point IDs survive template reordering and optional additions; destructive point deletion/rename is refused, while new required points block every downstream workflow until repaired. See Annotation workbench. - Native JSONL round-trips skeletons exactly. COCO export carries the finalized locked schema through the annotation batch and frozen split, writing template-ordered keypoint triples, visibility, counts, bbox/area and one-based edges; unsupported formats and COCO keypoint import fail explicitly instead of dropping or converting poses. Keypoint-only automatic accuracy/agreement is
nulland shown as unsupported. Existing detection archives and four-component records keep their previous shape.
Changed
- Package, API and frontend versions advance to 0.21.0. The mutation gate has 832 anchors (816 before; 16 added for native keypoints and mixed-metric protection), the golden suite remains at 58 cases, the operator catalog at 42, and MCP at 102 tools (37 reads and 65 prepare-only actions). OpenAPI remains at 171 paths, 184 operations and grows from 418 to 422 schemas through additive keypoint models and optional fields/enums. The measured pytest duration table covers 845 modules (839 before; 6 added).
Fixed
- Keypoint-only records in mixed templates with shared empty detection arrays no longer produce fake 100% prelabel accuracy: unsupported-only comparisons have
assessed_tasks=0and null exact/all-hit rates, while real supported objects keep their previous metrics. - CI integration aligns the fifth component with legacy component-list tests, bilingual enum wording, and HTTP/MCP stratification choices; all three keypoint states have Chinese and English labels and
keypointsis a typed split source everywhere.
[0.20.1] - 2026-11-02
Changed
- One-sentence planning checks self-claim and dispatch preconditions against current state before showing a card: review separation including earlier rounds and handovers, the team-tier open-task limit, assignment-only projects, and the task state and effective assignment required for a dispatch. Later steps that depend on task holding, task state, workflow tier or dispatch strategy left by an earlier step are explicitly marked deferred for replanning instead of being guessed or emitted as doomed cards. The safe prefix can run, and the next step is planned again against the new state.
- Every visible enum in top-level and nested registered parameter models has Chinese and English wording on plan and result cards, including metric aggregations and time grains, template attributes, evidence filters and quality rules. Unknown historical values still render unchanged.
- Package, API and frontend versions advance to 0.20.1. The mutation gate has 816 anchors (803 before; 13 added on balance for claim/dispatch planning, nested wording and deferred replanning). The golden suite remains at 58 cases, the operator catalog at 42, MCP at 102 tools (37 reads and 65 prepare-only actions), and OpenAPI at 171 paths, 184 operations and 418 schemas; no API, storage value or concurrency contract changed. The measured pytest duration table now covers 839 test modules (761 before; 78 added), including renamed and new tests.
Fixed
- Planning no longer offers a dispatch for a task that is already in progress or in review, or already has an effective assignment in that stage. Deferred steps remain visible in the result and chain notes and are not execution failures; the CLI keeps their longer text valid as JSON.
- Public source, tests and scripts no longer carry internal rework identifiers. Test files, mutation modules, anchor names and every test node reference use durable domain names, with the full mutation node inventory checked against real collection.
[0.20.0] - 2026-10-31
Added
- One sentence to plan (beta). Type a request in the Agent dialog, or press Do it in one sentence on the labeling page, and Datakeel turns it into a chain of existing controlled actions. Fixed recipes are tried first; otherwise one bounded call goes to the conversation's model with the action registry, the visible objects, the speaker's roles and the page context, and its JSON answer is checked strictly: every step must be a registered action with valid parameters, names are resolved against the catalog (one match is used, several become a choice, none becomes a question), the project, package, dataset or label set of a write must come from the page, the previous turn, an earlier step or the person's own words, permission is checked before any question, each action's preconditions are checked against the current state, and a plan that would change nothing is answered with "it is already like that". The card lists each step's parameters in words, how many objects it changes, its cost, whether it needs a signature and whether it sends data out. Nothing that changes data runs before the person presses Confirm and run; read-only questions are answered directly. This is a beta: on wording it had not seen, about eight in ten requests got the right plan straight away, and a wrong plan is simply cancelled. Planning uses DeepSeek Flash (
deepseek-flash) with thinking on by default. The entry and every card carry a Beta mark. See One sentence to plan. - Action chains. A confirmed plan is stored in the new table
action_chainsand its steps are prepared and executed one by one through the same services as manual actions, so receipts, audit and lineage name the person. A step that is irreversible, external or governed waits for a signature in the chain card or on the Approvals page; a failed or rejected step stops the chain with its reason, and Resume skips steps and targets that already ran. Only the person who asked can read or run a chain; MCP and the Agent can never confirm one. HTTP:POST /api/agent/conversations/{id}/messageswithcontext(anintentevent),GET /api/intents/chains/{chain_id}andPOST /api/intents/chains/{chain_id}/run. CLI:datakeel intents plan,datakeel intents showanddatakeel intents run. - Wording registry. Every action and read function registers Chinese and English phrases and at least one example in each language; a gate test fails when one is missing.
- The controlled action
draft_label_setdrafts an unpublished label set version with guidelines from data standards, existing annotations and up to 50 sampled files: bilingual names, attributes, an overview and per-label rules with positive and negative examples that cite real sample ids (invented ids are dropped and counted), and the sources it used. It needs a signature. Profiles:offline(default, deterministic, no cost),cloud-text(deepseek-flash) andcloud-vision(qwen3.5-flashwith thumbnails); a cloud draft shows its estimated cost and refuses a budget below it. People edit the draft in the chain card, save it as acreate_label_setupdate and publish it through the ordinary signature.create_label_setaccepts optionalguidelines,name_zh,name_enandfields. See Drafting a label set and guidelines. GET /api/agent/conversations/definitions/providerreturns the model new conversations use and, when it falls back to the offline demo, why.contracts/model-prices.yamllistsdeepseek-v4-pro,qwen3.8-maxandqwen3.7-plus; the routing file can give tiers per OpenAI-compatible endpoint host.
Changed
- New Web conversations use the configured model. With
DATAKEEL_OPENAI_API_KEYorDATAKEEL_ANTHROPIC_API_KEYset, a new conversation uses that provider withmodel: auto, routed only to models the configured endpoint serves (all three tiers usedeepseek-flashwhen only DeepSeek is configured). The offline demo is used only when no usable model is configured, and the page says why. Before, the interface always created offline conversations. DATAKEEL_PROVIDER_TIMEOUTdefaults to 180 seconds (30 before) and accepts up to 600. OpenAI-compatible requests that ask for JSON are streamed, so a reasoning model's long answer is not cut off while it thinks.- Web Agent messages go to the planner first. Every message from the Web dialog carries page context; when the planner recognises a request it answers with an
intentevent (plan, answer, question or refusal) instead of a free reply. The HTTP message API enters the planner only when the request carriescontext, so older clients keep the free conversation. - HTTP signatures use the request's person.
POST /api/approvals/{plan_id}andPOST /api/actions/{plan_id}/executerecord the request's person; the browser's placeholderlocalmeans that person, and naming anyone else is still refused. - Package, API and frontend versions advance to 0.20.0. The mutation gate has 803 anchors (546 before; 257 added for one-sentence planning, action chains, the wording registry and label set drafting, and for the places where planning meets this version's per-person load limit, review separation after a rework handover, template upgrades and cloud prelabel; none removed), the golden suite 58 cases (52 before; six one-sentence cases: a multi-step chain, a question for a missing project, a refusal for missing permission, permission checked before questions, an unknown parameter and an unsupported request) and the operator catalog 42 operators, unchanged. MCP lists 102 tools (37 read functions and 65 prepare-only actions):
draft_label_setis new,create_label_setgains optional fields only, and there is no tool for chains. OpenAPI grows from 168 to 171 paths, 181 to 184 operations and 404 to 418 schemas; nothing was removed and no existing request gained a required field. The database gains the tableaction_chains, created when a database is opened. The CLI gainsdatakeel intents; no operator was added, renamed or removed.
Fixed
- One-sentence planning follows this version's workbench rules before it shows a card: a dispatch that would put someone over the per-person limit, or raise the project's limit, is answered first; a review is never planned for anyone who annotated the task, including after its rework was handed over or a pass-through made the trigger its annotator; a template upgrade needs a newer published version to move to; and a cloud prelabel model is accepted, with the card marking the run as sending images out and showing the estimated spend and whether it needs a signature.
- Claiming follows the task list's display order.
claim_taskused to break ties by the random row identity, so under PostgreSQL the claimed task could differ from the list's next one; candidates now rank by priority and then the task list's display order, with rows locked one candidate at a time withskip_lockedso concurrent claimers stay non-blocking.
[0.19.0] - 2026-10-31
Added
- AI prelabel with a cloud vision model.
register_modelacceptsprovider: "cloud"for an OpenAI-compatible/chat/completionsendpoint (tested with Alibaba Cloud Bailian), withcapabilities(box,classification), per-1,000-tokeninput_price/output_priceand an optional per-imageunit_price. Only the name of the credential is stored (credential_env, or a macOS keychain account withcredential_source: "keychain"); the key goes only into theAuthorizationheader and never into the database, logs, receipts, lineage or API responses. Requests use HTTPS (plain HTTP only on loopback), no proxy settings, no redirects and no retries. Preparingrun_prelabelfreezes an estimate (images, tokens and price per image, total and upper bound); an estimate above thebudgetneeds approval, and the budget stays a hard ceiling while the run executes. Each image is also sent mirrored, so object confidence combines the model's own score with the mirrored agreement by default. Per-image failures are listed by file name while other images continue; rerunning fills only the images without a draft from that model version and skips tasks whose current revision a person saved, so nothing is paid twice. The model is called outside any database transaction, one run at a time per project; the cockpit's Prelabel runs card shows progress every five seconds and Prelabel spend by model the tokens and cost. See AI prelabel. - Prelabel accuracy by IoU.
production_prelabel_accuracyaddsiou_50,iou_75(model and human objects, hits, precision, recall, F1, tasks with every object hit) andattribute_agreement; objects pair one-to-one within a label from the highest IoU down, with exact polygon area IoU and character-interval IoU for text spans. The cockpit's Prelabel accuracy card leads with F1 at IoU 0.5 and explains the rule under How it is measured; the exact-match rate becomes the second line. - Confidence tiers. Each task takes its lowest object's tier. Thresholds are set with
configure_project(confidence_high,confidence_low) or measured from approved work with an isotonic calibration curve (high: calibrated hit rate ≥ 95%; low: below 50%), shown in the cockpit as Confidence tiers and Calibration curve; with fewer than 30 measured objects the defaults 0.85 and 0.5 apply. After a run in group and team projects, a high draft on a task no one holds goes straight to submission, a medium draft stays for correction, and a low draft is kept but the workbench starts from an empty annotation with Use model draft one click away. Personal projects only show the tier. - AI pre-review on every submission. The data-quality suspicion rules (including near-duplicate images within the project), the locked template, disagreement with a confident model draft, a label that differs from an overlapping confident draft, size outliers per label, near-duplicate images annotated differently and mutually exclusive labels each add a weighted reason; risk is their noisy-OR and 0.3 or more is high. Reviewers see the score and each reason with Locate buttons in the AI pre-review panel; the review queue is ordered by risk. The project's Review sampling card sets the share of low-risk submissions that still go to review (default 100%, the previous behavior); high risk is always reviewed, every skipped review is audited with the rate, risk and draw, and lowering the rate is a signed decision (Change ratio, then Sign and lower). In personal projects the result is shown and never blocks.
- Template versions locked per project. Every saved template revision is kept immutably, each project stays on the template and label-set versions it was created with, and the cockpit's Template version card ("Current template v1, latest v2") offers Prepare upgrade: the plan lists label and attribute changes, how many tasks and annotations switch, and which existing annotations would fail the new version, and Sign and upgrade changes only that project. The new controlled action
upgrade_project_templateneeds human approval; MCP and agents can only prepare it. Personal projects show the card below the data list. - Rework handed over to a named person. Once a manager takes a returned task back, Assign to a named person may give its rework round to someone else; the plan states "Rework X (round N) is handed over from its original annotator A to B", the assignment records
transferred_from, and neither A nor B may review the task. Skill dispatch still returns rework to the original annotator while that person is active. - The read function
assignees(MCP, Agent andPOST /api/production/functions/assignees) returns the same list, open loads and refusals asGET /api/production/projects/{id}/assignees. - Prediction files and dataset annotation imports accept an optional
coordinate_frame("display"or"stored") that overrides the frame inferred from the declared image size. - The task view's operation bar shows the sample's relative path (or file name), with the full path on hover when it is cut off.
Changed
- Photos are shown, annotated, imported and exported upright. The EXIF Orientation (values 1–8, mirrors included) is applied everywhere, as a browser shows the file. Imports record the upright
width/heightnext tostored_width,stored_heightandorientation, and datasets imported earlier read them from the image header without rewriting the manifest. The workbench canvas and thumbnails serve upright pixels (a rotated JPEG stays JPEG at quality 95, other formats become lossless PNG) with anETag, so a repeated open returns 304. Annotations saved before this version were drawn on stored pixels: revisions, annotation batches and frozen training splits from earlier versions are converted to the upright frame when read and carrycoordinate_conversion; nothing stored is rewritten. YOLO predictions are read against the upright size; a COCO image whose declared size matches only the stored size is converted on import. COCO, YOLO, HF and classification ImageFolder exports write rotated or mirrored images as upright lossless PNG instead of refusing them, andMANIFEST.jsonrecordssource_sha256,source_orientation,transformandexported_sha256. Original files are never changed. - The evidence extractors
evidence.image_phashandevidence.annotation_labelsare version 1.1, so the next extraction rereads those images and boxes land upright; older assertions are retired asextractor_version_changed.datakeel rebuild-evidenceonly replays stored results and does not fix old boxes; run the extraction again as described in the workbench guide. - Editing a shared template no longer changes existing projects. Saving, submission checks, the workbench form and finalization read the version the project locked; an upgrade must be signed per project. On upgrade, each project not yet locked is locked to the template revision it was using.
- The load limit counts only open annotation work. Submitted tasks no longer count against a person's limit; returned rework counts again. Claiming, named assignment, skill dispatch, the picker's "open now" and
skill_workloaduse the same count. - A single dispatch may only lower the project's limit. An
assign_tasksrequest whosemax_active_tasksis above the project setting is refused with HTTP 422 when it is prepared, previewed or executed. - A model draft is not submitted as a person's work.
submit_taskreturns 422 while the current revision is a model draft; the annotator saves their own revision first, changed or unchanged. The workbench does that save itself when someone submits a draft without editing it. - High-confidence pass-through is answered for. A passed-through revision records the model, confidence, thresholds and the person who ran the prelabel; that person becomes the task's annotator, so in team projects they cannot review it, also after its rework is handed to someone else, and the action audit has one line per pass-through. While default thresholds stand in (fewer than 30 measured objects), high drafts are held as drafts. Starting or widening pass-through with
configure_projectneeds approval; raising the bar or clearing back to defaults does not. Pass-through applies only to tasks no one holds: a task someone holds, assigned or claimed (touched or not) or a rework round back with its annotator, only gets the draft in every tier, keeps its state and holder, and is counted in the run'sheld_drafts; Prelabel runs shows "Held by someone, drafts only: N". - The review queue is ordered by AI pre-review risk, then rework round, model confidence and draft difference. Draft difference now uses the IoU matching rule, so a box moved by a few pixels no longer counts as different.
- Ask in the English interface answers in English. The "Understood as" line, recognised conditions, knowledge answers and chart titles use English metric names, and refusal reasons are stored as codes and worded in the interface language. A time expression that is recognised but cannot be turned into a range (last century, the nineties, 上个世纪, 去年同期, a fiscal year, Q5) is refused with the reason; before, some were answered over all time or the whole of last year.
- An object page shows only the tabs its kind has. A link to another kind's tab opens Relations, and the metric page no longer requests releases.
- Label chips are drawn above every shape, preview box and polygon draft; hovering an overlap shows the topmost chip's full name.
- The workbench search, its API description and hints say "relative path or file name".
- Package, API and frontend versions advance to 0.19.0. The mutation gate has 546 anchors (438 before; 108 added for photo orientation, template locks, load limits and rework handover, Ask wording and time refusals, cloud prelabel, IoU accuracy, confidence tiers, pass-through, drafts only on held tasks, AI pre-review and the six places where prelabel meets upright photos, locked templates and handed-over rework; eight earlier anchors now point at the current code; none removed), the golden suite 52 cases and the operator catalog 42 operators, both unchanged. MCP lists 101 tools (37 read functions and 64 prepare-only actions):
assigneesandupgrade_project_templateare new, andassign_tasks,configure_project,import_predictions,register_model,update_modelandsave_revisiongain optional fields only. OpenAPI keeps 168 paths and 181 operations and grows from 391 to 404 schemas; nothing was removed and no request gained a required field (the response modelsWorkbenchSampleandPrelabelAccuracygained fields the server always fills). The database gains the tablesproduction_template_versionsandproduction_ai_reviewsand a nullablecoordinate_frameonproduction_revisions,annotation_batchesandtraining_splits; opening an earlier database adds them and locks existing projects, and repeating it writes nothing. No CLI command or operator was added, renamed or removed.
Fixed
- Datasets imported before v0.18.0 have upright image sizes in file lists, version manifests, evidence samples and prediction imports, read from the image header, without importing the images again.
- A prelabel model sees the same upright pixels as the workbench, so its boxes on rotated photos land on the object; accuracy and AI pre-review read drafts saved before this version upright; and cloud prelabel and AI pre-review use the template version the project is locked to.
[0.18.0] - 2026-10-30
Added
- Assign to a named person in the team-tier cockpit. A manager ticks tasks nobody holds, picks a registered person who has annotation authority in the project (each listed with the tasks they hold now), then prepares and signs a named
assign_tasksplan. Work assigned tolocalbefore anyone registered, once taken back, can now go to a registered annotator without registeringlocal; until now a project without a skill requirement had no way to dispatch it. The list comes from the new readGET /api/production/projects/{id}/assignees?stage=annotation(orreview), which only callers holdingproduction:assignin that project may read. See the workbench guide. - Directory imports keep their folders. Importing a local directory walks it recursively in sorted order, skips hidden entries and symbolic links, and records each file's path under that directory (for example
site-a/day-1/shelf.png) inmetadata.relative_path. Task lists, the review queue and the cockpit show that path on hover, and the task search matches folder names as well as file names, so same-named files in different folders are told apart. The importing machine's own path is never returned by the API or shown. Files imported on their own, and datasets imported before this version, still show the file name. - Image imports record each image's
widthandheightin the manifest metadata, read from the image header without decoding pixels; when the header cannot be read both are recorded asnull. - CI sharding commands.
make check-pytest PYTEST_SHARD=K/4runs one shard of whole test files;make collect-testsandmake check-test-shardscheck that every collected test ran in exactly one shard and passed or was skipped;make combine-coverage check-coveragemerges the shards' coverage and applies the same 85% total and per-module lines.scripts/mutate.py --shard K/2runs half of the mutation catalog andpython -m scripts.merge_mutation_reportsmerges the halves under the unsharded rules. Shards are balanced by measured per-file times inscripts/pytest_durations.json(refresh withpython -m scripts.pytest_durations). Localmake checkandbash scripts/ci-check.shstill run everything unsharded. See CI layout.
Changed
- GitHub CI takes about half an hour instead of about two and a half hours, with the same gates and thresholds. Each stack (SQLite and PostgreSQL) runs a gate job, four pytest shards, two mutation shards and a report job that checks shard completeness and merges coverage and mutation results. A pull request starts one run and a newer commit cancels the older one; pushes to
mainand manual runs (workflow_dispatch) are never cancelled; tag pushes no longer start a run, because the tagged commit was already checked; a failure on one stack no longer cancels the other. - A mutation-gate subprocess that times out is measured once more instead of aborting the gate. A second timeout is listed under
environment_failureswith the target and the command; the report is still written, one line per failure is printed without a stack trace, and the script exits nonzero. A timeout never counts as a kill, and a timed-out baseline still blocks every mutant. - The English labels
secret,token,keyandauthnow mask only credential-like values: no whitespace, at least eight characters, and either two of the letter, digit and symbol classes, all digits, all letters with a capital after the first letter, or a hex/base64 string of at least sixteen characters (purely alphabetic ones must also look random, so long English words stay). Trailing sentence punctuation is ignored and hyphenated words count as prose, soThe secret: practice every day.,The secret: Consistency.andtoken: 4096stay unchanged. In v0.17.0 any value of eight or more characters aftersecretortokenwas masked, andkeyandauthwere not labels. - Password-class labels (password, passwd, pwd, pass, 密码, 口令) mask values from four characters instead of eight, also in
label=passwordfields. - Environment- and configuration-style keys count as credential labels when their last
_,-or.segment is a credential word:DB_PASSWORD=,MYSQL_ROOT_PASSWORD:,REDIS_PASS=,GITHUB_TOKEN=,aws_secret_access_key =,STRIPE_SECRET_KEY=. A word inside a longer segment (max_tokens), a key followed by another segment (DB_PASSWORD_FILE) and a prefixed barekey(SORT_KEY) are not labels. - Phone detection is stricter about brackets and reference numbers. A bracketed area code is either mainland (starting with 0, or
+86) or North American: three digits starting 2–9, then a three-digit exchange starting 2–9 and four digits.(212) 736-5000and(569)523-4910are phones;(555) 123-4567and(123)456-7890no longer are. A digit run directly after an identifier word (编号, 单号/订单号, 批次, 序号, 流水号,No.,Order,#) or directly followed by 号 is a reference, not a phone;Tel No.andPhone No.remain phone labels. - A YOLO prediction import is refused as a whole when an image has no size. Without
image_width/image_heightthe import uses the size recorded at import; when there is none either, it returns HTTP 422 naming the image and the prediction file instead of listing the file among the failures. Datasets imported before this version have no recorded sizes: pass the size, use a complete COCO document, or import the images again. - A multi-image COCO results array says what it left out. Results are grouped by
image_id; a group matching no project image is listed asunknown_imagewith the number of results not imported, and a matched image without a size asunknown_size. Previously an unmatched group was carried forward with a zero size. - The API description of the workbench sample
path(WorkbenchSampleName) now says it is the path under the imported directory, falling back to the file name. - Package, API and frontend versions advance to 0.18.0. The mutation gate has 438 anchors (402 before; thirty-six redaction, import, prediction, reopening and named-assignment anchors added, none removed), the golden suite 52 cases and the operator catalog 42 operators, both unchanged. MCP still lists 99 tools (36 read functions and 63 prepare-only actions) with unchanged schemas. OpenAPI grows from 167 to 168 paths, 180 to 181 operations and 389 to 391 schemas (
AssignablePerson,WorkbenchAssignees), and neither removes anything nor adds a required field. No CLI command, MCP tool, operator or table was added, renamed or removed, and there is no database migration.
Fixed
- Long label names no longer run over neighbouring chips or disappear when zoomed in. A chip is no wider than its shape on screen (56–160 px); a longer name ends in an ellipsis and shows in full on hover. While part of a shape is on screen its chip stays inside the visible canvas. Chips never take the pointer, so pressing on one draws a box, adds a polygon point (including the first) or selects a shape exactly as pressing beneath it would.
- Without a lease timer the saving status sits back on the file-name row and the submit button is no taller than its neighbours, so the canvas regains height: in the personal tier 0.826 of a 1440×1000 window (0.804 before) and 0.758 of 1280×720 (0.728 before). Team-tier heights are unchanged.
- A mainland mobile number with its first three digits in brackets, such as
(138) 1234 5678or(139)8888-6666, is redacted whole including the brackets; previously the half-width form was redacted from inside the bracket and the full-width form not at all. - A phone is never taken from inside a pair of brackets: four digits in brackets that do not start with 0 are not an area code, so
(1999) 888 8888stays unchanged, while(0999) 888 8888and(+86) 138 0013 8000are still phones. - Two complete phones separated by a single space (
010-62345678 021-55556666) are reported separately. ~ · | 〉 』 〕 〗directly after a credential stay in the text instead of being swallowed by the replacement.- When Dispatch by skill is used on a project without a skill requirement, the card says that nobody can be matched by skill and points to Assign to a named person, instead of failing with an English 422.
- The training guide states that the 80-character short-text limit for numeric templates counts characters, not bytes, so a whole 64-character Chinese paragraph qualifies; the production guide states that a reopened pending or in-progress task can still be taken back and assigned to someone else.
[0.17.0] - 2026-10-30
Added
- The annotation workbench gives an open task the whole window: the work area fills the height below the module and operation bars and follows resizes, image tools sit in a narrow left rail, and Hide details collapses the right drawer to widen the canvas. Boxes and polygons are drawn in their label's colour (labels without one take a fixed eight-colour palette,
--label-1…--label-8, checked bycheck:contrastin both themes) with a label-name chip that keeps its screen size at any zoom. Task lists, the review queue and the cockpit name tasks by sample file name and search by it. See the workbench guide. - Template attribute fields. A template may define up to 50 typed
attributes(boolean,enum,multi_enum,numberwith an optional range,textwithmax_length), each withkey,name_zh,name_en,required, an optionaldefaultand atargetofobject(every box, polygon and text span) orrecord. The workbench renders them as a keyboard-reachable form; a missing required field blocks autosave and submission and names the shape and field. The server applies the same rules (below). See attribute fields and the comparison with CVAT, Label Studio, Labelbox and JSON Schema in the production guide. - Open tasks refresh themselves. The page polls the new
GET /api/production/tasks/{id}/statusevery 5 seconds (every 30 seconds while the tab is hidden, with an immediate read when it is shown again) and says within that interval when the task was returned for rework, changed state elsewhere or received someone else's revision; local drafts are kept. In the team tier the page renews the lease withheartbeatwhen the task opens and then every 2 minutes, or every third of the lease when the lease is shorter, shows the time left and offers Renew now after a failed renewal. When the lease expires or the task is taken back, editing locks, nothing more is sent and the draft can be exported as JSON. The design compares polling, server-sent events and WebSocket. - Team-tier cockpit: package acceptance state and sampling for every package, Accept package (mark each sampled task, prepare an
accept_packageplan that states the outcome, then sign it), Dispatch by skill (preview each person's current and added load and why each unassigned task was skipped, then prepare and signassign_taskswithstrategy: "skill") and Who holds what (lease_status, with a signedrevoke_assignmentto take a task back). MCP and agents can still only prepare these plans. - The finalization plan is stated in plain words: how many approved tasks are finalized, into which dataset as a new version built on which version, and how many unapproved tasks block it; the digest and raw parameters move under Details.
- New workbench reads under the existing project and task grants:
GET /api/production/projects/{id}/task-samples(file names for up to 500 tasks),POST /api/production/projects/{id}/dispatch-preview(computes without locking or writing what a skill dispatch would do now, sharing its matching code with execution) andGET /api/production/tasks/{id}/status.GET /api/production/projects/{id}/workbenchacceptssearch, a case-insensitive substring of the sample file name applied before paging, and returnstask_samples. Sample names come from the pinned manifest's file name; server paths and object keys are never returned.
Changed
revoke_assignmentandassign_tasksplans now freeze only each task's state, round and current holders. A holder's autosaves, a model draft import or a lease renewal between preparing and confirming no longer void a reclaim or dispatch with "Action target state changed after preparation"; a submission, a round change or a new holder still does. In v0.16.0 a reclaim of a task whose holder kept autosaving usually failed.submit_task,review_task,reopen_task,release_taskandheartbeatstill freeze the whole task, its active assignments and the project, and acceptance and finalization still freeze the exact approved revisions.lease_statusreports the deadline actually enforced. After an upgrade to the team tier restarted a lease, the listed assignment'slease_expires_atis the restarted deadline instead of the stale recorded one.- Templates that define attribute fields reject human revisions that break them.
save_revisionfrom a person fails with HTTP 422 naming the key and the position (for exampleAttribute "colour" is required on box 1) for a wrong type or a missing required field, andsubmit_taskrechecks the head revision, so a field made required after a save blocks submission until it is filled. Model revisions are type-checked only. Templates without attribute fields, and keys a template does not define, behave as before. - Workbench keyboard steps changed. Arrow keys move a box, a polygon or the polygon drawing cursor by one source-image pixel and Shift+arrows by ten, whatever the zoom.
Rswitches the arrows to a box's right/bottom edges, then its left/top edges, then back to moving (Shift+arrows no longer resize), and to the selected point of a polygon. The left rail states the current mode. - In the team tier the workbench review view omits tasks the caller annotated, by the same rule the review claim applies, and an opened task that this person annotated in any round shows no approve or return controls; the server refused such a review before as well.
- Raw JSON attribute editing in the workbench is offered only to project managers, under Advanced: raw attributes; annotators and reviewers no longer see it and edit attributes through the template form. Tasks on templates without attribute fields still open and save as before.
- A concurrent-change 409 in the workbench is shown as "Someone else just changed this task" with Try again instead of the raw server text.
- Package, API and frontend versions advance to 0.17.0. The mutation gate has 402 anchors (386 before; sixteen
workbench-*andproduction-team-*anchors added, none removed), the golden suite 52 cases and the operator catalog 42 operators, both unchanged. MCP still lists 99 tools (36 read functions and 63 prepare-only actions); the only schema change is the optionalattributeson thecreate_label_settemplate. OpenAPI grows from 164 to 167 paths, 177 to 180 operations and 377 to 389 schemas, adds the optionalProductionTemplate.attributes,WorkbenchProject.task_samplesand thesearchquery, and neither removes anything nor adds a required field. No CLI command, MCP tool, operator or table was added, renamed or removed, and there is no database migration.
Fixed
- The mutation gate gives each full golden evaluation 900 seconds instead of 300. Mutations run in parallel, and on a slow shared CI runner one evaluation exceeded 300 seconds and aborted the whole gate; test subprocesses keep their 300-second limit.
- The scale benchmark's HTTP workload checks its deadline after each request, so every virtual user measures at least one route. On a slow CI runner a user scheduled after a 1-second test deadline previously sent nothing, and the four-route check failed.
Alt+N/Alt+Ppressed while a page or task is still loading are queued and replayed in order, so rapid presses across page edges land on the right task.- While drawing a polygon, a click on top of an existing shape adds a point, including the first one.
- After a task is taken back, a save refused because the caller no longer holds it locks the page instead of showing a raw 403 and Retry save; Back to list leaves at once and reloads the list.
- The production guide no longer says the workbench does not send heartbeats.
- The workbench guide states exactly what older templates keep and who sees raw JSON attributes, and the API descriptions of the sample
path(task-samples,WorkbenchSampleName) say what it is today: the file name, because imports record no path inside the dataset yet.
[0.16.0] - 2026-10-30
Added
- Team tier for production projects (
workflow_tier: "team"): enforced assignment leases renewed withheartbeatand released by a reaper that runs in the existing worker loop or asdatakeel production reap [--now ISO] [--limit N]; a per-projectdispatch_strategy(assign,skillorclaim),lease_minutesandmax_active_tasks, changed in place withconfigure_project; skill dispatch throughassign_taskswithstrategy: "skill"(level threshold, then fewest active assignments, then smallest user id, so a batch is reproducible), listing skipped tasks inunassigned; strict separation of annotator and reviewer; package acceptance withaccept_package, which samples with the same code path as P26annotation_qaand returns the whole package for rework when it rejects; andrevoke_assignment, which takes in-flight work back from any holder, including the unregisteredlocal. New reads arelease_status,skill_workloadandpackage_acceptance. Each lease is released exactly once (one row per assignment in the append-onlyproduction_lease_releases), and inspections are kept in the append-onlyproduction_package_inspections. See Team tier. - B8 team-tier capacity workload (
python -m scripts.scale_bench B8): virtual annotators claim, save three times and submit for 10 minutes against 10,000 tasks while two reaper processes run, then the database is checked for overlapping claims and double releases. On a quiet development machine, 50 annotators on PostgreSQL measured next-task p95 69–72 ms and save p95 66–67 ms over two runs, and 50 on SQLite next-task p95 17 ms and save p95 52–55 ms, with 0 duplicate claims and every abandoned lease reaped once. See capacity. - Parallel tests and mutations.
make checkruns pytest throughpython -m scripts.run_pyteston pytest-xdist with aloadgroupscheduler: the real sandbox security group runs alone first, then long tests are dispatched early. Everydbfixture receives a complete copy of a per-worker migrated template (an SQLite backup, or a PostgreSQL database created from that template), and every test has its own home directory.scripts/mutate.pyruns mutations concurrently, each still in its own source copy.DATAKEEL_TEST_WORKERSsets the worker count (defaultmin(16, CPU count);1runs serially); CI sets 4. On the 15-core development machine the SQLite pytest step fell from 94 minutes serial to about 12.5, the PostgreSQL step from more than 85 minutes to about 18, and the 250 mutations of that time ran in about 7 minutes. No test is skipped, deselected or repeated, and the coverage thresholds are unchanged. See the test execution guide.
Changed
- The team tier now enforces its rules; group and personal projects are unchanged. In v0.15.0 a team project behaved like a group project. Now a lease expires
lease_minutes(default 10) after the claim or the last heartbeat: the holder'ssave_revision,submit_task,heartbeatandreview_taskthen fail with an explicit lease-expired 409, and the reaper returns expired annotation work topendingand expired review work tosubmitted, keeping every revision. Nobody who annotated a task in any round can claim, be assigned or record its review, so group-style self-review is refused.max_active_taskscaps each person's active assignments per stage: a claim at the cap is refused, a named batch above it is rejected whole, and a skill batch stops at it. A team project finalizes only when every package's latest acceptance covers its current approved revisions, so reopening and re-approving a task needs a new acceptance. Upgrading a project to the team tier gives every open assignment a full lease from the upgrade moment. reopen_taskcounts a rework round only when submitted, in-review or approved work is sent back. Reopening apendingorin_progresstask now leaves its round, state, assignment and revisions as they are (previously the round increased and an in-progress task returned topending); the action audit still records the request.- MCP lists 99 tools instead of 92: 36 read functions and 63 prepare-only actions. New reads are
lease_status,skill_workloadandpackage_acceptance; new actions areheartbeat,revoke_assignment,configure_projectandaccept_package. There is still no approve or execute tool. Hosts that pin the tool list must refresh it. The Agent finds the three new reads throughtool_search(resident tools stay at 10, deferred tools grow from 85 to 92), and the ontology lists 36 functions instead of 33. - New authorization scope
production:acceptforaccept_package, held by theproject_managerandadministratortemplates; the acceptance observer stays read-only.heartbeatusesproduction:claim(annotator and reviewer templates),configure_projectusesproduction:manageandrevoke_assignmentusesproduction:assign. Unedited built-in templates pick these up automatically; a template you edited keeps its saved scopes, so addproduction:acceptto it if its holders accept packages. - PostgreSQL lock model for production actions. The six single-task actions (
claim_task,release_task,heartbeat,save_revision,submit_task,review_task) no longer takeSHARE ROW EXCLUSIVEondatasets, lineage_events, versions, file_states; they takeROW EXCLUSIVEonlineage_eventsfirst and then lock their task row. Every other action keeps the table-wide lock, which still excludes them, so all actions lock tables before rows. Claims, named assignment and skill dispatch take a transaction-level advisory lock per (project, person), in user-id order, before counting a load. Package and project counters change once at commit in a fixed order, a known member no longer locks the project row, and the reaper commits each release separately. SQLite already serializes writers and is unchanged. assign_tasksacceptsstrategy(assignby default, orskill),candidates,skill_requirementandmax_active_tasks;actoris required only for named assignment, and the result addsunassigned.create_projectacceptslease_minutes,dispatch_strategy,skill_requirementandmax_active_tasks. Assignments recorddispatch,ended_atandend_reason. A load-cap error names the current load, how many tasks the request adds and the cap.- Running the PostgreSQL test suite now needs a role with
CREATEDB, because each test receives its own cloned database; the fixture accepts onlylocalhostor127.0.0.1.pytest-xdist(below 4) is a new development dependency. - Package, API and frontend versions advance to 0.16.0. The mutation gate has 386 anchors (376 before; ten
production-team-*anchors added, none removed), the golden suite 52 cases and the operator catalog 42 operators, both unchanged. OpenAPI keeps 164 paths and 177 operations; schemas grow from 376 to 377 (SkillRequirement), theActionPlanandActionRunaction_typeenums gain the four new actions, andProjectandAssignmentgain fields that are optional or have defaults, with nothing removed and no new required field.datakeel production reapis the only new CLI command; no CLI command, HTTP path, MCP tool, operator or table was renamed or removed. Schema changes are additive: two append-only tables and the nullable, indexedproduction_assignments.lease_expires_at.
Fixed
- The approval sheet labels the four new team actions in English and Chinese; without these labels the frontend no longer type-checked after the merge.
- The
manage_skillsdescription no longer says that skill-based dispatch is disabled. - Test isolation under parallel workers: the concurrent two-scheduler worker test uses a barrier so both schedulers read the due window, the point-cloud module that shares one seeded random generator stays on one worker in collection order, PostgreSQL test copies keep a pooled connection and drop reliably, and sandbox test images no longer carry a measurement prefix.
[0.15.0] - 2026-10-30
Added
- Training splits and exports: Versions → Training sets,
datakeel training distribution|create|list|leakage|compare, the read toolstraining_distributionandtraining_leakage, and/api/datasets/{dataset}/versions/{version}/trainingpreview and save seeded train/validation/test splits as immutable, version-owned snapshots. Stratification balances every label, including multi-label samples (algorithm1.3-iterative-text; the source can beall,classification,detectionorspans); metadata groups and duplicate components are never split, andtest=0gives two sets. Leakage checks report exact content (SHA-256), near-duplicate images (dHash, default distance ≤ 8), near-duplicate text (64-bit SimHash over normalized character trigrams, default distance ≤ 3) and shared groups pair by pair. The existingexport_datasetaction writes COCO, YOLO, ImageFolder, Hugging Face imagefolder and text JSONL archives (.tar,.tar.gzor.tgz) bound to a version, split and annotator, reproducible byte for byte;POST .../training/import-annotationsbrings COCO or YOLO labels back as a new review batch. See the training guide. - LLM training-data governance: the Text data governance tab,
/api/datasets/{id}/text-governance,/api/training-governance/{run_id},datakeel training-quality, the read toolget_training_qualityand the operatortext.training_qualitycheck SFT, instruction and preference JSONL line by line for structure, length, language, quality heuristics, exact and bounded near duplicates, prompt conflicts, PII and credentials, and overlap with registered evaluation sets. Analysis is a dry run; theclean_training_dataaction prepares a cleaning plan that a person approves before a reproducible cleaned version with lineage is created. Recorded signals feed quality scores and datasheets. The optional Rust extension (make check-rust) adds fingerprint and long-text similarity kernels with identical results. Code modules are namedllm_data; the public tool, CLI, API, operator and table names keep thetrainingprefix. See the LLM data guide. - Production projects: fourteen ontology object kinds (users, teams, roles, skills, label sets, templates, projects, task packages, tasks, assignments, revisions, reviews, models and prelabel runs); personal and group tiers with a forward-only upgrade to team; named assignment and claim with one active assignment per task; append-only revisions with an optimistic lock (HTTP 409 returns
latest_revision); label-set versions with declared migrations and exact impact counts; offline COCO/YOLO prediction import; and finalization into an ordinary dataset version and annotation batch. Twenty-one controlled actions (for exampledefine_role,save_revision,finalize_project) and ten read functions (for exampleproject_progress,next_task,production_prelabel_accuracy) are available throughdatakeel production, REST, the Agent and MCP;datakeel production democreates a personal project. See production workflows and identity and HTTP access. - Annotation workbench (
#/labeling): box, polygon, classification and text-span editors; My data, My tasks, Review queue and Project cockpit shown by effective role; an immediate local draft with a 500 ms debounced save, offline retry and an explicit choice on a revision conflict; undo and redo; prefetch of the next two tasks; progressive loading of large images (a 1024-pixel preview, then the original); keyboard operation for every field (?lists shortcuts). Finalized records round-trip losslessly throughexport_datasetwithformat: "annotations_jsonl"and the matching import. The canvas uses konva 10.9.0 and react-konva 19.3.2. See the workbench guide. - Quality-rule results record
rows_total,rows_scannedandcoveragein the API, report and Web run details.
Changed
- Role-based authorization applies as soon as one user is registered. With zero registered users nothing changes. The first registered user receives the administrator template; from then on HTTP writes act as
X-Datakeel-Actor, every action and legacy write route needs a server-computed scope (global role bindings plus bindings for the action's own project), caller-declared scopes can only narrow it, and unknown, disabled or archived actors are read-only; archiving the last user does not reopen anonymous writes. Agent and workflow sessions stay bound to the actor that created them. Training-split and annotation-import writes map toexport_datasetandsave_metadata, text-governance writes toclean_training_data; theproject_managertemplate includesdatasets:export. Local CLI commands outsidedatakeel productionremain a trusted local boundary. - MCP lists 92 tools instead of 57: 33 read functions and 59 prepare-only actions. New reads are
training_distribution,training_leakage,get_training_qualityand ten production reads; new actions areclean_training_dataand twenty-one production and role actions. There is still no approve or execute tool. Hosts that pin the tool list must refresh it. text.pii_redactwith its default replacement now writes typed placeholders ([EMAIL],[PHONE],[CREDENTIAL_URL],[SECRET],[CHINA_ID],[BANK_CARD],[IP]) instead of[REDACTED]. A customreplacementis still used verbatim, and explicit memory writes keep[REDACTED]. The shared detector, also used by table PII inference and memory writes, adds checksum-valid Chinese identity numbers, Luhn-valid bank cards, IP addresses, key and token patterns, credential URLs, and labelled credentials in English and Chinese (password:,密码:,密码是:). Credential URLs and bare credential values stop before adjacent Chinese text and closing punctuation, and a URL with a Chinese or empty host still has its user name and password redacted.- Phone detection boundaries changed. A candidate needs complete digit boundaries, so 12- and 14-digit bare order or ticket numbers are no longer treated as phones, and landlines with a parenthesized area code in ASCII or full-width brackets, such as
(0571) 8888-6666, are now detected. - COCO, YOLO and Hugging Face imagefolder exports refuse images whose EXIF orientation rotates or mirrors them, because the exported boxes would not match the pixels a loader shows. Normalize such images before import; ImageFolder exports are unaffected.
- Quality rules scan the whole target table.
max_rowskeeps its YAML range but now bounds each streaming batch and the returned SQL-assertion violations instead of the number of rows checked; a rule that errors reports coverageunknownrather than passing a partial scan. - Annotation consensus counts one vote per annotator; extra boxes or spans from the same annotator in one cluster are reported as
duplicate_bboxorduplicate_span. - Data-standard suggestions treat amount, cycle, status and date/time as mutually exclusive context groups, with date and time compatible:
order_statusand订单周期no longer suggestorder_date, whileorder_timestill does. Chinese周期normalizes tocycle, so账单周期andbillingCyclebehave the same; billing synonyms map invoice to bill/billing and keep receipt separate. - Datasheet number checks match the counted object and field label; record-state wording (candidate, needs review and their Chinese forms) and field short names derive from product states and bilingual field names instead of fixed lists.
- Audio operators decode in 65,536-sample chunks; on a generated 30-minute mono recording the default pipeline's peak memory fell from 5.78 GB to 142 MB with identical outputs.
- Busy upload initialization, chunk and completion requests return
409withUpload is busy; retry after the active upload operation completes. Editing the release form clears the displayed plan, and release lists show file counts with a unit (for example 2 files / 2 个文件). - Export receipts keep the versioned dataset reference beside the unversioned one, so lineage for an export lists one more, more precise input.
- Package, API and frontend versions advance to 0.15.0. The mutation gate has 376 anchors (192 before), the golden suite 52 cases (49 before) and the operator catalog 42 operators (
text.training_qualityadded). OpenAPI grows from 144 to 164 paths without removing a path or method, and no CLI command, HTTP path, MCP tool, operator or table was renamed.
Fixed
- PostgreSQL startup issues trigger DDL only when a training, LLM-data or production trigger is missing or bound to the wrong function, so a restart no longer waits behind uncommitted version or production writes; triggers left on the wrong function are rebound.
- COCO prediction import binds images to the
datakeel_sample_idwritten by Datakeel training exports first, so a finalized version exported as COCO imports back as predictions without renaming. - On macOS, Option+N and Option+P navigate workbench tasks only when focus is outside a text field, so typing
ñorπthere still works. - The Agent discovers
production_prelabel_accuracythroughtool_searchlike the other production reads instead of receiving its schema with every request, which kept conversations within their token ceilings. - The Darwin local subprocess sandbox measures worker memory with libproc and stops a live worker it cannot measure (previously an unreadable measurement let it continue), while a worker that is already exiting is no longer reported as a runtime error.
[0.14.0] - 2026-10-29
Added
- Scale benchmark and capacity baseline:
python -m scripts.scale_bench <B1..B7> --size S|M|L --stack sqlite|postgresruns file import and paging, parallel import, catalog and lineage, Ask over large fact tables, fifty concurrent users, ten thousand worker tasks under SIGKILL and a million-edge graph with a fixture fingerprint, a failure envelope and self-cleanup;make check-scaleguards version comparison against quadratic regressions. Capacity baseline records the measured M/L figures, the targets not yet met and when to prefer PostgreSQL. - Bounded reads:
GET /api/datasets/{id}/filesaccepts optionaloffset,limit,qandmodality; file pages, global search, catalog and lineage reads, frozen file selection, object projection, task leases and upload completion no longer read the whole dataset or its version history. - Ask charts: an answer carries a declarative chart chosen from the result shape (value card, line, vertical or horizontal bars, grouped bars or table); the Web Ask page draws it as SVG with keyboard switching to the source table; metric contracts register units and number formats; the compiler buckets by day, month, quarter or year.
- Ask conversations: HTTP, CLI, Agent tools and MCP accept
conversation_idto keep asking in one thread; a follow-up changes only the named part (dimension value, time, grouping, metric, year-over-year, period-over-period or share) and shows "Understood as" with the complete question; ambiguous follow-ups clarify and return no number; threads persist in SQLite or PostgreSQL, are re-authorized on every turn and can be listed, reopened and deleted;DATAKEEL_ASK_CONVERSATION_RETENTION_DAYSsets retention.
Changed
- MCP no longer exposes
approve_planorexecute_plan. The server lists 57 tools (20 read functions and 37 plan-only actions). A call namedapprove_planorexecute_planthrough MCP is refused with a reason and audited as a failed invocation; a person reviews, approves and executes prepared plans on the Web UI or CLI. Hosts that scripted approval through MCP must move that step to the CLI or Web UI. - Package, API and frontend versions advance to 0.14.0. The mutation gate has 192 anchors.
- The media observation index decodes only version manifests that carry an image or point-cloud measurement, so the default file projection reads one manifest and one file-state batch regardless of version count.
Fixed
- Inside a conversation, a question-form sentence that no slot explains (for example
why did brand awareness drop) is answered like a new question — unanswerable with the three nearest metrics — instead of being treated as a follow-up with the previous metric as the only candidate.
[0.13.1] - 2026-10-28
Added
- Audio and video preprocessing with user-installed
ffmpeg/ffprobe: probe, invalid frames (black, solid, frozen, blurred), repeated video, fixed-window segmentation on packet timestamps, normalization, voice activity, edge-silence trimming, loudness against a configurable accepted range, clipping, repeated audio and multi-recording alignment. A recording that fails stays in the output with its operator and reason instead of failing the task;demo-mediaruns the chain on generated or your own local recordings; recording and clip pages show probes, issue intervals, alignment, processing history and clip links. - Image quality measurement (blur, exposure, noise, resolution and solid color with each failed check's measured reason, EXIF orientation and 16-bit depth handled) and point-cloud operators for PLY/PCD files: probe, unit check, cleanup, voxel downsampling, statistical outliers that separate isolated points and separated clusters from occluded or distant structure, and top-down PNG previews on the file object page. An unreadable image or scan is listed with its reason and the rest of the batch completes.
scripts/demo_media.pyruns an offline end-to-end example.
Changed
- Package, API and frontend versions advance to 0.13.1.
- Quality scoring applies tabular rules, image and point-cloud multipliers and recording deductions in that order. The quality view's
mediasummary is present only when recordings were measured; image and point-cloud observations live underimage_pointcloudin the dimension details. - The image and point-cloud preset is
datakeel.pipeline.image_pointcloud.image_pointcloud_pipeline();datakeel.pipeline.media.media_pipeline()is the audio/video chain. - Point-cloud preview downloads pass through the same data-asset download guard as file downloads.
- Lineage records an approved custom operator's code hash as its operator version.
Fixed
- 修正:ffmpeg 6.1 下冻帧边界与 TS 切片首帧。Video clips start at their first kept frame with audio cut at the same instant, so ffmpeg 6.1 no longer duplicates the first frame of a clip (9.0 shifted it by a frame); the freeze detector's identical-frame floor sits above the residue 6.1's encoder leaves after a cut. Supported ffmpeg is 6.1 or newer, verified on 6.1 and 9.0.
[0.13.0] - 2026-10-28
Added
- Sensor time-series and table profiling: mixed timestamp normalization, ordering and deduplication, sampling gaps, stuck values, robust outliers, range and unit checks, column profiles, and sensor-profile answers in Ask.
- Optional Rust acceleration for perceptual-hash near-duplicate search with bit-identical results and an exact mode;
DATAKEEL_ACCEL=auto|off|requiredselects the backend. - Custom Python operators reviewed by code hash and run in a container sandbox without network, with a read-only root, a non-root user, no capabilities and a seccomp filter.
- Image auto mode: local OCR followed by a versioned routing policy; declared visual coordinate spaces are converted to pixels and boxes that fail the OCR cross-check are dropped and marked
coordinates_unreliable. - Version comparison in five categories, immutable releases published through approval, delivery packages with offline and platform reconciliation, and resumable chunked uploads.
- Data asset publication with public, restricted and apply-first policies, access applications, expiring or revocable grants, one access guard for Ask, export, download, Agent and MCP reads, and audited governed reads.
- Field standards, code lists and synonyms with reviewed column mappings, approved confirmation and rollback, and table conformance reports.
- Data quality rules for SQLite and PostgreSQL tables (not-null, unique, range, accepted values, regex, referential integrity, allow-listed SQL assertions, volume change, freshness and distribution drift) with scheduled runs, issue recovery and HMAC-signed webhooks.
- dbt manifest, run-result and catalog import, Airflow exports and OpenLineage events with column-level lineage and reviewed metric drafts.
- Annotation agreement (Cohen and Fleiss kappa, Krippendorff alpha, box IoU, span matching), suspect-label detection, ISO 2859-1 (AQL) or fixed-ratio sampling, approved acceptance decisions and rework comparison.
- Seven-chapter dataset datasheets from an offline template or a configured model; every retained sentence cites frozen platform facts, unsupported sentences are removed with their reason, publication needs approval and newer versions mark older datasheets out of date.
release-plan prepare|approve|reject|executeCLI commands for large releases and selected versions.
Changed
- Package, API and frontend versions advance to 0.13.0. The MCP server exposes 59 tools: 20 read functions, 37 plan-only actions and the approve/execute controls. Its shared tool output schema is compacted so the tool list stays within the 1 MiB SSE event limit.
- English and Chinese metric questions resolve time ranges and filters the same way; generic wording asks for clarification, and questions about a workflow no longer start it.
publish_releaseandcreate_version_from_selectionaccept an explicit object/byte budget through HTTP query parameters, the CLI or the release form, capped byDATAKEEL_RELEASE_BUDGET_MAX_OBJECTS(default 1,000,000) andDATAKEEL_RELEASE_BUDGET_MAX_BYTES(default 1 TiB). The budget is frozen into the approved plan and shown on the approval sheet; other actions keep the 10,000-object / 10 GiB default.- The Web byte formatter shows GB and TB for large sizes.
Fixed
- Version comparison orders manifest streams by code point on PostgreSQL (
COLLATE "C"), so mixed-case or hyphenated file IDs align on databases with ICU or locale collations; an out-of-order stream now stops with an error instead of misclassifying files. - Profile answers in Ask pass through the data-asset access guard.
- Offline CLI imports no longer load chat-model SDKs through the datasheet worker.
[0.12.0] - 2026-10-25
Added
- Image and scan knowledge extraction through a separate, versioned transcript asset followed by the existing text pipeline. OCR, OpenAI-compatible visual endpoints, native Ollama, offline replay and scripted fixtures share explicit OCR/VLM modes, per-file overrides and quality failures. Only transcript blocks use the image prompt; text documents keep their existing cache and extractor identities.
- OCR-grounded image evidence with multiple rectangles, transcript evidence/head/tail highlights, structured unlocated and handwritten-name review reasons, source APIs and deterministic evidence rebuilding. Extracted relationships remain candidates until reviewed.
- Independent transcription consent estimates and fingerprints, metadata-free EXIF-corrected pixels with transparent areas composited on white, durable transcript reuse and budget traces. Either outbound endpoint requires human approval before any model executes. Reports show transcription and extraction costs separately.
- Per-image typed failures for missing recordings, missing OCR packages, missing API keys, mode mismatches, undecodable or oversized images and provider quota exhaustion; other images and text documents continue and the document is marked partial.
- A packaged 60-image offline benchmark with recording and persisted-product scores, per-group/language metrics, OCR/transcription quality measurements and external case directories. Both localization views enclose a relationship's rectangles in one bounding rectangle. Original image bytes and model attributions are preserved.
- Bilingual image demo, source drawers, route/failure reports, an explicit transcription choice for images without demo recordings, and approval cards, plus three image goldens and three regression mutations.
Changed
- Version advances to 0.12.0. Core runtime requirements remain unchanged. OCR packages (RapidOCR, ONNX Runtime and OpenCV) are installed by users and are not Datakeel dependencies; see
docs/KG.mdfor their licensing notes. Automatic routing, cloud localization, handwriting benchmarks and the redrawn diagram are deferred.
Fixed
- The related-knowledge heading on the Ask page meets the 18px serif typography rule.
[0.11.0] - 2026-10-25
Added
- Deterministic, reviewable
link.maps_toassociations between graph entities and catalog tables, views or semantic metrics. Publication, catalog refresh and semantic changes rerun associations; human link decisions survive dataset and catalog versions. - Bilingual owner, upstream, downstream and responsibility questions through the existing HTTP, CLI, Agent and MCP
ask_dataentry points. Answers separate system records from document claims and preserve evidence fragments, source documents, review labels, verification and consistency markers. - Knowledge answer cards, entity association review and asset navigation, plus an association filter for bulk review. Metric-value answers include up to five related claims without changing their numeric behavior.
- Six fictional enterprise documents and an attributed offline recording in the demo. Separate initial and reviewed knowledge evaluations include 23 cases each, while the original 20 metric cases keep their own fixture and statistics. Four additional JSON-asserting goldens bring the suite to 40, and knowledge mutations bring the mutation suite to 35.
- Regression mutations detect reversed catalog hierarchy, source/result slots with topic references, and grouping dimensions incorrectly routed to knowledge.
- Independent development and held-out language corpora with 226 knowledge questions and 64 metric counterexamples, plus focus, direction and numeric-safety regression mutations.
Changed
- Package, API and frontend versions advance to 0.11.0. OpenAPI additions preserve existing metric fields; runtime dependencies are unchanged and enterprise replay resources ship in wheels.
Fixed
- Compose bilingual knowledge intents from subjects, relationship words and fillers; prioritize numeric/ranking questions and refuse unsupported knowledge phrasing instead of returning unrelated values. Compare complete subject names across catalog and graph entities before scanning, and preserve identifier and metric-suffix boundaries.
- Retain document relationships when the other endpoint's association is rejected, show unresolved association counts in every answer state, and audit knowledge clarifications and refusals. Association reads filter unrelated assertions and events in SQL.
- Distinguish same-name graph candidates by source dataset and entity type, localize relationship labels, and omit metric-only match evidence on knowledge cards. Shared matching vocabulary and YAML review decisions replace duplicated rules and fixture identities in code.
- Resolve knowledge direction from the interrogative's source or result role, including topic references, missing-source impacts and flow destinations. Recognize neutral catalog relations and list commands, and preserve metric routing for grouped dimensions and dated metric requests.
- Recognize explicit destination complements and dashboard display consumers while preserving scalar-value requests.
- Infer default knowledge direction from table, view and metric levels; recover requested noun-phrase heads separated from question words and prefer explicit active, passive and nominal input/result roles, including usage questions with who or 谁. Bound focus and direction to the main question while preserving subject coordinates and supported pronoun references.
- Recognize bilingual hierarchy, flow and impact expressions through shared vocabulary. Catalog-object count questions return typed lists and separate system/document counts while business measurements retain numeric routing. Use linked catalog subtypes for table/view counts and explain exclusions when document dataset types are unknown.
- Route explicit value, reading, amount and quantity requests to metrics while preserving catalog counts and reading as a dependency verb. Treat formula questions and explicit supplier/input roles as upstream, preserve main ownership requests, and distinguish receivers from inputs in production clauses and supported pronoun references.
- Preserve explicit predicate roles when requested objects carry hierarchy modifiers, and resolve supported topic omissions, recipient usage frames and restrictive-clause attachments. Distinguish scalar-total requests from ownership or source questions and from relative clauses inside metric grouping or filters; preserve explicit value requests when a complete metric alias hides the quantity cue.
- Preserve knowledge questions following grouping modifiers and scalar output nouns following grouped metric commands. Bind missing-source conditions to their own clause and distinguish active usage from passive resources in production-purpose questions.
- Resolve longest registered subjects before interpreting bilingual question focus and dependency direction. Typed knowledge questions cannot execute numeric queries; grouped metric phrases and numeric rankings retain the metric route.
- Explain recognition rules and offer intent clarification buttons. Merge same-name people or teams with catalog roles for questions, preserve rejected-link distinctions, and use the sole remaining association candidate with its pending review label.
- Preserve numeric results when optional related knowledge has an unavailable source revision. Display asset names and candidate provenance, retaining raw identifiers in evidence drawers.
[0.10.0] - 2026-10-24
Added
- Schema-driven text knowledge graphs with UTF-8/NFC source coordinates, bounded paragraph/sentence chunking, deterministic entity identities, merged mention/evidence locations and explicit endpoint checks. Pending-review candidates remain available for human decisions; schema proposals never change the vocabulary automatically.
- Durable
run_kg_extractionactions with fingerprint-bound source/configuration/recording inputs, external-transfer approval, worker lease fencing, successful-block cache reuse, partial-run reports and per-request extraction budgets/traces. Unknown billing remains explicit, and truncated output never becomes a successful cache entry. - Shared Agent/MCP
query_kgandexplain_relationreads, bounded graph/source/history APIs, and a bilingual Knowledge graph workspace for entities, relations, source highlights, review decisions, graph display, schema proposals and evaluation comparisons. - Offline
eval-kgwith independent recording and production-candidate scores, language and verified-only slices, external same-schema cases and opt-in real-provider YAML profiles. Recorded usage is separate from replay's zero model cost. Optional separately installed GLiNER2 extracts entities only. - A demo with 24 recorded passages, three attributed fake scripted long documents and one deliberate truncation; four graph goldens and three mutations bring the suites to 36 conversations and 24 mutations without changing the original golden files or mutation anchors.
Changed
- Graph reads are discovered on demand, preserving the original resident-tool prompt size and existing conversation budgets. Harness observations exclude action runs used only to prepare fixtures.
- Package, API and frontend versions advance to 0.10.0. Graph contracts ship in wheels; model extraction has a separate 600-line adapter boundary without additions to the locked runtime dependency closure.
Fixed
- Fresh evaluations normalize external combining-character text before measuring spans, while historical recording inputs retain their original scoring coordinates.
- Chunk-local evidence selection distinguishes repeated sentences at block boundaries; same-as review changes affect only display grouping, preserving source assertions and audit history.
- Extraction prompt v3 preserves every schema example's full source, entities and relations while keeping approval estimates and model requests on the same prompt.
- The bundled Ollama profile uses 1000-code-point chunks with 100-code-point overlap to retain cross-sentence context within a conservative input allowance.
- Long source highlights wrap naturally within paragraphs while retaining keyboard activation and visible focus.
- Extraction approval plans now bind document and block fingerprints without copying source text or recordings into Agent/MCP results. Workers verify all approved inputs before constructing an extractor; existing run history keeps its source snapshots.
- Accepted and rejected graph relationships and entity mentions retain human decisions when evidence or extraction profiles change, with inherited-decision audit provenance.
- Structured extraction prompts use concrete examples; valid data accompanying schema echoes is retained with ignored-key counts. Parse failures and truncation retain provider usage, unknown-price token budgets use complete observed usage, and failed runs preserve completed work and costs.
- The cloud profile uses
deepseek-flashand a documented conservative peak-price snapshot. Compressed model responses are decoded once, and Ollama uses bounded default chunks with server-side context guidance. - Evaluation reports include failed case IDs, offsets and reasons. Entity type spelling is normalized, while unknown types and their relations produce counted schema proposals with samples.
[0.9.0] - 2026-10-24
Added
- Packaged, validated specialist definitions with serial delegated conversations, bounded tool scopes/depth/batches, root-budget accounting, call-tree traces and idempotent conclusion replay.
- Explicit scoped memory with PII redaction, deterministic BM25 retrieval, decayed strength, provenance-preserving consolidation and recursive hard deletion with content-free audit.
- Bilingual nested Agent steps, safe canary stops, current memory-use references and a Memory management page with filtering, creation and confirmed deletion.
- Twelve advanced golden cases and five guard mutations, bringing the suites to 32 conversations and 21 mutations; shared script ownership and multi-conversation fixtures are documented in
docs/AGENT.md. - Private per-conversation canaries stop leaked model text and tool arguments before transcript, checkpoint or tool dispatch. Tool results enter prompts in compact data-only JSON envelopes; raw audit transcripts remain unchanged.
Fixed
- Memory strength increases at most once per user question across model steps, fallback attempts, delegated children and approval recovery. Durable use records preserve this limit after restarts; later uses still refresh the last-use time and response memory references, and a new user message permits another increase.
- Phone redaction preserves ISO dates, slash-separated dates and time values while continuing to redact local and international phone numbers.
[0.8.0] - 2026-10-24
Added
- Typed YAML workflows for dataset health checks, reversible metric changes with before/after answers, and low-quality sample cleanup with human-approved deletion. Tool, wait, branch, approval and output steps support located validation, deep overrides and deterministic JSON references.
- Explicit workflow start, history, timeline, audit and resume endpoints under
/api/workflows, synchronous SSE snapshots, andworkflow list,validate,runandresumecommands. Starts and resumes have independent idempotency keys; signed pauses survive process restarts and reuse existing action receipts. - Intent suggestions with bilingual contract vocabulary, independent metered classification for ambiguous matches, queryable route decisions and a
routeSSE event beforedone. Suggestions never start workflows; only the selected dataset is used for prefilling inputs. - Simple, multi-step and high-risk model tiers, provider-specific validated configuration, explicit
autoselection and pinned conversation models. Same-provider fallback chains allow at most two backups for timeout, 429 or server failures; every attempt reserves and settles its own budget and trace. - Offline
eval-routeconfusion matrices,routing validate, andDATAKEEL_MODEL_ROUTING_FILE. Workflow and routing contracts are included in wheels; both domain packages have independent size and coverage gates. - Bilingual workflow forms, run history and timelines, links to human approval, explicit signed continuation, and Agent displays for route suggestions, model tiers and fallback attempts. The tour creates a separate generated cleanup dataset.
Changed
- Approval recovery shares a pure signed-record policy across conversations and workflows. Workflow facts, steps, audit and resume keys are independent of conversation tables.
- Non-paused runs interrupted by client disconnects or process restarts become
INTERRUPTED; they cannot resume midway. Waiting tasks fail explicitly on timeout or task failure, with a worker startup hint. doneevents add optional route and model-attempt metadata without changing existing event ordering. Classification and fallback attempts do not consume additional Agent turns. Existing golden inputs, context segments and tool discovery are unchanged.- Package, API and frontend release identifiers advance to 0.8.0 without adding runtime dependencies.
Fixed
- Workflow intent routing matches semantic groups with interchangeable synonyms and English word boundaries. Single-object deletion and descriptive metric edits remain free Agent requests;
eval-routealso checks the frozen intent regression corpus. - Workflow timelines show bilingual step titles and readable summaries for file counts, branch decisions, action receipts, quality scores and before/after answers. Original outputs remain available in expandable details, and historical titles come from each run's frozen definition.
- Agent model routing uses one compact row per response; fallback attempt details expand only when a backup was used.
[0.7.0] - 2026-10-24
Added
- Durable Agent approval pauses and a resume SSE endpoint backed by synchronous checkpoints in the existing SQLite or PostgreSQL database. Resume validates the persisted approval and reuses existing action receipts after process restarts.
- A SQLAlchemy checkpoint saver with binary storage, deterministic pending-write ordering and a fixed serialization allowlist. Conversation, tool, trace, budget and action audit records remain independent of checkpoints.
- Runtime-only framework import boundaries, a separate 1500-line runtime package limit and a 90% runtime coverage gate. The dependency inventory includes exact
orjsonandregexlicense exceptions and verified legacy metadata evidence.
Changed
- LangGraph replaces the handwritten Agent loop, and LangChain chat models replace the protocol-specific HTTP providers. Fake/Demo providers retain the existing scripted interface through an adapter; the twenty golden cases, context segments, tool set, budgets and seven SSE event types are preserved.
- Approval recovery uses an independent response lease and adds no user message. A new message invalidates a pending pause with an audit event. Tool calls are deduplicated by their original call identifier, including the action-commit/checkpoint-write failure window.
- LangSmith tracing is forcibly disabled even when third-party tracing environment variables are set. Model retries remain disabled, and explicitly injected HTTP clients ignore proxy environment variables.
- Package, API and frontend release identifiers advance to 0.7.0.
- Runtime framework dependency declarations use upper bounds or documented exact pins; locked package versions are unchanged.
make checkscans tracked and untracked publishable worktree files for private content before other checks. Reserved example email domains are accepted, generated sample contacts useexample.org, and commit identities still require GitHub noreply addresses.
Deprecated
DATAKEEL_OPENAI_URLandDATAKEEL_ANTHROPIC_URLcomplete endpoints are supported for one more release only with the standard/chat/completionsand/v1/messagessuffixes. PreferDATAKEEL_OPENAI_BASE_URLandDATAKEEL_ANTHROPIC_BASE_URL; explicit base URLs take precedence.
Fixed
- Cache-read and cache-write tokens are recorded as subsets of the model's reported input usage instead of being added twice. Missing usage remains unknown and retains the conservative budget reservation.
- Resume attempts with missing, mismatched, expired or wrong-actor approval, or a plan outside the conversation, are rejected with audit evidence before action dispatch.
- CI starts the Postgres service container; its health-check command is double-quoted for the runner.
- English object headings, breadcrumbs, command search and approval object names reuse the catalog translations shown on graph cards. Catalog types and qualified field names share the same fallback; Chinese labels and non-catalog object names retain their existing behavior.
Performance
- A fresh
uv run datakeel demo --oncehas a three-run median of 5.86 s, down from 13.02 s on the same M-series laptop (measured range: 5.85–6.12 s). Object access and input hashes are reused within each batch, evidence projections use bounded bulk queries and inserts, small image work runs with bounded concurrency, and offline commands defer server imports. These extend the existing settings, contract and assertion-grouping caches. Generated image bytes, evidence/catalog rebuild hashes and evaluation outcomes are preserved.
[0.6.1] - 2026-10-23
Added
- Metric history provides a rollback button for each previous definition, with the existing reversible action sheet and a refreshed version after execution.
Changed
- The sidebar reads the application version from the frontend package; API and OpenLineage release identifiers reuse the Python package version.
- The bilingual tour completes metric rollback through the interface and includes a rollback review screenshot. README and tour images are captured from fresh generated demos.
Fixed
- Metric update and rollback sheets list the affected metric and its version transition, with consistent object counts and no file-size summary.
- The workbench no longer claims five recent actions when fewer exist. Internal milestone labels are removed from the sidebar, and the favicon uses the current blue and paper palette.
[0.6.0] - 2026-10-23
Added
- Bilingual contribution and security guidance, the Contributor Covenant 2.1, issue and pull-request templates, and a contributor-neutral working agreement.
- A runtime license gate covering the locked Python dependency closure and frontend packages measured during the production build, with generated third-party notices and fail-closed license checks.
- Local public-repository export in history and snapshot modes, with reviewed content/message rewrites, normalized commit identities, full-history scanning and machine-readable reports.
- A bilingual ten-minute tour with directly generated screenshots and a repeatable local walkthrough covering evidence review, versioning, approval, traceable answers and metric rollback.
Changed
- Unapproved, rejected and already-consumed approval executions now all persist
DENIEDruns with distinctreasonvalues; authorization HTTP errors remain compatible. - Package, API, UI, smoke reports and OpenLineage producer identify release 0.6.0.
Fixed
- Metric updates reject missing catalog tables and fields before saving a plan; YAML imports continue to register unresolved definitions.
- Completed, failed and cancelled tasks persist their finish time. Existing databases gain nullable columns automatically, preserving old records and unknown durations.
- The English metric detail heading uses the same sample-name translation as relationship cards. The evidence benchmark entrypoint and failure cleanup are covered by the module coverage gate.
- Relationship cards show readable file, version and catalog names, distinguish same-named fields by table, and provide visible controls for horizontally overflowing graphs. Graph counts use a single separator.
- Chinese interface labels and English singular/plural forms are consistent; the workbench title explicitly counts pending approvals, active pipelines and datasets with quality alerts.
- Evidence source letters follow matrix column order, and Ask reference times explicitly use UTC.
[0.5.0] - 2026-10-23
Added
- A bilingual proofreading workspace with six navigation groups, live workbench counts, merged pipeline/action history and eight object archives with source-linked facts and canonical hash URLs.
- Numbered caption/matrix/image anchors, accessible evidence states, deduplicated source footnotes and digest-bound approval sheets. Evidence lists fit six complete samples at 1440×900 and support review-priority, filename and quality sorting, keyboard review and composition guards.
- Read-only object search with ⌘K / Ctrl+K, unique UUID-prefix navigation and conversation drafts. Ask answers reference metric, SQL, fields and time; clarification candidates resolve the original question through an optional metric identifier.
- Self-hosted Latin Source Serif 4 and Source Code Pro fonts, three light/dark palettes, persisted system/explicit themes, token and contrast gates with negative tests, and a reproducible 36-image screenshot matrix.
Changed
- Relationship graphs use archive cards, group only same-name action runs, retain all member IDs and fold excess neighbors by edge kind to stay within 25 visible nodes. Legacy lineage/report/run URLs preserve their destinations.
- Optional dataset quality summaries, graph folding and evidence ordering retain the earlier API defaults. Controlled action parameters, frozen manifests, approval/receipt rules and original P1–P4 workflows remain compatible.
- Release identifiers advance to 0.5.0. Dates use MM-DD HH:mm, large headings/numbers use serif type, and the bundled UI requires no external font or service requests.
[0.4.0] - 2026-10-23
Added
- A deterministic Fictional Kitchen Co. demo alongside both existing file scenarios: four SQLite sources, 20 tables and four views, 128 catalog fields and 51,992 generated rows, with independent gold answers. The semantic layer contains 13 metrics, 12 dimensions and 32 terms, including distinct shipment, invoiced-sales and retail definitions.
- Registered source, table, column, metric, dimension, term, owner and question identities; schema-validated properties; SQLite metadata and foreign-key reflection; and field derivation parsed from views or supplied SQL. Versioned catalog snapshots and separate catalog edges rebuild from events with
rebuild-catalogand canonical hash verification. Import receipts report changes, unchanged objects and SQL parse failures. - YAML metric definitions with required time columns, typed filters, explicit unresolved-reference reasons and authoritative catalog versions. Parameterized SQLite/PostgreSQL SELECT compilation and database-enforced read-only execution include time and row limits. The only new runtime dependency is
sqlglot30.24.0 (MIT). - A deterministic parse → resolve → compile → execute → explain question pipeline, explicit refusal and clarification states, fixed-reference demo questions, saved answer replay, source-field references and NFC text-span matching evidence. Namespaced question predicates reuse assertion provenance, review audits and
rebuild-evidence. - Reversible
import_catalog/restore_catalog,update_metric/rollback_metricandupdate_term/rollback_termactions. Metric history exposes every version and audits containing plan, actor and version transitions; rollback restores old semantics as a new version. ask_data,list_metrics,explain_metricandimpact_offunctions shared by Agent and MCP, plus paginated catalog, table detail, metric history, impact and answer/replay HTTP endpoints. MCP now exposes 13 read functions, 14 prepare-only actions and two explicit approval/execution controls.- Chinese/English Data catalog and Ask data pages: source/table/field browsing, metric cards and controlled editing, paginated glossary, bounded impact trees, result evidence, collapsible SQL, term highlights, refusal/clarification candidates and replay. The existing graph displays catalog edges in bounded subgraphs with columns by object type; metric history links to its JSON API.
ask --reference-instant,eval-askandrebuild-catalogCLI commands. The isolated 20-question benchmark persistsprovider=askresults, numeric correctness, refusal/clarification counts, state-appropriate evidence completeness and truthful report thresholds. Four enterprise golden cases bring the total to 20; two SQL-boundary/refusal mutations bring the mutation suite to ten.
Changed
- Object and predicate kinds use validated registries while original file/version behavior remains compatible. Catalog and question identities are excluded from file-selection object sets and frozen manifests.
demoimports the enterprise scenario through controlled actions, keeps existing metric changes on subsequent runs, and retains--legacy-only. Unchanged imports add no catalog event; metric reference resolution reflects the current catalog without rewriting historical definitions.- Relative dates accept an explicit reference instant; demo and question evaluation use
2026-10-01T00:00:00Zand show half-open date ranges. Candidate-ID reranking is an interface with fake unit tests only and never enters demo, golden or evaluation; no real model is required for questions. - Catalog, metric and question modules join the 90% module coverage gates. Release identifiers and bilingual documentation advance to 0.4.0 while preserving earlier dataset, evidence, approval, export and evaluation workflows.
[0.3.0] - 2026-10-22
Added
- A reproducible 1,000-sample paired image/caption/annotation demo (800 train, 200 val), with independent gold for near duplicates, annotation conflicts, corrupt images and missing annotations. The original 400-file demo remains available.
- Versioned assertions with canonical concept IDs, present/absent/unknown semantics, NFC code-point text anchors, original-pixel image boxes and extraction-event provenance. Human review changes status only and appends reversible decision audits.
- Five deterministic evidence operators in the existing worker/DAG, with content/selector/version/contract-aware incremental caching, failure counters, invalidation audits and content-addressed knowledge bundles.
rebuild-evidencerestores projections and review state and verifies canonical hashes. - Evidence filtering and cursor pagination, source-version details,
query_evidence/get_evidence/explain_sampleread functions, and the reversibledecide_assertionsaction. MCP now exposes nine reads, eight prepare-only actions and two explicit approval/execution controls. - Chinese/English Evidence pages with filters, thumbnails, caption highlights, annotation overlays, review controls and exact-ID/source-version selection actions. Deletion stays behind the existing approval flow; the existing lineage view distinguishes semantic and lineage edges.
eval-evidencewith 15 declared baseline/evidence query pairs, fresh local extraction, precision/recall and direct/cross-split pair metrics, three-state counts, timing and persistedprovider=evidencereports. Threshold outcomes are reported without treating an unmet metric threshold as command failure.- Four evidence golden conversations, bringing the total to 16, and two new mutations, bringing the total to eight. The unknown-state mutation verifies production rejection and the actual explanation check through an explicitly recorded bypass confined to its temporary mutant copy; the threshold mutation uses a real-image non-transitive chain.
Changed
- ObjectSet 1.1 adds assertion, split and near-duplicate filters while preserving 1.0 frozen-manifest serialization and digests. Action preparation freezes matching objects; later assertion reviews do not resample them.
- Extended the existing lineage graph endpoint with bounded deterministic semantic traversal; direct near-duplicate assertions project to the existing
similar_tolink type and remain separate from derivation events. - The offline evidence chat calls real read functions and acts on at most two displayed samples per response; the full result remains available through Evidence pagination. Fake model extraction is limited to interface unit tests and does not enter extraction, evaluation or budgets.
- Evidence domains join the existing 90% module coverage gates. No new runtime dependency is added; the declared Pydantic minimum is 2.12 for compatible omission of new default fields.
- Package, API, UI and producer identify release 0.3.0; bilingual READMEs document evidence inspection, extraction, rebuild and evaluation.
Fixed
- Replaced the unused action compensation field with readable
inverse_ofrelationships for quarantine/unquarantine, and documented the three-turn no-new-asset-reference guard. - Reusing the same operation ID returns its original receipt; a new execute request on a rejected or consumed plan records
DENIED; a mismatched plan digest returns 409 without creating a run. - Bound evidence downloads and materialized selections to exact source versions, prevented ambiguous same-ID/multiple-version materialization, and retained legacy query, approval and export compatibility.
[0.2.0] - 2026-10-22
Added
- Versioned ontology schemas for datasets, versions, files, artifacts and tasks, with distinct link semantics, six read-only functions and revision-frozen object sets.
- Seven controlled actions with parameter-bound plans, impact summaries, expiring single-use approvals, durable audit and attributable success/failure lineage receipts. Reversible actions run automatically through the Agent; deletion and external export require human approval.
- FastMCP stdio and SSE services, generated tool schemas and persisted tool-invocation records. Action tools prepare plans; approval and execution are separate tools.
- An offline chat demo, injectable OpenAI and Anthropic protocol adapters, persistent complete conversation history, on-demand tool discovery, four loop guards and dry-run mode.
- Persistent conversation/day token and monetary budgets, per-call traces, cache accounting and cost summaries. Unknown provider billing retains zero observed usage while conservatively charging the reservation; observed overages stop tool dispatch.
- Twelve offline golden conversations, evaluation comparison reports and six mutations verified against the golden suite.
- Agent chat, approval inbox, action history, ontology and trace/cost pages, Chinese/English switching, quarantine filters and receipt navigation.
Changed
- Enforced the repository standards through
make check: Ruff ALL, strict Python/TypeScript checks, dependency boundaries, source-size limits, coverage thresholds and complete frontend checks, with SQLite/PostgreSQL CI and a local CI script. - Replaced boundary dictionaries and database-row leakage with frozen typed models and storage services; split API routers and frontend domains while retaining phase-one workflows.
- OpenAPI, package version and OpenLineage producer identify release 0.2.0. README examples include local MCP clients, offline evaluation and provider configuration.
Fixed
- Prevented stale target state, modified canonical parameters, expired or reused approvals from authorizing execution; accepted worker tasks retain their authorization after plan expiry while rechecking target state.
- Preserved failure evidence and removed only newly created export artifacts when an export or transaction fails.
- Retained complete tool-call exchanges and request replay boundaries after interrupted conversation streams, refreshing later approval and execution results on reload.
[0.1.0] - 2026-10-22
Added
- Generated 400-file local demo, eleven file/image/text operators, immutable dataset versions and downloadable artifacts.
- Typed pipeline DAGs, PostgreSQL/SQLite task queues, shard leases and transactional terminal events.
- Five-dimensional quality scoring, six-chapter baseline reports, metadata governance, lineage graphs and OpenLineage/Croissant exports.
- Bundled React interface and separate API/worker commands with local or S3-compatible object storage.