rekon 0.0.7

Reconstruct where your time and compute went: account for agentic work on two axes and review a daily ledger instead of keeping a timesheet.
rekon-0.0.7 is not a library.

rekon

crates.io docs.rs License

Reconstruct where your time and compute went. rekon accounts for agentic engineering work on two separate axes and reconstructs an automated daily ledger from the trail you already leave, so you review and approve a day instead of keeping a timesheet.


The Two-Axis Model

Once AI coding agents do much of the heavy lifting, the single metric called "hours worked" comes apart:

Axis What it measures Behavior under parallel work Source
Compute Tokens, dollar cost, agent active-time Sums (4 parallel agents = 4x compute) ccusage, agent logs
Human Attention Steering prompts, diff reading, reviews, meetings Never sums (serial human bottleneck) Inferred from git, chat, calendar, PRs

rekon tracks both axes independently. It never asks "what did you do today?" - it drafts the answer directly from your activity and presents it for quick review.

Key Features

  • Automated Reconstruction: Pulls events across git commits, Claude Code sessions, ccusage costs, calendar meetings, GitLab merge requests/comments, GitHub PRs, and Mattermost discussions.
  • Content-Based Attention: Evaluates reading complexity from diff sizes, typing rates, thinking buffers, and meeting lengths rather than naive clock timers.
  • Work Piece Grouping: Groups related work items into high-level initiatives (e.g. auth, billing) with an optional LLM assistant.
  • Two-Stage Auditability: Deterministic heuristics keep the base rows and evidence 100% auditable; LLM suggestions and reasoning are captured alongside without destroying raw data.
  • Multiple Review Frontends: Inspect and adjust your ledger via the fast terminal CLI (rekon review) or the modern web dashboard (rekon-server).
  • Private & Local-First: Reconstructs on your machine into local storage (JSON files or SQLite). No remote control plane required.

Installation

# Install from crates.io
cargo install rekon

# Or install pre-built binary via cargo-binstall (fast, no compilation)
cargo binstall rekon

Quickstart

# 1. Initialize starter configuration in ~/.config/rekon/rekon.toml
rekon init

# 2. Reconstruct today's activity from your git repos
rekon reconstruct

# 3. Optional: Reconstruct with LLM initiative grouping and estimation review
rekon reconstruct --llm

# 4. Review the drafted ledger in your terminal
rekon review

# 5. Interactive editing in your $EDITOR if adjustments are needed
rekon review --edit

# 6. Approve the day's ledger
rekon approve

Review Dashboard

Launch the review server to inspect days visually:

rekon-server

Open http://localhost:3000 to review:

  • By piece: See effort grouped under overarching initiatives.
  • By repo: See branches and merge requests consolidated per repository.
  • Flat: Standard sorted activity view.
  • Evidence Drawer: Click any row to view commit logs, review comments, diff sizes, and steering prompts.

Configuration

Run rekon config to view the path to your active configuration file (~/.config/rekon/rekon.toml).

[attention]
session_gap_minutes = 30
min_session_minutes = 10

[connectors]
git_skip_rebased = true           # exclude base branch commits on feature branches
scan_roots = ["~/Work"]           # auto-discover git repositories
ignore_issue_prefixes = ["ADR"]

[connectors.ccusage]
command = "bunx ccusage blocks --json"

[connectors.claude_code]
dir = "~/.claude/projects"

[attribution.llm]
enabled = false                   # enable LLM work piece grouping by default
command = ["claude", "-p"]

Architecture

  • rekon-core: Reconstruct pipeline, two-axis domain model, attention estimator, and storage abstractions.
  • rekon-connectors: Event source adapters (Git, Claude Code, ccusage, GitLab, GitHub, Mattermost, Calendar).
  • rekon: Command-line interface.
  • rekon-server: Embedded web dashboard backend and API.

Branding

Visual identity and design guidelines are maintained at rekon-rs/.github/brand.

License

Apache-2.0.