Skip to main content

Crate tj_core

Crate tj_core 

Source
Expand description

tj-core: append-only event log + derived SQLite state for Task Journal.

Modules§

artifacts
Artifact extraction — regex-based scrape of structured references out of free-form event text. Captures the bits that turn a journal entry into a real ledger of what shipped: commit hashes, PR URLs, ticket IDs, branch names, file paths.
classifier
Event classifier: takes a chat chunk + recent task context, returns suggested event_type + task_id + confidence.
db
event
pack
Pack assembler: turns events + derived state into compact resume Markdown.
paths
project_hash
session
Claude Code session JSONL parser and backfill logic.
storage

Constants§

SCHEMA_VERSION
On-disk + on-wire schema version for events and packs. Bump when a breaking change is made to the JSONL event shape or the pack JSON envelope. Single source of truth across the workspace — never inline.

Functions§

new_task_id
Build a fresh task identifier of the form tj-<10 lowercase base32>.