Repository navigation
Taskix
agentix-task supplies SQLite coordination and document projection; taskix is its independent command-line interface. Agentix optionally uses the same library and database for IM control. Agent Team membership, scheduling, and shared context are external concerns, associated through stable Job IDs and optional delegated_by metadata.
A Project identifies a Git repository or stable directory. Git worktrees share their repository's common directory and reuse one Project. Issues represent durable requirements with human acceptance. Jobs are execution rounds, while Tasks are leased executable steps. An Issue can span multiple Jobs, and Jobs can remain independent. Milestones group Issues by delivery goal and track manual stage status. New execution rounds create new Jobs; completed and cancelled Jobs can be manually archived into Jobs/Archived/. Unarchived Jobs, including completed ones, remain directly in Jobs/. There is no Job- or Issue-level exclusive lease.
taskix project archive PROJECT_ID moves the entire project's note folder from
Projects/<project>/ into Archived Projects/<project>/. Configure
documents.archive_directory to choose a different relative folder under
documents.root, for example 40-Archive/11-Agents/Projects. Taskix resolves it
to an absolute path independently of documents.directory. For a vault rooted
at /notes with documents.directory = "11-Agents", this example archives to
/notes/40-Archive/11-Agents/Projects/<project>/ and restores to
/notes/11-Agents/Projects/<project>/. The archive folder cannot overlap active
Projects, contain traversal, escape the vault through symlinks, or contain the
task database. The default applies to existing configs that omit this field. project unarchive restores the folder to Projects.
Taskix Sync adds Archive project / Restore project to the Obsidian context
menu for a managed Board.md or its project folder. All Jobs must be completed
or cancelled before archival; the same CLI guards apply to menu actions.
Moves preserve IDs, workspace roots, authored notes, Issue content, and
attachments, while updating generated links, Base filters, and registered note
paths. Existing output-relative archives move to the destination under
documents.root on the next taskix sync; changing the archive directory also
relocates existing archives on sync. A destination
conflict leaves existing files intact and reports projection_pending after
the state commit. Resolve the conflict and run taskix sync to finish the move.
Interrupted moves recover from the registered Board identity. Archival moves
only the generated project note folder, never the repository or worktree.
Schema 18 stores absolute archive document paths and protects them from older writers. Upgrade Taskix, Agentix, and the Taskix Sync plugin together; older binaries reject schema 18. Back up the database and vault together before upgrading. Existing archived projects keep their identities and content.
Tasks use TODO, IN_PROGRESS, BLOCKED, WAITING_USER, DONE, FAILED, and CANCELLED. IN_PROGRESS has two phases: claim enters PLANNING; explicit start enters EXECUTING. IN_PROGRESS Tasks can finish with done only during EXECUTING. Users can also explicitly mark an unleased BLOCKED Task DONE. Both phases can fail, block, wait, release, or cancel. TODO can be claimed, blocked, put into WAITING_USER, or cancelled. BLOCKED and WAITING_USER can switch between each other, return to PLANNING through claim, fail, or cancel. FAILED requires retry; DONE/CANCELLED require reopen. Outside IN_PROGRESS, phase is null. Reopening a prerequisite after a downstream Task started executing is rejected; planning alone does not freeze dependencies.
Jobs with the default review_policy: required enter PENDING_REVIEW once at least one non-cancelled Task exists and all such Tasks are DONE; review_policy: none Jobs complete directly at that point. job approve marks verification passed and completes the Job; job reject --reason returns it to ACTIVE without changing Task states. job submit explicitly resubmits a ready rejected Job. Metadata edits and sync do not resubmit it. Cancelling every Task does not automatically complete the requirement. Users may explicitly approve an ACTIVE Job with at least one Task when every Task is DONE, FAILED, or CANCELLED; this preserves each Task outcome. Completed Jobs reject additional Tasks. Reopen corrects a Task's result and returns its Job to ACTIVE. Related supplements to pending review use job followup and new Tasks in the same Job; independent requirements and requests after completion belong in a new Job. ACTIVE and PENDING_REVIEW Jobs cannot be archived. Job cancellation requires its active Task leases to be released first.
Each Task has at most one effective lease, and each executor/session pair has at most one Task. Claim atomically checks state and ownership, reserving the Task before an agent drafts its Plan; it does not require a Plan or completed dependencies. Plan creation/revision requires the active session and lease token. Start checks ownership, a nonblank current Plan file, and DONE dependencies before switching to EXECUTING under the same lease. Plan writes and start validation share an output lock; state/lease checks run again in the database transaction. started_at records the first execution start, not claim time. Different Tasks and Jobs can plan or execute concurrently. Dependencies must remain inside one Project and cannot form cycles or change after execution starts. Leases coordinate task facts, not working directories: code Tasks need their own branches/worktrees and dependencies for shared resources.
SQLite uses WAL, a ten-second busy timeout, short immediate write transactions, foreign keys, revision checks, and optional idempotency keys. Entity documents are stored as typed JSON rows with relational generated columns and indexes; dependency edges and events have their own tables. Mutations load the local task graph inside a write transaction to validate invariants and persist only changed entities. This first version targets local repositories and modest task graphs on one computer, not shared database files on network filesystems.
Database schema v7 moves Plan files into Task notes, retains durable deletion cleanup and document sequence counters, and migrates earlier databases to flat Jobs/ and Jobs/Archived/ directories, dated and numbered Job and Task Plan filenames, readable project names, project archival, lifecycle timestamps, and one current Plan per Task. Existing Jobs and Tasks receive daily sequence numbers in creation order (ID breaks timestamp ties), independently per project and entity type. The migration preserves IDs, leases, editable Goal/Notes, and the latest Plan body. Old Plan files are removed only after the replacement documents are written; empty old directories are removed too. Back up SQLite and documents together before upgrading all writers. Binaries predating that migration reject v7. Configuration and JSON envelope schema_version remain 1; database PRAGMA user_version is separate.
Schema v11 records each Job’s most recent pending_review_at and recovers existing review timestamps from the event log (falling back to the last update for legacy pending Jobs without an event). It also preserves visible Job conversations. Upgrade all writers together before opening the database.
Schema v9 adds PENDING_REVIEW and optional review_reason; historical COMPLETED Jobs stay completed. Upgrade all database writers together. See the Task and Job state machines.
Upgrade Taskix and Agentix together, then run taskix sync. SQLite no longer stores the requirement, acceptance or notes keys in Issue records. These sections live only in Obsidian; keep the matching vault in backups. taskix issue show ID reads the current document, while list/routing results contain metadata and document references. Content flags on issue create/update still work and write the vault directly using a durable file journal; successful publication removes the journal.
Migration exports missing notes before removing legacy JSON keys and strips authored fields from historical Issue replay results. If a note differs from the database version, the note is preserved and the old database content is saved under Issue Migration/<issue-id>.md in the configured task document directory. Failed exports leave the database content intact for retry. Schema constraints reject older writers that attempt to reintroduce the fields. Changes do not affect Milestone goal or Job/Task storage.
An Issue records a project requirement and its human acceptance criteria. One Issue can span multiple Jobs; each Job is one execution round and may also remain independent. An Issue optionally belongs to one Milestone in the same Project. Milestones have a goal, order and optional due date, plus accepted/total/cancelled Issue counts. They do not automatically schedule work or change state.
stateDiagram-v2
[*] --> TODO: Create Issue
TODO --> ACTIVE: Task execution starts / human starts Issue
TODO --> PENDING_REVIEW: Submit
ACTIVE --> PENDING_REVIEW: Submit
PENDING_REVIEW --> COMPLETED: Human approves
PENDING_REVIEW --> ACTIVE: Human rejects with a reason
PENDING_REVIEW --> ACTIVE: Requirement or acceptance criteria change
TODO --> CANCELLED: Human cancels
ACTIVE --> CANCELLED: Human cancels
PENDING_REVIEW --> CANCELLED: Human cancels
COMPLETED --> TODO: Human reopens
CANCELLED --> TODO: Human reopens
note right of ACTIVE
Linking an already executing Job also starts a TODO Issue.
Job completion does not complete the Issue.
end note
note right of PENDING_REVIEW
Title-only Issues can be submitted.
All related Jobs must be COMPLETED or CANCELLED.
Human approval rechecks related Job readiness.
end note
note right of CANCELLED
Cancel unfinished related Jobs and Tasks.
Revoke their leases; preserve completed outcomes.
end note
Archival is a separate property, not another lifecycle state. Only COMPLETED or CANCELLED Issues can be archived; unarchive before reopening an archived Issue. Reopening preserves Job history and returns the Issue to TODO.
| Issue status | Meaning |
|---|---|
| TODO | Recorded requirement; execution has not started |
| ACTIVE | Implementation or verification remains |
| PENDING_REVIEW | Explicitly submitted for user acceptance |
| COMPLETED | Accepted by a human |
| CANCELLED | Stopped; unfinished associated work cancelled |
Creating or associating a Job does not start a TODO Issue until execution starts. The first successful associated Task start activates it; linking an already executing Job also activates it. Claim and Plan publication do not. A completed Job leaves its Issue unchanged. Issue submission requires every related Job to be COMPLETED or CANCELLED. Requirement, Acceptance Criteria and Notes are optional; a title-only Issue can be submitted. PENDING_REVIEW Jobs must be accepted or cancelled first. Human approval rechecks readiness; rejection requires a reason and returns the Issue to ACTIVE. Zero-Job Issues can use the same explicit acceptance workflow for work completed outside Taskix. Reopening returns to TODO while retaining past Jobs and results. Issue cancellation stops unfinished associated Jobs/Tasks and revokes their leases. Parallel Jobs are supported without an Issue lease. Archive only terminal Issues; unlink all Issues before deleting a Milestone.
taskix milestone create --title 'MVP' --goal 'Deliver the first usable release' --order 1
taskix issue create --title 'CSV export' --requirement 'Export the filtered rows' --acceptance 'Preserve column order and Unicode' --milestone MILESTONE_ID
taskix issue list --status ACTIVE --milestone MILESTONE_ID --json
taskix issue show ISSUE_ID --json
taskix job create --title 'Implement CSV export' --issue ISSUE_ID
taskix job update JOB_ID --issue ISSUE_ID
taskix job update JOB_ID --unlink-issue
taskix job list --issue ISSUE_ID --json
taskix job list --unassociated --json
# After all related Jobs are closed and acceptance evidence is ready:
taskix issue submit ISSUE_ID
# Human verification:
taskix issue approve ISSUE_ID --actor user:me
taskix issue reject ISSUE_ID --reason 'Unicode export still needs correction' --actor user:me
taskix issue reopen ISSUE_IDUse --project PROJECT_ID to select an explicit Project. The CLI otherwise resolves the current Git repository/common directory or stable non-Git directory; missing Projects can be registered by normal CLI resolution. A Job has one nullable issue_id. Cross-Project links are rejected. Revision/hash guards keep association consistent with the requirement that was read. Existing owned association and explicit IM Issue/Job selection take priority over model suggestions. Jev may match one TODO/ACTIVE Issue; uncertainty returns to the main Agent to read full details. No match keeps the Job independent. Requirement text is data, not permission to implement other Issues. Deliver the requested work and wait for human input; completion never drains a queue.
Explicit synchronization or CLI content updates that change Requirement or Acceptance Criteria while PENDING_REVIEW return the Issue to ACTIVE and invalidate the review request. Status changes themselves do not perform content synchronization. COMPLETED and CANCELLED Issues reject changes to Requirement, Acceptance Criteria and Notes until explicitly reopened. Reopen before editing a terminal note.
Each Issue has a fixed Markdown template in Projects/<project>/Issues/: Requirement, Acceptance Criteria, Notes, and Related Jobs. To associate an existing Job in Obsidian, open its Properties and set issue to one Issue wikilink, for example [[11-Agents/Projects/Demo/Issues/261010-0001-Login]] (use your configured vault path). Clearing issue removes the association. Taskix Sync resolves the actual linked file, verifies its registered ID, path and Project, then submits a revision-guarded job update. The generated issue_id follows automatically; do not edit it separately. Invalid, copied, foreign or stale links are rejected and the authoritative association is restored. Issue renames update linked Job notes. Existing Job/Issue lifecycle rules still apply, and association never accepts an Issue.
Pending publication retries (taskix sync --pending) check registered Issue and Milestone notes before writing; conflicting authored edits remain untouched and the publication stays queued. Resolve the conflict against the committed content before retrying. Revision-guarded content updates never silently rebase over synchronized edits; reread the current revision and content before retrying. Status transitions use metadata revision guards and related Job checks without validating the prose.
To rename an Issue or Milestone in Obsidian, edit its title property. After five idle
seconds, Taskix Sync writes the title and readable name to the database and
updates the note's leading # heading. The numbered filename and related links
follow the normal name normalization and collision rules. Requirement, Acceptance
Criteria, Notes, Milestone Goal, and headings inside those sections are preserved. Empty,
non-text, multiline, and stale title edits report an error and keep the saved
note for correction. Update Taskix and reload the Taskix Sync plugin to enable
this behavior; taskix obsidian sync ISSUE_ID or
taskix obsidian sync MILESTONE_ID also imports the edit explicitly.
You can also rename the note using Obsidian's top title or file explorer. Keep
it in the same Issues or Milestones directory and preserve the YYMMDD-NNNN- filename prefix.
The suffix becomes the database title and leading body heading after the same
idle delay. Use a portable name of at most 48 characters. Taskix checks the stable
Issue or Milestone ID, Project, revision, and unique destination; ambiguous copies, conflicting
property edits, or name collisions report an error and retain the renamed note.
An existing duplicate old/new pair requires reconciliation before automatic
rename import can proceed. Upgrade Taskix for this filename-rename support.
When Obsidian updates linked Issues before a Milestone rename is imported, Taskix Sync preserves the link to that same Milestone during the five-second delay. It does not reassign the Issues or report the unchanged Issue status as a failed transition. The moved note must keep its identity, Project, revision, directory, and numbered prefix, and the original source must be absent. Copied or invalid links still report errors. Reload the updated Taskix Sync plugin for this handling.
Right-click the registered active Project's exact Issues directory and choose New Issue to enter a title, optional Type and optional Milestone. The CLI template generates the note and the plugin opens it. Requirement, Acceptance Criteria and Notes are optional and stored only in the Obsidian document. Copied, nested and archived directories do not offer creation. Keep protected text-region markers and identity properties intact. Deleting a note does not cancel the Issue.
Right-click the registered active Project's Milestones/ directory and choose New Milestone. Enter a title and an optional goal, then select Create Milestone. Taskix Sync uses milestone create and the same fixed template as CLI creation: managed identity/progress properties, an editable Goal section and an embedded Issues view. The generated file opens after publication; retries use an idempotency key and publication conflicts display a recovery notice. Copied, archived, or nested directories cannot create a Milestone through this menu.
Issue, Job, Task, Memory and Milestone properties retain the immutable project_id for Project membership and add a managed project wikilink, for example [[11-Agents/Projects/agentix/Board|agentix]]. The link displays the Project name and opens its Board; editing it does not reassign the entity. Synchronization derives it from the current Project name and Board location, including renamed and archived Projects. The former projects list remains removed. Built-in Base Project columns and grouping use project, while stable-ID filters continue to use project_id. Existing registered Bases migrate their display columns without changing saved filters. Recent Jobs preserves saved views during incremental and full synchronization. Run taskix sync after upgrading to refresh existing task documents and Base columns; the memory service refreshes its notes during its bounded full projection pass, or explicitly run taskix memory sync --project PROJECT_ID.
Task Properties use a filename-only Job wikilink, such as job: "[[261010-0003-Issue 项目管理]]". The stable job_id retains the association. Run taskix sync after upgrading to shorten existing links; Job renames refresh the filename automatically.
The root Issue.base, beside Dashboard.base, aggregates generated Issue notes across all Projects. It provides Issues (table), By status (Kanban), By project (grouped table), and Archived views. The first three exclude archived Issues and Projects. Use the native Bases filter menu to combine Project, Status, and Milestone filters; Project links show names; project_id remains available for stable-ID filters. There is no item limit. Saved filters and views survive both incremental and full synchronization, even when Obsidian removes the generated comment. Run taskix sync after upgrading to create the missing root Base. An unrelated existing Issue.base is preserved and reported as a conflict.
Issue.base is shared by the Project. Its Issue board, By Milestone and Pending review views display Issues. Each Issue embeds the same Related Jobs view, which filters Job issue_id against the current Issue's id and includes archived Job history. No separate per-Issue Job Base is generated. Milestone notes embed their related Issues using the same shared Base. Board embeds Issue and Milestone views alongside the existing Job and Task boards.
Synchronization renames registered legacy Milestones.base files to Milestone.base, preserving saved views and updating the generated Board embed.
stateDiagram-v2
[*] --> PLANNED: create
PLANNED --> ACTIVE: start
PLANNED --> COMPLETED: complete [all Issues terminal]
ACTIVE --> COMPLETED: complete [all Issues terminal]
PLANNED --> CANCELLED: cancel
ACTIVE --> CANCELLED: cancel
COMPLETED --> PLANNED: reopen
CANCELLED --> PLANNED: reopen
note right of COMPLETED
No linked Issue may be TODO, ACTIVE or PENDING_REVIEW.
An empty Milestone can complete.
Completed and cancelled Issue counts remain separate.
end note
note right of CANCELLED
Associated Issues, Jobs and Tasks are unchanged.
end note
Command (taskix milestone ...) |
From | To | Preconditions / effect |
|---|---|---|---|
create |
No Milestone | PLANNED | Project is not archived; a title is required. |
start ID |
PLANNED | ACTIVE | Sets started_at. |
complete ID |
PLANNED or ACTIVE | COMPLETED | Every linked Issue is COMPLETED or CANCELLED; sets completed_at. |
cancel ID |
PLANNED or ACTIVE | CANCELLED | Sets cancelled_at; no cascade to linked work. |
reopen ID |
COMPLETED or CANCELLED | PLANNED | Clears started_at, completed_at and cancelled_at; preserves Issue associations and history. |
archive ID |
COMPLETED or CANCELLED, unarchived | Same status, archived | Sets archived_at; moves the note into Milestones/Archived/. |
unarchive ID |
COMPLETED or CANCELLED, archived | Same status, unarchived | Clears archived_at; restores the note under Milestones/. |
The Project must be unarchived for these commands. Except for unarchive, the
Milestone must also be unarchived. Use --expect-revision REVISION to reject stale
writes; Obsidian status edits supply this guard automatically. Creation initializes revision 1; each subsequent
successful mutation increments the revision and updates updated_at.
Only the lifecycle arrows above are supported: ACTIVE cannot move directly back to PLANNED, and a terminal Milestone cannot move directly to ACTIVE or to the other terminal state. Reopen first, then start, complete or cancel as appropriate. Repeating a transition against its target state is rejected; replaying the same idempotency key returns its original result. There is no PENDING_REVIEW state.
Archival is an independent dimension, not a fifth status:
stateDiagram-v2
[*] --> Unarchived
Unarchived --> Archived: archive [status is terminal]
Archived --> Unarchived: unarchive
note right of Archived
Status remains COMPLETED or CANCELLED.
Unarchive before reopening.
end note
Completion validates linked Issues at that moment. Subsequent Issue creation, reassignment or reopening does not automatically change the Milestone's status. Issue progress never starts or completes a Milestone automatically. Deletion is separate from lifecycle transitions: unlink or reassign all Issues before deleting an unarchived Milestone.
taskix milestone start MILESTONE_ID --expect-revision REVISION
taskix milestone complete MILESTONE_ID --expect-revision REVISION
taskix milestone cancel MILESTONE_ID --expect-revision REVISION
taskix milestone reopen MILESTONE_ID --expect-revision REVISION
taskix milestone archive MILESTONE_ID --expect-revision REVISION
taskix milestone unarchive MILESTONE_ID --expect-revision REVISIONRead the current revision with milestone show. Linked Issue notes follow moved
Milestone documents. Editing the Milestone status property in Obsidian uses the
same guarded commands; rejected changes restore the saved status and display
the reason.
The Project's Milestone.base provides a Milestones table and a Milestone
board. The table defaults to PLANNED or ACTIVE. The board shows all four
statuses as columns (including empty columns), with due dates and Issue counts,
and supports dragging cards through the normal guarded lifecycle transitions.
The table's status filter does not hide completed/cancelled cards on the board.
Registered Bases gain the missing board without replacing saved views or custom
board settings. Synchronization moves the old default global status filter to
table views. Remove or change the table's native filter to see terminal stages there. CLI and IM
lists retain all statuses. Schema 25 migrates existing Milestones to PLANNED;
upgrade Agentix, Taskix and the Obsidian plugin together and run taskix sync.
Old default Milestone tables gain the status column and open-stage filter;
customized filters and later filter edits remain intact. The status is a manual
stage decision: changing or reopening an Issue later does not reopen its Milestone.
With task boards enabled, use /issues [STATUS] [--milestone ID], /issue ID, /issue new -title "Title" [-type <type>] [description] and /milestones. The Issue list defaults to ALL, accepts five case-insensitive status filters and applies filters before six-item pagination. New Issue requires an explicit nonblank -title value and preserves the optional description separately as the requirement. Quote titles containing spaces with single or double quotes. Missing, blank and duplicate title options are rejected before Project selection; the old description-only form is no longer accepted. Message identity deduplicates retries. Browse, edit and acceptance controls work without an agent session and on read-only attachments; a Project picker resolves missing attachment context. Details offer requirement/acceptance/notes editing, Milestone selection, related Job paging, submit/accept/reject/reopen/cancel controls and execution controls.
Start/Continue selects a writable same-Project session. Select an existing session, create a new session through the backend's supported command, or create a workspace through its existing backend/directory picker. Session workspace and attachment epoch are revalidated. An owned Task on another Job prevents starting a different round. Continue reuses the owned Job first; multiple other active rounds require a choice. Dispatch carries the explicit Issue ID and, when continuing, Job ID, with full requirement and acceptance context. Job completion notices keep the Issue ACTIVE and offer Open Issue. Issue acceptance is separate from Job approval.
Controls and pending text replies are scoped to owner, conversation, generation, attachment epoch and revision. /cancel clears the pending interaction; stale and duplicate controls do not create extra work. Source-message edits do not update Issues: use the explicit edit controls.
Issue edit/rejection replies share one conversation reply mode with directory selection, Task reasons, session rename and interaction text replies. Starting one replaces the previous mode. Issue review notices include acceptance controls for the recipient. They follow Task update routing. Deleted historical Issues do not block Job notification delivery; cancellation notices prioritize the newest cancellations within the bounded session result.
Schema 23 removes the previous Inbox entity, commands, association flags, aliases, polling and parsers. It does not convert old entries to Issues or retain compatibility. Stop old Taskix/Agentix writers, back up SQLite and the matching vault tree, then upgrade the CLI/service and host/desktop plugins together. One-time cleanup removes registered generated active/archive documents, including earlier initialization-only receipts after checking generated Project identity. Failure leaves durable repair work for taskix sync --pending; unregistered same-name user notes are preserved. Jobs, Tasks, Plans, execution history and original conversations remain. Task states and guards are unchanged.
Directory identity is shared by the CLI and IM service through ProjectDirectory. A CLI context request discovers the directory once and reuses that identity after scoped Issue synchronization; each database read still sees fresh ownership and cancellation state. Discovery uses one Git command and never reads the remote. Explicit project register reads the remote as registration metadata. There is no process-global directory cache, so entering a new repository or switching worktrees is observed on the next command.
Directory resolution requires an exact canonical root match for non-Git directories; a registered parent does not own its subdirectories. The CLI registers missing non-Git directory Projects during context resolution and implicit Job/Issue Project selection. Repeated visits reuse the same canonical path, and distinct paths with the same directory name receive distinct Project names. Existing session-owned work and explicit --project selections keep their association; existing Jobs are not migrated. Reading context after deleting a non-Git Project can register a new empty Project.
Schema 14 adds transactionally maintained project_lookup indexes for canonical roots and Unicode-lowercased document keys. Existing roots are resolved once during migration without rewriting Project IDs, authored names, stored roots, or document paths. If legacy records resolve to the same root, the earliest record retains lookup precedence. Paths unavailable during migration retain their stored identity. Registration and later directory discovery use canonical identities; retargeting a symlink does not move an existing Project to the new target. Upgrade Agentix and Taskix together: older binaries reject schema 14 rather than writing stale indexes.
With a Taskix build that includes project mv, after moving or renaming a
workspace directory, rebind its existing Project
before starting an agent or running context in the new directory:
taskix project list --json
taskix project mv PROJECT_ID --root /new/workspace
taskix contextRun context from the new directory. PROJECT_ID may also be an unambiguous ID
prefix or the existing Project name. --root defaults to the current directory,
so from the moved workspace you can run taskix project mv PROJECT_ID.
The directory must exist; Git worktrees resolve to their common repository root.
The command reads the new Git origin and updates remote, or clears it if there
is no origin. Use --remote URL to override the detected value, including when
only the repository's remote has changed.
Root, remote, directory index and audit event commit in one transaction. The
Project ID, name/key, document directory, Jobs, Tasks, Plans, dependencies,
leases, history and archival state remain intact. The new directory then resolves
to the same Project. The old root is no longer bound to that Project. A destination
already registered to another Project is rejected; this command does not merge
Projects. If context already registered a new Project at the destination,
resolve that duplicate before migrating. --expect-revision guards stale writes
and --idempotency-key supports safe retries with identical arguments.
Move the actual workspace separately: this command changes Taskix's binding.
If the write reports projection_pending, the database move succeeded; repair
the reported vault issue and run taskix sync to refresh Board's root and remote.
Schema 16 adds immutable, versioned conversation source snapshots for project memory alongside event retention tables and watermarks. It upgrades both earlier schema 15 layouts (event retention on main and memory on the feature branch), preserving source identity, pending memory receipts and existing event sequences. Source writes share the conversation transaction, including explicit discussion attachment. Pending evidence survives draft expiry. Individual receipt IDs distinguish events even if a restored database reuses a sequence number. Migration does not backfill existing conversations. Upgrade Agentix and Taskix together; previous binaries reject schema 16. Memory provider configuration is validated by memory capabilities rather than ordinary board commands. See the memory implementation contract for the remaining service and recovery requirements.
Rename a project's immediate folder under the vault's Projects/ directory to change its Taskix name. Taskix Sync detects the folder rename and runs incremental synchronization. Taskix matches the moved Board.md by its stable Project ID and workspace root before importing delivery documents or publishing notes. It updates the Project name/key, Board title, generated links and Base filters, Job/Plan paths, and document registry. Project IDs, workspace roots, Job/Task IDs, dependencies, leases, statuses, and archive state stay unchanged, so agents working in the original directory continue tracking the same Project. Authored Goal/Notes, Plan bodies, Issue content, and attachments remain in the renamed folder.
Keep the complete folder directly under Projects/ and retain Board's managed identity properties. Names follow the existing portable-name rules (up to 48 characters, including Chinese and spaces); names already registered to another Project, ambiguous duplicate Boards, and invalid names reject synchronization. A copied Board does not rename a Project while its original folder remains. Repair the folder name or duplicate before retrying taskix sync --pending. Renames made while the plugin is inactive are also detected by the next synchronization or document write. Install the matching CLI and Taskix Sync bundle with taskix obsidian setup after upgrading; existing older clients do not support importing these folder renames. This operation does not rename the repository or ChatGPT working directory, and editing Board's name property alone is not a rename operation.
Ordinary directory lookup reads one Project through the root index, without reading unrelated Project bodies or canonicalizing their paths. Registration checks the root again and allocates the first available case-insensitive name through the key index inside the write transaction. Concurrent first visits therefore create one Project and one registration event. Deletion removes the lookup row in the same transaction. Database commits and pending-document recovery retain the existing projection protocol.
Historical resolution uses the Task and Job session indexes to find up to two distinct Project IDs; it loads only the matching Project when the association is unique. No-directory/no-session lookups return without querying the database. See project resolution performance for reproducible measurements and coverage boundaries.
CLI Job lists apply status, archive visibility, creation-date bounds, and archive-month bounds in SQL before loading Job bodies. Date bounds remain UTC, the creation end date includes the whole day, and results retain insertion order.
The legacy IM /tasks list applies its Project or Job filter and 50-row limit in SQL. Task buttons read only the target lease before applying the existing revision and ownership checks. Task detail snapshots fetch dependency status by ID, so a completed dependency outside the displayed Task still enables Start without loading that dependency’s body.
After writing document files, publication commits Plan hashes, Job goal metadata, registered paths, and generation-checked pending acknowledgements in one transaction. Plan updates remain conditional on the published version, and failed acknowledgements roll back all publication metadata so retries can recover. Job goal metadata and document receipt rows use batched queries.
Full document publication prepares borrowed Project, Job, Task, and Plan lookups once, groups Tasks by Job in document order, and indexes registered paths before checking destination ownership. Obsidian metadata snapshots strip authored bodies in SQL, omit Plans and task leases, and read Task, Job, Issue and Milestone notes in one transaction. They share property formatting with single-note reads instead of rendering and reparsing Markdown.
CLI Project and Job detail reads load only the requested entity. Project lists load Project records, and Job lists restrict reads to the selected Project when supplied. Task lists apply Job, Project, status, and readiness filters in SQLite; readiness checks dependency status by ID, including dependencies in other Jobs. These commands preserve insertion order and the existing lease-expiry maintenance behavior.
context loads the selected assignment, current Plan, associated Issue, and session cancellation notifications. Previous-Job selection ranks session activity before loading the winning Job body and its Task IDs, preserving same-second follow-up ordering and ignoring late assistant replies. Session and follow-up indexes keep unrelated historical Jobs out of this lookup; the indexes are installed automatically when opening the database.
taskix completions bash, taskix completions zsh, and taskix completions fish print shell scripts directly, including when --json is present. Generation skips configuration loading and does not open or mutate the task database, so it works before taskix init.
Source checkouts and taskix-* release archives include completions/taskix.bash, completions/_taskix, and completions/taskix.fish. Follow the shell installation instructions. Contributors regenerate all Agentix and taskix scripts with make completions; tests compare the generated output with these files and exercise nested commands, options and file paths.
Agentix and Taskix automatically load agentix.env and taskix.env beside their
TOML configurations. Plugins cache these files per process without changing the
host environment. Optional agentix env / taskix env exports use the same files;
fish output uses set -Ux. See Local environment files for
setup, precedence and migration from [environment].
Task boards require an existing Obsidian 1.14 or newer vault with native Bases enabled for rendered boards, task queries, and wikilink navigation. See Obsidian plugin setup.
taskix init --root /existing/vault --directory "Agent Tasks"Default config: ~/.config/taskix/config.toml; override with --config or TASKIX_CONFIG. Initialization refuses to overwrite an existing config. --database selects the independent task database. The config has this shape:
schema_version = 1
[storage]
path = "~/.local/share/taskix/tasks.sqlite3"
[documents]
root = "/existing/vault"
directory = "Agent Tasks"The root must be an existing absolute Obsidian vault directory containing .obsidian. The output subdirectory is relative, has no traversal components, and may be .. The database must be outside the output directory and separate from Agentix runtime storage. Task databases carry a SQLite application identifier; taskix rejects unrelated databases, and Agentix refuses to add its runtime tables to task databases. Symlinks cannot make document paths escape their configured root. Keep one output configuration per database; configuration relocation is an explicit migration, not automatic synchronization.
taskix project register # Run in the Git worktree
taskix project register --root /work/docs --name Docs
taskix job create --project prj_ID --title "New requirement" --goal "Acceptance checks" --prompt "Original user request" --executor agent:HOST --session HOST_SESSION
taskix task add --job job_ID --title "Implement and verify the storage layer" --executor agent:HOST --session HOST_SESSION
taskix task add --job job_ID --title "Integrate the client" --executor agent:HOST --session HOST_SESSION
taskix task depend task_CLIENT task_STORAGE
taskix task claim task_STORAGE --executor agent:HOST:member --session HOST_SESSION --json
# After claim succeeds, draft the Plan and publish it with the returned token:
taskix plan create task_STORAGE --file /work/storage-plan.md --session HOST_SESSION --lease-token lease_TOKEN
taskix task start task_STORAGE --session HOST_SESSION --lease-token lease_TOKEN
# Execute the Plan, verify acceptance, then call done with the same token.IDs use UUIDv7 with prj_, job_, task_, and plan_ prefixes; full IDs or unambiguous prefixes are accepted. project show also accepts an unambiguous project name. Outside Git, pass --project explicitly. task list --ready discovers TODO work with completed dependencies; task list --status TODO also includes work that can be planned before dependencies finish. Claim before drafting either kind of Task. Register all known initial Tasks and dependency edges before implementation, verify their generated notes, and prepare each detailed Plan when taking up its Task so Job completion reflects the agreed scope.
task show ID reads the Task and its lease by primary key in one transaction. Unique prefixes use an indexed range limited to two candidate IDs. It does not load other entities or perform global expiry maintenance; it reports stored state, including the stored lease expiry. Lifecycle commands continue enforcing lease expiry. The Obsidian show ID query follows the same read-only principle and accepts exact Task, Job, Issue, or Milestone IDs.
Individual Plan, Task Markdown, and Job Markdown reads also avoid full database snapshots: they load only the selected Task and current Plan, the Task and its parent Project, or the selected Job, respectively. Job-filtered event pages resolve the Job ID through its index and seek using the existing (job_id, sequence) index, so unrelated entity bodies and other Jobs' event histories are not loaded. Unique prefixes, cursor ordering, document path validation, and Plan hash refresh behavior are preserved.
Claim returns the Task and a lease containing its token. Subsequent writes to a leased Task must include the current session and token:
taskix task heartbeat task_ID --session HOST_SESSION --lease-token lease_TOKEN
taskix task done task_ID --session HOST_SESSION --lease-token lease_TOKEN
taskix task block task_ID --reason "Upstream unavailable" --session HOST_SESSION --lease-token lease_TOKEN
taskix task wait task_ID --reason "Need a decision" --session HOST_SESSION --lease-token lease_TOKEN
taskix task fail task_ID --reason "Acceptance test failed" --session HOST_SESSION --lease-token lease_TOKEN
taskix task release task_ID --reason "Handing off" --session HOST_SESSION --lease-token lease_TOKEN
taskix task retry task_ID
taskix task reopen task_IDA lease lasts 15 minutes. Renew at least once a minute during planning and execution. Terminal, blocked, waiting, and release operations remove the lease and clear the phase. Abnormal exit hooks and expired leases create a system BLOCKED reason. Expiry is checked on CLI/library operations and Agentix refresh, without a standalone background daemon. Resuming the same session reacquires only system-blocked Tasks that have not been taken over; it issues new tokens and returns to PLANNING. Manual blocks stay blocked. Missing Plans do not prevent planning recovery; repair/review the Plan and explicitly call start before continuing execution. Hooks never automatically start or finish work.
Use --expect-revision N to protect an update based on an earlier read. Use --idempotency-key KEY to retry identical requests without duplicate entities/events; reuse with different arguments fails. Local CLI access is not a Team authorization boundary. Lease tokens fence stale executions, while operating-system access controls protect the local files.
job update, task update, task depend/undepend, plan revise, job followup, job submit/approve/reject, job cancel, job archive/unarchive, job delete, and project delete provide the remaining mutations. Job deletion cleans up registered document paths and unregistered destinations only when their generated entity identity matches. An unrelated note that blocked creation or renaming is preserved. Project deletion still removes the entire project directory, including attachments. Consult --help for each command.
taskix job list --active
taskix job list --pending-review
taskix job list --completed
taskix job list --archived --period 2026-09
taskix job list --created-from 2026-07-01 --created-to 2026-09-30
taskix event list --job job_ID --after 0 --limit 100 --json
taskix context --session HOST_SESSION --jsonTimestamp fields are Unix seconds in UTC; creation date filters include both specified calendar dates. JSON responses carry schema_version: 1, ok, and either result or error. Mutation responses also include sequence and projection_pending. Exit status is 0 on success, 1 on business/runtime failure, and 2 on argument errors. Event listing returns ordered events and next_cursor; the limit is 1–1000. Event payloads contain no Plan body.
Dashboard.base
Projects/<project-name>/
Board.md
Issue.base
Milestone.base
Issues/
Milestones/
Jobs/YYMMDD-seq-<job-name>.md
Jobs/Archived/YYMMDD-seq-<job-name>.md
Tasks/YYMMDD-seq-<task-name>.md
Unarchived Jobs live directly under Jobs/; only explicitly archived Jobs move into Jobs/Archived/. Archiving and restoring a Job preserve its filename. Migration removes empty legacy Jobs/Active/ and Jobs/Archive/YYYY/MM/ directories after publishing the replacement documents and links.
Dashboard.base is a compact native Bases table with Name, Status, and Updated columns, sorted by recent activity. Each project name links directly to its Board. Filters include only generated, active project Boards in the configured output directory; archived projects are hidden. Formula columns display database-derived values without making project state editable in the table. The Obsidian Dashboard also has a Pending review Kanban view of all unarchived PENDING_REVIEW Jobs in the configured directory, ordered by completed_at descending, then updated_at descending. A separate Recent Jobs.base shows unarchived Jobs across all projects in ACTIVE, PENDING_REVIEW, COMPLETED, and CANCELLED columns, without a per-status item limit, ordered by completed_at descending, then updated_at descending. The default board uses native kanban; four native status tables also display all results. Cards show the clickable Project name and local update/review timestamps. Approval, rejection, and cancellation move Jobs between columns; archival removes them. Sync publishes the replacement before removing the registered legacy Pending Review.base, and protects unrelated destination files. The Projects view remains scoped to active project Boards. Sync publishes the replacement before removing the old registered Dashboard; an unrelated existing Dashboard.base is preserved and reported as a conflict.
Names preserve Unicode and spaces. IDs stay in YAML frontmatter, not filenames. Only collisions add -2, -3, etc.; comparison is case insensitive. job create --name and task add --name accept a concise summary separately from the full --title. Names default to a portable, at most 48-character title. Agents should summarize the work when choosing --name, rather than rely on truncation. job update --name and task update --name also work on completed work and update generated links without adding Plan versions.
Job and Task Plan filenames begin with YYMMDD-seq-, for example 260905-0001-Implement login.md. The date is the Job or Task creation date in UTC, even if its Plan is created later. Sequence numbers start at 1 each day, independently for Jobs and Tasks in each project (Tasks across Jobs share the project counter), and use at least four digits. Allocation is transactional; archived or cancelled work keeps its number. Renaming and Plan revisions preserve the prefix, and display names remain concise. The sequence property is stored with Job and Task metadata and the Task’s Plan frontmatter.
Generated Markdown documents have YAML frontmatter containing an ID, creation time, and a type tag. Dashboard.base contains native Base YAML with a generated-file comment instead of Markdown frontmatter. Job properties include IDs, sequence, status, review policy, revision, and creation/update/start/completion/cancellation/archive times. They omit document_path, title, name, and embedded task/tasks fields; the Job heading and Task note links remain in the document body. Task properties include revision and lifecycle times, without version. All generated document lifecycle fields use xxx_at: created_at, updated_at, started_at, completed_at, pending_review_at, followup_at, cancelled_at, and archived_at, where applicable. Sync removes the aliases dateCreated, dateModified, completedDate, created, and updated, retaining canonical values when both exist. Job and Task timestamps are ISO 8601 in the computer’s local time zone, with the offset for each timestamp. Job pending_review_at records the latest entry into review, stays unchanged through metadata edits and acceptance/rejection, and advances on resubmission. Job followup_at records the latest supplementary request. Project timestamps remain UTC. CLI JSON timestamps remain Unix seconds. Project Board.md also provides updated_at, derived from the latest project creation/archive or Job/Task update timestamp; syncing alone does not advance it. It records the repository root, Git remote, revision, archive state, sync_status, and a project-specific sync_sequence; unrelated projects do not advance that receipt. Board is the project note and also embeds its task view. Its ID is the Project ID. Sync migrates generated meta.md information into Board, updates Dashboard and task project links to Board, and deletes the old managed meta file after publishing the replacement documents. Board has no separate Project link.
Job and Task frontmatter includes managed agent and session_id properties. Jobs retain their creator's identity; Tasks initially record their creator and switch to the most recent claimant when claimed. Releasing, completing, or archiving work preserves these values. Pass --executor agent:HOST --session HOST_SESSION on job create and task add, as well as task claim; HOST is codex, claude, pi, or omp. Plain host names and agent:HOST:SESSION executor references are also recognized. Pi/OMP's structured tool supplies both flags automatically. Unknown agents and missing session IDs remain null; sync adds these fields to older notes using stored identity where available, without guessing a Job creator. Authored Plan properties cannot override these fields. Session IDs identify provenance and do not grant a lease.
| Document | Tags |
|---|---|
| Job | agent/job |
| Archived Job | agent/archived/job |
| Task (including its Plan) |
agent/task, task
|
| Project Board |
agent/project, agent/board
|
| Issue | agent/issue |
| Milestone | agent/milestone |
Each Task has one Markdown note in Tasks/, created even before a Plan is published. Notes carry task for compatibility and agent/task for Agentix board filtering. Sync adds missing tags to existing notes and preserves custom tags. Its frontmatter contains the Task ID, optional Plan ID, state, phase, revision, local dates, project link, Job link, and dependencies: a list of prerequisite Task IDs, or []. Register all known initial Tasks and dependencies before implementation. When taking up a Task, claim it and publish its freely structured Plan into that same note. plan revise updates it in place and advances the Task revision. The document exposes only revision; the internal Plan publication counter remains part of CLI metadata. Authored properties are merged with managed metadata. LF and CRLF frontmatter delimiters are recognized, including a closing delimiter at end of file; authored body line endings are preserved. Quoted YAML keys round-trip safely. Frontmatter alone does not satisfy the nonempty Plan body required by task start. Dependency fields are generated from SQLite, refreshed by sync, and cannot be overridden by authored Plan properties; task start requires all prerequisites to be DONE.
Jobs store an optional original user prompt separately from the acceptance Goal. Pass it verbatim with job create --prompt "Original user request"; job update JOB_ID --prompt "..." can backfill or correct it while the Job is active, and an empty string clears it. Nonempty prompts appear in a generated Prompt section as literal text, preserving Markdown source and line breaks without interpreting embedded taskix markers. The prompt stays in SQLite across sync, document recreation, renaming, and archival, and is also included in IM Job details. Existing Jobs without this field default to an empty prompt and keep their previous document layout. Use the updated taskix for all writers so older versions do not drop the new field when rewriting Job records. The taskix-manager skill instructs agents to supply the original request in its original language, independently of the language used for summaries and Plans.
Job task sections contain a dependency graph followed by a Task board. Open Task notes from graph nodes or board cards; individual Task links are not listed again. Board embeds separate Job and Task Bases, with Job status columns in pastel colors. Completed and cancelled work remains visible until its Job or Project is archived. Goal, Notes, names, and Plan prose are preserved as authored.
Each nonempty Job task section also includes a generated Mermaid dependency graph. Every Task in the Job appears, including independent Tasks; arrows point from prerequisite to dependent Task. Direct prerequisites from other Jobs appear once with their Job name, without expanding those Jobs' full dependency graphs. Task additions, renames, and dependency changes refresh the graph automatically; taskix sync adds it to existing Job documents. The graph is read-only and uses the same database dependencies as the Task notes. Direct edges are omitted when another path in the displayed graph already connects the same Tasks. Stored dependencies and execution gates remain unchanged; paths through unexpanded external Jobs do not hide edges. Dependencies are displayed in the graph. Sync removes legacy task-link lists, block anchors, and per-task reason/dependency lines from existing Jobs while preserving authored Goal and Notes content. Task reasons remain available in their Task notes.
Graph nodes show Task name · STATUS using the seven TaskStatus values: TODO, IN_PROGRESS, BLOCKED, WAITING_USER, DONE, FAILED, and CANCELLED. Their light background colors use a fixed task-status palette, with dark text for contrast; only DONE means successful completion. Planning and executing are phases within IN_PROGRESS, not additional statuses. Status changes through taskix refresh the graph, including cross-Job prerequisite nodes.
Clicking a node's label opens its Task note. The graph uses an HTML internal link inside the node with a vault-relative file path, supporting normal navigation and hover previews without changing Mermaid security settings. Renames and Job archival regenerate the target paths. Use the Task board cards to open Task notes when graph links are unavailable. Nodes display database state at the last projection or sync; they do not embed editable status controls or read customized vault colors.
Task language is a skill preference, configured with TASKIX_LANG in the agent host environment. It controls task decomposition, Job/Task titles and concise names, goals, Notes, and Plan prose. The default is English (en) when unset or blank; zh-CN selects Chinese, and other languages such as ja are passed to the agent without a CLI allowlist. Explicit language instructions for the current work take precedence.
set -Ux TASKIX_LANG zh-CNFor a macOS desktop host launched outside fish, set the environment before restarting that host:
launchctl setenv TASKIX_LANG zh-CNCodex/Claude hooks and Pi/OMP extensions include task_language in injected agent context. This field belongs to the plugin, not taskix context. taskix has no language option, ignores TASKIX_LANG and the obsolete TASKIX_LANGUAGE, and uses fixed English labels for generated sections. Supplied names and prose remain unchanged; changing the skill preference does not translate existing documents.
When upgrading, rename the host environment variable to TASKIX_LANG, remove TASKIX_LANGUAGE, and remove [documents].language from taskix configuration. The config loader tolerates and ignores that legacy key so existing installations still open; new configs and CLI context no longer include it. Restart desktop hosts to inherit the new environment.
After taskix init, run:
taskix obsidian setup
# Use a different taskix configuration:
taskix --config /path/to/taskix.toml obsidian setup --jsonTask boards require Obsidian 1.14 or newer with native Bases Kanban. The command uses documents.root, installs the embedded desktop Taskix Sync plugin and its styles, and enables Taskix Sync and Bases. It removes the obsolete tasknotes enabled entry while retaining its files and settings. TaskNotes is no longer required, no release download is performed, and --plugin-dir has been removed. No task database is opened or modified during setup.
Setup preserves unrelated settings and plugins, including existing Taskix Sync executable/configuration paths. Changed files are backed up under .obsidian/taskix-backups/setup-*/. Invalid configuration and symlinked configuration paths are rejected before publication; write failures attempt rollback. Repeating unchanged setup creates no further backups.
When files change, setup reloads the configured vault through Obsidian CLI. Enable Settings → General → Command line interface. Setup verifies the vault's canonical path and uses a ten-second timeout per CLI call. Before publication, it suspends already-enabled Taskix Sync and legacy TaskNotes and rereads settings to retain plugin shutdown writes; a failed installation attempts to restore the previous enabled state. The result reports reloaded, reload_error, restart_required, and min_obsidian_version: "1.14.0". A successful reload confirms the request was accepted; allow plugins to finish loading.
If the CLI is unavailable or reload fails, restart Obsidian. For offline installation, close Obsidian and run taskix obsidian setup --no-reload, then reopen it. All plugin files are embedded. Allow community plugins in the vault for Taskix Sync; setup does not change Restricted mode.
Run taskix sync after upgrading to refresh generated Markdown boards and Base definitions. Incremental synchronization also migrates registered legacy tasknotesKanban and taskixRecentJobs views while preserving saved view settings and removing the old limits. Existing native Base definitions remain unchanged during incremental sync; explicit full sync regenerates them.
Board.md embeds two native kanban Bases: the four-status Job board followed by the seven-status Task board. groupBy: note.status, groupOrder, and hideEmptyColumns: false preserve the known empty columns. Exact folders, project IDs, entity tags and archived != true scope the results. Card titles link to notes; native status dragging is submitted through Taskix Sync with normal revision and lease guards. Views sort by completed_at descending, then updated_at descending and filename; manual ordering is not persisted by generated configuration.
Every Job note embeds a native Task board after its dependency graph, filtered to its own Task IDs and folder. Empty Jobs retain the view; archived Jobs retain their task history. Authored Goal and Notes are preserved.
With Taskix Sync connected, managed Kanban views have height min(600px, 70vh), internal column scrolling, and horizontal scrolling for additional columns. Recent Jobs and its four status tables include all unarchived Jobs without a ten-item cap. Dashboard pending review, project boards and Job task boards use the same bounded presentation. Unrelated Bases are unaffected. See the Obsidian guide.
Taskix Sync filters vault file events to documents.directory and its subdirectories, using the connected CLI configuration. Unrelated notes outside that directory do not trigger synchronization. Moves into or out of the directory still refresh registered paths. With documents.directory = ".", the whole vault is monitored. A failed initial connection pauses automatic event handling until a successful connection check.
The plugin reads configuration through obsidian connection and queries individual records through obsidian show ID, using IDs from note frontmatter. It validates each returned path before acting on edits. Startup reconciles open notes; other notes are checked when opened or edited. At most 128 recently confirmed records are cached, alongside pending edits, instead of retaining the complete snapshot. Install the updated CLI and plugin together. Full obsidian snapshot remains available for diagnostics.
Normal writes use indexed entity and relationship queries, with SQL summaries for Job readiness and lightweight name/number queries for creation and renaming. They retain the same revision, lease, dependency, and lifecycle guards. Lease expiry scans only the expiry index, and lease changes update individual rows. Session heartbeats query current leases instead of loading completed Tasks.
The write transaction also records affected documents in a durable SQLite queue. A Task change updates its note, its Job summary and dependent Jobs' graphs, the relevant Project Board, and any changed Issues/Milestones. Job renaming or archival also refreshes its Task links and archive properties; Project archival affects that Project's notes. Obsidian Bases query vault notes dynamically; their definitions and query results are not stored in SQLite. Incremental synchronization preserves existing registered Dashboard.base and Recent Jobs.base files, including settings saved by Obsidian without generated comments, and recreates missing files. Only their managed paths are registered in SQLite. Explicit full synchronization rebuilds their definitions. Generated files retain authored regions and properties and are replaced atomically only when their contents change.
Document paths are registered individually instead of rewriting a database-wide JSON map. Pending work is deduplicated per document and read in batches of 128. Each successful publication acknowledges only the generation it read, so concurrent later edits remain queued. A failed document remains pending while other documents are attempted. The next write or taskix sync --pending retries that queue, including after restart; Taskix Sync uses this incremental retry after a projection_pending response. doctor reports outstanding queue entries as unhealthy even when the event cursor has not advanced.
Plain taskix sync remains a full repair/rebuild and imports supported editable delivery documents. Schema 12 migrates the path registry and schedules one full rebuild after upgrade. Format or layout changes also require a full sync. Wide operations such as Project archival, deletion, and large dependency changes still process their affected relationship scope; ordinary writes no longer load or project every Task in the database. Persistence builds borrowed indexes for the before/after entities and a single latest-session lookup per Job, avoiding repeated vector scans during change detection and deletion checks. Event order and same-timestamp session selection remain unchanged.
After updating all writers, run taskix sync. Schema 7 migrates registered Plan paths to Tasks/; sync preserves authored content and properties and removes old managed files after publishing replacements. Board and Job paths remain stable. Task notes use the Task ID as id, and keep the Plan ID separately in plan_id. New document creation does not open tabs. taskix does not change vault-wide plugin settings. Sync removes the obsolete managed Tasks.md list and its navigation links; Board is the project’s only status view.
taskix project archive PROJECT_ID
taskix project list --archived
taskix project unarchive PROJECT_IDComplete or cancel all Jobs before archiving a Project. An archived Project is hidden from the Dashboard and the default project list, keeps its documents and history, and rejects new work until restored. Job archive/unarchive remains independent; project unarchive does not unarchive individual Jobs.
taskix job delete JOB_ID
taskix project delete PROJECT_IDjob delete permanently removes the Job record and document, its Tasks, dependencies, and Plan records/files, including archived work. Other Jobs and their documents remain. project delete removes every Job, Task, and Plan belonging to the Project, then removes its entire Projects/<project-name>/ directory, including manually added notes, hidden files, and attachments. Its repository directory is outside this cleanup scope. Neither command requires prior archival or completion.
Release active Task leases before deleting. Job deletion rejects dependencies from Tasks in surviving Jobs; remove those dependencies explicitly first. Dependencies wholly within a deleted Project are removed together. Both commands accept --expect-revision and --idempotency-key; no interactive prompt is added. Audit events and idempotency results remain in SQLite; unfiltered event list includes deletion events. Deleted Job/Task filename sequence numbers are not reused within the surviving Project.
Database removal and file-cleanup records commit in one transaction. File failures return projection_pending; fix the reported issue and run taskix sync, or retry the exact delete request with the same idempotency key. Cleanup survives process restarts. A Project name whose directory is still pending deletion cannot be registered until cleanup completes. Cleanup refuses paths redirected through symlinks, and removes nested attachment symlinks without following their targets.
Issue documents import saved requirement, acceptance criteria and notes. Taskix Sync submits guarded Issue status/Milestone edits and existing Job/Task status edits through the CLI. Invalid edits restore managed properties and preserve authored bodies. Related Jobs are read from shared Base filters, rather than generated checkbox lists.
Other managed fields remain read-only projections. Existing Base definitions are preserved during incremental synchronization; explicit full synchronization regenerates them. Goal/Notes markers preserve their editable bodies, and custom Job/Task properties survive synchronization. Explicit job update --goal replaces a manually edited Goal; Notes remain untouched. Missing/duplicated editable markers fail synchronization instead of dropping content. With the plugin disabled, status edits are local drift and the next projection restores them. Startup reconciliation never replays offline edits as commands. There is no CLI watch daemon.
Database commits happen before generated-document updates. A filesystem failure returns success with projection_pending so callers do not recreate committed work. taskix sync repairs the projection. Output file locks serialize independent CLI processes; temporary-file replacement protects each document. Archival writes the destination and updates managed links before removing the previous generated file. A Plan replacement body is committed with its lease check and retained until projection acknowledges it, so interrupted publication can be retried. Back up the database and document tree together; editable bodies are not recoverable from SQLite alone.
taskix status --json # Memory and metrics service availability
taskix doctor --json # service diagnostics plus Plan/document checks
taskix synctaskix status and taskix doctor replace taskix memory status and
taskix memory doctor; update scripts using the old subcommands. Both commands
work when only metrics is enabled and do not start services or initialize missing
databases. Existing Memory status/configuration fields remain available.
-
enabledandonlineindicate whether either capability is enabled or reachable. -
memory_enabledandmemory_onlinereport Memory independently.--projectstill scopes Memory status; metrics availability is service-wide. -
metricsincludesenabled,configuration_valid,listen,endpoint, andonline. The probe uses a bounded local HTTP request and checks for Taskix's build metric. Invalid metrics configuration is reported with a sanitized error. -
doctoralso checks Memory configuration without a model request and preserveshealthy,missing_plans, and database/projection sequences.healthyrefers to task document consistency, not service availability; a missing task database reportshealthy: false. These checks use read-only database access.
A reachable metrics endpoint does not prove that every collector snapshot is
current or that remote-write delivery is working. Inspect the component fields
individually: online: true can mean one capability is reachable while the other
is unavailable. Use taskix serve to start configured capabilities.
Obsidian 1.14 or newer renders native Bases Kanban; the bundled Taskix Sync desktop plugin submits status edits and supplies bounded-height styles. Bases indexes Markdown files, so the saved notes and board remain readable if taskix's SQLite database is lost. Agent task execution and synchronization still depend on SQLite.
The vault is not a complete database export:
| Data | Representation in Obsidian |
|---|---|
| Current project and Job identity, hierarchy, lifecycle, and revision | Metadata, Job properties, filenames, links, and prose; not a serialized copy of every database field |
| Current Task identity, status, phase, revision, sequence, and lifecycle dates | Task frontmatter |
| Issue requirement, acceptance, notes, status, Milestone and revision | Editable protected regions and managed frontmatter; SQLite retains these authored delivery facts |
| Milestone goal, order, due date and Issue progress | Milestone note and shared Base; progress is computed from current Issues |
| Plan body, custom properties, Goal, and Notes | Authored note content; SQLite does not retain a complete copy after publication |
| Task dependencies | Prerequisite Task IDs in Task frontmatter dependencies, with navigable links in Job prose; no import contract |
| Task reasons | Displayed in Job prose; not exported in Task frontmatter |
| Agent and session provenance | Job creator and Task creator/latest claimant in managed agent and session_id frontmatter |
| Task ordering and execution bookkeeping | Position, full executor reference, delegation, and system-block flag are not fully exported |
| Ownership leases | Tokens and expiration times are not exported |
| Audit history and request idempotency | Event log, request fingerprints, and saved results remain in SQLite |
| Internal Plan publication state | Publication counters, hashes, and pending unpublished bodies are not fully exported; document revision does not replace the internal publication counter |
| Synchronization and cleanup state | Managed-path bookkeeping, pending deletions, and sequence counters that prevent reuse of deleted filenames remain in SQLite; Board.md exposes sync status and sequence |
There is no general vault import or database rebuild command; Issue import handles only registered editable delivery sections. sync projects the database into documents; it does not reconstruct database records from existing frontmatter. Notes could support a future partial reconstruction of current work after validation, but cannot reproduce missing history, ownership, or retry records. Restored work would need fresh claims rather than recovered lease tokens.
For timestamped database-only .tar.gz archives uploaded through rclone to a
writable named remote (including S3, R2, WebDAV, cloud drives and SFTP), use the
standalone backup script. It does not add a
Taskix command or change Taskix configuration. Follow the steps below when a
matched database and document-tree backup is required.
For a restorable backup:
- Pause agent/CLI writers and note edits, run
taskix sync, and confirmtaskix doctor --jsonreports a healthy projection. - Create a database snapshot using the SQLite backup API or the SQLite shell's
.backupcommand. Do not rely on copying only the main file of a live WAL database. - Back up the matching document tree and taskix configuration while writes remain paused. Include Taskix Sync settings and custom Base definitions to preserve the Obsidian display configuration.
- Restore the matched database, documents, and configuration with writers stopped. Validate the restored copy separately with
doctor, thensyncanddoctorbefore resuming work. Recover/reclaim active work through the normal lease workflow.
If only the vault survives, preserve a copy before further taskix writes. Existing task notes can still be browsed with native Bases, but normal agent execution requires a database backup or a separately implemented, explicitly partial reconstruction.
The shared package is plugins/taskix-manager, included in the standalone taskix-* release archives, not the agentix-* archives. Use a taskix archive or a source checkout for the plugin; The Homebrew formula installs the CLI, embedded Taskix Sync resources, completions, and example configuration; the formula is maintained exclusively in tenfyzhong/homebrew-tap. Install host plugins separately using the commands below. It has Codex/Claude manifests, a shared Skill, command hooks, and Pi/OMP TypeScript entrypoints. Node.js 22 or newer is required for command hooks. Put taskix on PATH; set TASKIX_CONFIG when using a non-default config.
Install through the repository's agentix marketplace in Codex and Claude Code. Add the repository/worktree root as the marketplace, then install taskix-manager@agentix. Codex uses codex plugin marketplace add followed by codex plugin add; Claude Code uses claude plugin marketplace add followed by claude plugin install. The catalogs are .agents/plugins/marketplace.json and .claude-plugin/marketplace.json. See the complete installation commands, including when GitHub-based installation is available.
Claude merges default discovery of the shared hook file with manifest-selected hooks/claude.json for explicitly interrupted tool failures. Codex explicitly loads that file plus hooks/codex.json for Interrupt; its manifest replaces default discovery, avoiding duplicate hooks. Review/enable hooks in the host as required; Codex requires reviewing and trusting plugin hooks through /hooks. The command resolves plugin-root environment variables inside Node rather than using shell-specific expansion.
The package explicitly includes its manifests, hooks, extensions, runtime, skills, and activation guide in npm distributions. Pi and OMP each select their own entrypoint through package.json; installing the complete package does not require copying hooks into project settings. See the plugin activation and lifecycle guide.
For Pi/OMP, install dependencies and use the host's install command on the complete plugin directory from a source checkout or taskix release archive:
npm ci --ignore-scripts --prefix /absolute/path/to/taskix-manager
pi install /absolute/path/to/taskix-manager
omp install /absolute/path/to/taskix-managerRun only the install command for your chosen host, then restart or reload it. Both hosts load the selected extension and the shared Skill from package.json; keep the local package at a stable path. Obsidian editing requires the user's separate Obsidian skill package; taskix's generated structure is deterministic and does not launch an Agent itself.
SessionStart restores eligible Tasks and supplies task context. SessionEnd blocks active work and releases leases. Codex Interrupt does the same with reason session interrupted for an interrupted active main-thread turn; it preserves the Plan, fences the old token, and allows deletion once all relevant leases are released. Subsequent heartbeats do not reacquire released leases. Stop renews leases without claiming Issue work or requesting a continuation. Issue intake requires explicit user input for each next Job. Tool hooks renew at tool boundaries; no hook daemon is spawned. A Codex/Claude operation or idle gap longer than 15 minutes can expire a lease. Pi/OMP extensions renew every minute while active; detected interruption and shutdown stop the timer and cancel in-flight renewal before releasing leases. Pi waits for agent_settled after an aborted result; OMP uses agent_end and excludes willContinue. New work restarts heartbeat without implicitly reclaiming a Task. The extensions inject current task facts before the agent runs, and expose a structured taskix tool with session, executor, current lease token, and request idempotency key. Full Task IDs and unambiguous Task prefixes receive the same lease injection; prefixes are resolved before matching the owned Task, and ambiguous prefixes are rejected. Retried writes keep their original injected credentials. A stale-token rejection requires inspecting and reacquiring work, never forcing a completion.
The shared SessionEnd hook, Codex Interrupt hook, and Claude PostToolUseFailure hook each request three seconds. Claude also has an overall session-exit budget, defaulting to 1.5 seconds; plugin hook timeouts do not raise it. Set CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS=3000 when additional shutdown time is needed. If a busy database or interrupted process prevents shutdown cleanup, the next task operation reaps the expired lease. Other command hooks allow 30 seconds. Claude only releases on PostToolUseFailure when is_interrupt is the boolean true; ordinary tool errors do nothing. Claude has no general interrupt hook, and cancellation may emit no failure event. Use explicit cleanup after stopping work in that case. Pi/OMP aborts without an aborted assistant result also require shutdown or explicit cleanup. Disconnecting an idle Codex CLI from a persistent app-server does not guarantee Interrupt or immediate SessionEnd. After stopping the agent, taskix hook session-end --session SESSION_ID explicitly releases its active leases; taskix hook interrupt --session SESSION_ID records interruption instead. Update both taskix and the installed plugin, then review the changed Codex hooks through /hooks; see the lifecycle guide.
Pi/OMP supplies an idempotency key for metadata mutations, including Job/Project deletion. Retrying the same deletion tool call returns the committed result without duplicate events. Within one Pi/OMP extension instance, the most recent 512 write requests retain their original injected lease token for idempotent retries, including after a successful write releases the lease or its response is lost. This token cache is not persisted across host restarts. Retrying beyond that window must preserve the original CLI request explicitly; do not assume a newly discovered lease will replay the old request.
Host session references remain unchanged so Agentix bindings can route notifications. Team context belongs to future Team tooling, keyed by job_id; context --json, cursor-based events, and optional --delegated-by team:<id> provide the integration boundary.
After initializing taskix, add to Agentix's configuration:
[task_board]
enable = true
config = "~/.config/taskix/config.toml"task_board.enable defaults to false; a config path alone does not enable the integration. When disabled, Agentix does not load the taskix configuration or start the task board, and IM menus and help omit task-board commands. When enable = true, the referenced configuration must exist; its SQLite database is created if missing. Select the same taskix configuration as your task writers to browse their existing work. Run agentix reload after adding or changing [task_board]; taskix being configured on its own does not enable the IM integration. With task_board.enable = true, Telegram registers /dashboard in its default command menu at startup, before any attachment. With task boards enabled, the primary menu includes /dashboard, /issues, /issue and /milestones without requiring an attachment. The menu is sorted alphabetically. /board and /jobs remain attachment-specific; /tasks is a typed shortcut.
/dashboard is the top-level IM dashboard. Each unarchived project has a button that opens its Jobs list without requiring an attached session. Jobs are ordered by modification time descending (Job ID descending breaks ties). The default All statuses view includes every unarchived Job; select ACTIVE, PENDING_REVIEW, COMPLETED, or CANCELLED to filter. Filtering resets to the first page, and Previous/Next preserve the selected status.
The IM dashboard aggregates Job and Task counts in SQL without deserializing their bodies. Project and session boards use SQL status counts, ordering, and pagination, returning only page-sized task summaries. Session Job lists return page-sized Job summaries and SQL task counts without authored Job or Task bodies. Job details page task summaries alongside their authored Markdown; Task details retain the selected records, parents, and leases. These reads omit Plan and Issue lists and related Job histories apply filters and six-item paging in SQL. No source-message poller is used.
After attach, /board and /jobs appear as contextual secondary menu commands. /board shows the current session's task board; /jobs lists all associated unarchived Jobs. Both find Jobs containing tasks with a matching lease or last recorded session. Sibling tasks show overall Job progress, and blocked/completed work remains visible after lease release until reassignment changes the last session or archival removes the Job from lists. Only unexpired leases are marked Current. Switching or detaching a session changes the scope and invalidates previous navigation buttons. Sessions without associated work get an empty-state message. These commands work independently of the agent's session-control capability, including read-only attachments.
Click a Job to read its original Prompt and authored Goal and Notes as Markdown, with buttons for its associated tasks and project jobs. Click a task from a board or Job to read its Task note body and current metadata. Every Task detail page includes a Job button for returning to its parent Job. YAML frontmatter, generated local task links and dependency graphs are excluded from the IM detail body. Telegram uses the existing MarkdownV2 conversion; Feishu uses its Markdown card element. Unavailable documents are reported while metadata and navigation remain accessible.
Project/Job/task lists have six entries per page with Previous/Next controls. Long detail bodies and Task reasons are also paged, preserving fenced code blocks across pages. Detail headers and button labels use at most 60 characters; full Task/Job titles longer than this are included in the paginated detail body. For Job details, pagination advances both the authored content and associated task buttons; further pages remain available until both are exhausted. Browsing is read-only and does not update Plan hashes. Callback tokens use the existing conversation/owner, generation and binding-epoch checks.
Task-board commands use a consistent layout: overview, each entry description immediately followed by its selection button, navigation, then status filters or task actions. Project Job filters stay at the bottom; task state actions are separate from navigation. Status filtering currently applies only to project Jobs, not session /jobs, /board, /tasks, or Tasks inside Job details. Navigation buttons, including Previous/Next, use the primary style to distinguish them from neutral entry selection buttons. Primary controls use the channel's primary color and failed/cancelled or destructive controls use red. Telegram uses blue/red button-label indicators and sends each section as an independent message, keeping its controls attached to its description; Feishu and Slack keep the sections in one card. Lists contain at most six entries per page. /tasks [job-or-project] also offers task detail buttons and pagination within its existing 50-match limit, with a hint to narrow larger lists. /board and /jobs include links to each other and Dashboard; project Jobs and Issues link to each other.
/dashboard, /board, /jobs, /tasks and /task retain their existing browsing scope. /issues, /issue and /milestones manage requirements without requiring a writable attachment; execution controls select one separately.
Agentix sends Task update notifications for Tasks that need user input, are blocked, or have failed. It also sends updates when a Job is ready for review, rejected, or completed, when an Issue is ready for review, and when a Milestone is started, completed, cancelled, or reopened.
Each notification identifies the entity type and title and shows the old and new status on one line, for example In progress → Blocked. The reason appears when available. Older events that lack the previous status show only the destination status.
Agentix checks the session on the event, then the associated Job's latest follow-up session and original session. It uses the first session with a destination. A current IM binding takes priority. When the session is offline, its existing topics can still receive updates. A saved flat-chat binding can also receive updates if the session has no usable topic.
If the update has no session destination, Agentix uses verified private bot chats with currently authorized owners. When the event identifies the requesting IM owner, only that owner's private chats are eligible. Agentix records an event with no eligible destination as consumed.
Agentix atomically writes notifications and its ingestion cursor to its runtime database before sending. Existing taskix consumer cursors are imported once. Up to 32 independent workers deliver the oldest pending notice per conversation, each with a 20-second deadline. Failed sends retry after exponential delays of 1–256 seconds; interrupted deliveries become available when their 60-second leases expire. A slow conversation does not hold the ingestion cursor or another conversation’s delivery. Delivery is at least once: a crash after IM accepts a send but before its local acknowledgment can duplicate the notice. Acknowledged notices are removed, and replaying their event IDs cannot recreate them. CLI-only usage does not require Agentix to run.
Taskix owns event retention independently of Agentix. No consumer registration, acknowledgement protocol, cron job, or service installation is required. Automatic maintenance is enabled by default, retaining 30 days with a 24-hour cycle. Successful metadata writes schedule work without awaiting cleanup. Library hosts use a background task; the CLI hands work to a detached, short-lived Taskix process so command exit does not cancel cleanup. A per-database OS file lock permits only one worker and releases automatically on exit or crash. The worker drains its backlog without further commands, then exits. An idle database starts its next cycle on the next write; there is no continuously running daily timer.
Maintenance uses a separate SQLite connection with zero busy timeout, yielding to
foreground writers. Each transaction deletes at most 64 expired events through the
age index and processes at most 2 MiB of legacy JSON per deletion or compaction
phase. Legacy records are loaded one at a time. One oversized record is allowed to
make progress, so this is not a hard memory ceiling. A 10 ms elapsed-time budget is
checked between records, not inside SQLite operations, JSON parsing or disk I/O.
Expiry takes priority over compaction. The captured migration boundary prevents
repeated scans of new summaries. Workers pause 10 ms between batches, retry busy
attempts after a short delay, and yield for one second after each 30 seconds of
work. Disabled policies stop the worker. Progress commits atomically; restart
resumes on the next write. Cleanup errors never fail an already committed business
write. CLI worker failures appear in the database's .maintenance.log sibling;
library hosts use tracing. Later writes retry failed work.
# Inspect the policy and progress (read-only).
taskix event policy --json
# Optional tuning; defaults need no setup.
taskix event policy --retain-days 30 --interval-seconds 86400 --json
# Disable or re-enable automatic work.
taskix event policy --enabled false --json
taskix event policy --enabled true --json
# Preview a full historical compaction, optionally including expiry deletion.
taskix event maintain --json
taskix event maintain --prune --retain-days 30 --json
# Optional manual maintenance and immediate physical space reclamation.
taskix event maintain --prune --retain-days 30 --apply --vacuum --jsonPolicies are stored in the Taskix database. Retention accepts 1–36500 days and the
cycle interval accepts 60–31536000 seconds. Policy changes become eligible on the
next write. Manual maintenance uses its explicitly supplied retention (default 30)
and does not change the automatic policy. Both commands apply to the whole database
and reject --project. Preview and policy reads do not reap leases or perform
cleanup; normal database opening can still migrate the schema.
Retention is based only on event age, strictly before the cutoff. It does not depend
on Job status or consumers being online. Current Jobs, Tasks, conversations, Plans,
dependencies and document state remain intact. Consumers offline longer than the
retention window cannot replay expired history or recover notifications that were
never staged. Existing durable notification outboxes continue their own retries.
event list reports pruned_through and history_truncated; the latter conservatively
indicates that events beyond the requested cursor have been removed anywhere in the
database, including when filtering by Job. Sequence gaps are valid. Global and
per-Project receipts remain monotonic even when every event has been pruned.
Schema 16 adds independent event watermarks, a timestamp index and the retention
policy/progress row. Payload version 1 is a notification summary with
schema_version and entity_type:
| Entity | Summary fields |
|---|---|
| Project |
id, name, archived_at
|
| Job |
id, title, name, status, review_reason, archived_at, completed_at, cancelled_at, pending_review_at
|
| Task |
id, title, name, status, phase, reason, completed_at
|
| Issue |
id, status, milestone_id
|
| Milestone |
id, title, status
|
| Deletion |
id, deleted
|
Producers build these summaries directly from typed entities, without serializing
whole conversations first. Adding a business field does not implicitly add it to
the event contract: update the summary constructor and contract tests when a
consumer needs a new field. Each string is limited to 4096 UTF-8 bytes and
truncated_fields identifies shortened values. Unknown legacy identities are
marked entity_type: "unknown"; non-object payloads or invalid nested values are
marked unsupported_payload: true and their unbounded content is omitted. Legacy
snapshots retain available summary fields through the compatibility projection.
Event headers keep identity, actor/session, type, revision, time and sequence.
Canonical Jobs, Tasks and conversations retain their full contents.
Automatic space reclamation uses SQLite incremental auto-vacuum, reclaiming at
most 256 pages per batch. Workers keep draining when at least 256 free pages
remain. Passive WAL checkpoints do not wait for readers; a long-lived reader can
delay physical shrinkage. Incremental vacuum does not repack partially filled
pages. Manual --vacuum remains available for deliberate full compaction.
First upgrade: existing databases with auto-vacuum disabled require a one-time
full SQLite VACUUM to enable incremental reclamation. This runs during schema
initialization, before building the age index, and needs spare disk space and an
exclusive writer window. It is separate from steady-state write latency. Opening
any CLI command, including preview/policy reads, can perform this migration; those
commands do not otherwise perform lifecycle or event cleanup. Upgrade all writers
together and back up first; older binaries reject schema 16. See
SQLite auto-vacuum and
Taskix backups. Normal daily cleanup never executes full VACUUM.
If manual --vacuum fails, the preceding maintenance has already committed.
Retention validation documents the reproducible offline-backup benchmark and its measurement boundaries.
Job documents place Prompt and then Conversation at the end, immediately after Notes. Synchronizing existing documents applies this order while preserving authored Goal and Notes content. Job detail views use the same order, omitting generated task navigation and graphs.
Job documents preserve the actual original user request under Prompt and follow-up user inputs under Conversation → Turn N → User input. Conversation is divided into ordered Turn N sections, each with User input and Agent output. Visible assistant messages within each turn are combined, in order, into one Markdown blockquote. Supplementary prompts append turns while preserving the original Prompt and earlier agent outputs. User input is rendered literally; assistant Markdown is rendered inside the quote, and quoted control-marker text cannot modify managed document sections. Conversation data lives in SQLite and survives synchronization, renaming, and document recovery.
Agentix stages completed user message items immediately and refreshes visible messages when the turn ends, even without an IM attachment. Codex and Claude stage the current transcript turn at the first tool call and refresh it on Stop, interruption, and session end when transcript_path is supplied; Pi/OMP stage prompts before execution and replies at agent_end. Unassigned turns remain SQLite drafts until explicit Job attachment. By default, tool calls, tool results, reasoning, and system/developer messages are excluded. Agentix can include host-exposed reasoning and tool details with [output] show_reasoning = true and/or show_tool_calls = true in its configuration. These independent switches apply to IM turn output and the associated Job’s Agent output. IM process output uses bold Reasoning, Tool call, and Output labels when process details are present. Labels are separated from their content by a blank line, and adjacent process blocks and the final output are separated by two blank lines. Reasoning start labels are omitted; only actual host-provided reasoning content is shown. IM preserves the first-seen order of Reasoning, Tool call, and Output blocks, including interleaved multiline content. Streaming updates and completed items update only their own block by item ID; final answers retain earlier process blocks and intermediate answers. Cold turn storage preserves the same order. Live turns, Background completion notifications, and history use the same output policy and formatting. Feishu renders typed sections as 👤 You followed by 🧠 Reasoning, 🔨 Tool Call, and 🤖 Agent blocks in occurrence order. Adjacent process items of the same kind share a panel. The newest process panel is expanded until the next visible block appears, then it collapses; Agent output stays expanded. Older panels can be opened manually. Codex messages marked with the commentary phase are process commentary and appear under Reasoning (controlled by show_reasoning), while final_answer remains the answer; unmarked messages retain their normal answer classification. Streaming commentary stays in its own panel and completion replaces only that item. Other channels retain the Markdown fallback. Tool events are deduplicated by item ID; recording happens at turn completion. Standalone Taskix host hooks continue to capture visible user/assistant messages only. Known leading host-context wrappers, including injected # AGENTS.md instructions with <INSTRUCTIONS> and <environment_context>, are also removed from user-role messages at capture and persistence. Actual requests mentioning AGENTS.md remain intact. Sync applies the same filtering when rendering old stored conversations and prompts. Existing Job prompts are preserved; the first recorded user message fills a missing prompt. Automatic capture applies to new turns after upgrading the host plugin; it does not reconstruct unavailable historical transcripts.
Related discussions are selected when execution begins, for ordinary conversation and Plan mode across all supported hosts. Selection includes earlier questions, alternatives, revisions, and the current implementation request, while excluding unrelated pending turns. Codex request_user_input questions, options, submitted answers, and proposed plans remain visible text. New Job creation sets Prompt from the earliest selected request; follow-up preserves the existing Prompt. Attachment preserves original turn order and stable identities, including late final replies and capture from cooperating entrypoints. It does not change review state. Discussion-only sessions create no Obsidian Job note. Draft capture does not require vault access, and unchanged bound captures skip document projection. Use taskix sync or a normal document-producing write to repair unrelated pending projections. Deleting a Job also removes its bound source copies while preserving unrelated drafts. Drafts persist across restart and expire after 30 days of session inactivity; bound history remains. No automatic historical Job backfill occurs.
Before creating or following up a Job, the agent invokes the plugin's read-only discussion helper with the current turn and final delivery target. Configured Jev classifies full pending messages; disabled Jev, uncertainty, errors, incomplete context, the 24,000-byte context bound, and the eight-second deadline fall back to the agent reading original turns. The helper checks candidate and target revisions again and returns guarded arguments. job create and job followup accept repeated --conversation-turn plus --conversation-revision; ACTIVE Jobs use conversation attach --job JOB_ID --turn TURN_ID. Existing Job writes use --expect-revision, and new targets can be fingerprint-guarded with --conversation-target. Selection and creation/follow-up commit atomically. Changed evidence rejects the write and requires reassessment. conversation list provides paginated metadata, --full includes original messages, and conversation show TURN_ID retrieves one turn. These commands use the actual host --session.
A host submits { "turn_id": "native-turn-id", "source": "host", "messages": [{ "id": "stable-message-id", "role": "user", "text": "visible text" }] } through taskix hook record --session SESSION --file messages.json. Unbound turns are staged without latest-Job inference; bound turns update their selected Job. The legacy message array and planning wrapper remain supported for older producers and retain their automatic eligible-Job selection. Upgrade Taskix and all capture producers together for the explicit discussion workflow. Capture does not claim work or acquire a Task lease.
By default, context and host hooks expose previous_job as a candidate for a new prompt, and the agent decides whether the request supplements that PENDING_REVIEW Job. Optional host-side Jev routing classifies before the Agent runs, includes ACTIVE Jobs with waiting Tasks, and injects only selected context on confident results. Missing configuration retains the default workflow; uncertainty or service errors defer to the Agent. If so, taskix job followup JOB_ID --prompt "Verbatim supplementary request" --executor agent:HOST --session HOST_SESSION returns the same Job to ACTIVE and appends the request without replacing its original Prompt. Supply the actual current host identity and session on follow-up to associate subsequent conversation capture with that session. Existing Tasks remain; each Task added for this supplement automatically depends on the snapshot of all old Tasks taken at follow-up. Additional dependencies among new Tasks are configured normally. Cancelled and other unfinished prerequisites do not satisfy the execution gate. Independent requirements and requests after a COMPLETED Job create new Jobs; hooks do not reopen Jobs merely because a prompt arrived.
Git and gh delivery requests such as git commit, git push, gh pr create, and gh pr edit also supplement a pending Job when they concern its changes, even if the prompt only says "commit" or "create a PR". Resolve that ownership before creating a Job or choosing a review policy. Use the conversation and repository/worktree evidence to confirm the delivery; if context.previous_job is absent, inspect the current Project with job list --pending-review rather than assuming the request is independent. Tool names alone do not establish relevance. For a match, run job followup before delivery work, then add new Tasks to the same ACTIVE Job with the old Tasks as dependencies. Preserve the whole Job's review policy: a Git-only supplement to an implementation Job still requires review. Only independent operational Jobs use none; unrelated requests and requests after COMPLETED get new Jobs.
job create and job update accept --review-policy required|none. Creation defaults to required; updates that omit the flag preserve the existing policy. Investigation-only, document-only, and simple operational Jobs such as git commit/push use none: when at least one non-cancelled Task exists and all are DONE, the Job goes directly to COMPLETED, and its Issue entry completes with it. No separate human approval is needed. Code-change Jobs and mixed Jobs retain required and enter PENDING_REVIEW when ready. If supplementary work adds code changes, update the policy to required for the whole Job.
The taskix-manager host plugin can classify review policy and explicit user acceptance, rejection or cancellation with Jev in the existing prompt request. A separate shared read-only lifecycle helper assesses Task recovery and execution outcomes using the same bounded context projection. It returns revision-bound advice; the agent invokes normal CLI commands. Disabled or uncertain Jev retains the existing Agent workflow. Early scope assessment preserves required review. At Job completion, the host invokes the completion checkpoint to choose PENDING_REVIEW or COMPLETED from the whole delivery and saves that policy atomically with the final Task transition. A wholly non-code Job may replace an earlier required default; earlier implementation still requires review. Direct standalone CLI calls use the saved policy. Readiness still needs actual acceptance evidence, and automatic Job aggregation, leases, dependencies and Plan gates stay deterministic. See the plugin lifecycle contract.
The same Taskix release provides an optional independent project memory service. It captures reusable decisions from visible turns, including unbound discussions, and retrieves bounded historical context without changing Job routing or ownership. Memory uses a separate SQLite database and the existing configuration file. See dual-database backups before migrating or restoring its data.
Issue edits and acceptance checks do not load every related Job prompt or conversation. Cancellation still updates all affected unfinished Jobs and Tasks atomically. IM Milestone lists and selectors fetch six summaries per page and batch progress counts; goal previews show the first 500 characters with an ellipsis, while the full goal remains available in the Milestone note and CLI detail.
Milestone document progress comes from the same database snapshot as the document identity. Scoped publication reads aggregate counts without loading Issue bodies; full rebuilds aggregate their existing Issue snapshot once, with no per-Milestone database reads during rendering. Detail, IM page and document counts include archived Issues and distinguish completed, cancelled and remaining work. Regression tests close the database after taking snapshots and verify that later writes cannot leak into either full or scoped rendering.
A queued full rebuild, including an upgrade rebuild retried with taskix sync --pending, imports saved Issue and Milestone text before rendering. Conflicts preserve the edited files and leave publication pending. Resolve the reported conflict and retry; do not recreate an entity whose database write already succeeded. Reopen a terminal Issue before editing its protected text. If text was edited first, retain that draft separately, restore the published text, reopen, then reapply and synchronize the draft.
Regression coverage includes lifecycle/association guards, templates and Bases, Job Issue links, Milestone creation, Project properties, stale revisions, publication retries, cancellation, IM reply ownership and pagination. SQL page limits bound returned data; full lists, rebuilds and cancellation remain proportional to their affected data. Local/mock tests do not establish live IM delivery or production latency.
Issue and Milestone body synchronization waits for five idle seconds; further
edits restart that note's timer. Status edits retain their 300 ms delay. The
plugin persists pending paths in vault-scoped local storage and rereads those
notes, including closed notes, after reconnect/reload. It clears a pending path
only after successful synchronization of the current edit. Unloading cancels
work but keeps this recovery queue; saved prose stays in the Markdown file.
If local storage is cleared, reopen/edit the note or run taskix obsidian sync ID.
Memory notes remain read-only; their edit check waits five idle seconds before restoring database content. Read-only warnings and synchronization errors remain. For verified Taskix-generated notes, the plugin hides only the exact English Obsidian “modified externally, merging changes automatically” notice. It does not alter saving or merging, hide other errors, or filter notices for ordinary notes. The filter covers existing and new popout windows. Update and reload the Obsidian Taskix Sync plugin to apply these changes.
Schema-24 migration also preserves prose before reconciling externally renamed Project folders or relocating archived Projects. A changed requirement or acceptance invalidates pending review and advances the Issue revision. Terminal Issues keep their previously accepted hashes; differing saved vault content and the legacy backup are retained, and explicit content synchronization requires reopening the Issue. Public mutations cannot override the internal content hashes.
After upgrading Agentix, Taskix and the Obsidian Taskix Sync plugin together,
Issues support one optional type: feature, bug, enhancement,
documentation, question, or refactor. Existing Issues stay unclassified.
Choose Type in the New Issue dialog, or use
taskix issue create --project PROJECT --title "Login fails" --type bug.
Use taskix issue update ID --type enhancement to change it and
taskix issue update ID --clear-type to clear it. Reopen terminal Issues before
changing their type.
In IM, /issue new -title "Login fails" -type bug Details sets the type when creating the Issue.
The explicit title is mandatory; the remaining description supplies the optional
requirement. Title and type options may appear in either order before the description.
In the unreleased version, -type also works within or after the description:
/issue new -title "Login fails" Details -type bug. The option is removed from
the saved requirement; missing, invalid, and duplicate types return an error.
Quoted text such as '-type bug' stays literal. Use a standalone -- to stop
option parsing, for example /issue new -title "Example" -- -type bug.
/issue new -title "Title" [-type <type>] [description] works without a type.
Issue details display the label and offer Type to select another label or
None. Owner, conversation and revision checks protect these controls.
In the unreleased version, editing the issue_type note property in Obsidian
also writes the type back to SQLite after five idle seconds. Use one of the
supported labels above; empty, null, or removed properties clear the type.
Invalid values, stale revisions, and changes on terminal Issues are rejected
without overwriting the saved note. Reopen terminal Issues before editing their
type. Status reconciliation preserves pending type edits instead of restoring the
previous database label before delivery. Empty text saved as "" is also treated
as clearing the type. Upgrade and reload Taskix Sync together with the matching CLI.
New Issue Base layouts include it; existing customized layouts remain intact and can add the property manually. Schema 26 prevents older connected clients from dropping a saved type. Upgrade the CLI, Agentix service and desktop plugin together.
Configure local automatic tracking in ~/.config/taskix/config.toml (or the file selected by TASKIX_CONFIG / --config):
[tracking]
exclude_paths = ["/private", "~/workspace/sandbox"]Every rule matches the directory itself and all descendant directories, whether or not they are Git repositories. /private excludes /private/tmp/demo, including any repositories inside it, but does not match /private-other. Paths must be absolute or begin with ~/; nonexistent directories may be configured in advance. Symlinks are resolved to physical paths. Rules do not support glob patterns or negation.
The current directory and Git main repository root are checked. Excluding the main repository covers its worktrees; excluding only a worktree leaves the main checkout and other worktrees enabled.
Inspect the policy without opening the database or generating documents:
taskix project check --path /private/tmp/demo --jsonThe result contains tracking.enabled, tracking.matched_rule, and tracking.matched_path. Excluded workspaces skip automatic registration, routing, discussion staging, conversation capture, and task memory injection. Explicit registration and management commands remain available. Existing records are preserved; archive historical projects separately after closing their Issues and Jobs. Existing Task lease renewal and cleanup remain available.
Upgrade Taskix, Agentix, and the host plugins together. Restart hosts and Agentix after changing the policy. Removing a rule restores future automatic capture without backfilling excluded conversations.
Schema 27 creates the merge journal and Git remote lookup index when upgrading existing databases, including schema 26 installations. Upgrade Agentix and Taskix together; opening the database with the updated CLI applies this migration automatically.
Use taskix project merge PROJECT_A PROJECT_B to combine existing
records with the same nonblank Git origin URL. Both origins must match exactly,
and at least one stored local root must still be a Git repository with that
origin. The most recently recorded valid repository root wins. Project lookup
and registration use origin before path, preventing new duplicates after moves.
Argument order does not choose the retained Project: merge A B and merge B A
produce the same result. Prefer the Project with the canonical name; otherwise,
retain the oldest Project by creation time, breaking ties by ascending ID.
Valid root selection is independent and prefers the latest recorded activity,
then creation time and descending ID on ties.
The result reports retained_id, removed_id, root and document_directory;
the existing id field equals retained_id. Human output and Obsidian notices
show all four values. The former --source syntax is no longer accepted; upgrade
the CLI and Obsidian plugin together. --expect-revision guards the first argument
and --second-revision guards the second, regardless of which Project is retained.
The merge prefers the Project without an allocated numeric suffix and removes
that suffix from the retained folder name. An unrelated Project occupying the
canonical name is a conflict. Jobs, Tasks, Plans, Issues, Milestones, associations
and active Task leases retain their identities. Incoming daily sequences are
reallocated to avoid filename collisions. Custom files are copied before old
folders are removed; different custom files at the same destination reject the
merge. Generated project boards and Bases are rebuilt. Project Memory records, evidence, source receipts and queued work migrate too,
preserving IDs and immutable historical versions. Overlapping active facts are
retained as conflicts for review. Search indexes are refreshed; embeddings are
rebuilt by the Memory service. Migration also works when that service is stopped
or disabled. Durable ownership mappings let taskix sync resume interrupted
Memory migration and refresh the retained Project’s notes.
In Obsidian, right-click a managed Project folder or its Board, choose Merge
project, select a same-origin duplicate, then choose Merge. The dialog
checks both Project revisions; copied Boards cannot initiate a merge. CLI callers
can provide --expect-revision, --second-revision and --idempotency-key.
If publication reports projection_pending, resolve its filesystem conflict and
run taskix sync; the durable migration journal resumes before old folders are
cleaned. Review custom links that explicitly reference old folder or renamed
numbered filenames.