rekon 0.0.11

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.11 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, Claude Code, Antigravity 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, Antigravity 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 stable opaque IDs and optional LLM assistance.
  • Two-Stage Auditability: Deterministic heuristics keep the base rows and evidence 100% auditable; LLM suggestions and reasoning are captured alongside without destroying raw data.
  • Interactive Review Dashboard: Inspect, nudge attention durations, rename initiatives, link external issues, and publish effort via the web dashboard (rekon-server).
  • Publisher Write-Back: Idempotently sync approved effort and compute to GitHub Projects v2 custom fields or GitLab /spend time tracking notes.
  • 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 rekon-server

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

Quickstart

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

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

# 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

# 7. Publish approved effort to planning boards (GitHub Projects, GitLab)
rekon publish

Review Dashboard

Launch the review server to inspect days visually:

rekon-server

Open http://localhost:8787 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.
  • Interactive Adjustments: Nudge attention hours, rename initiatives, attach issue keys, or exclude personal/unrelated items.
  • Publish Modal: Sync approved effort directly to GitHub Projects v2 custom fields or post GitLab /spend notes.

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"]

[publishers.github]
enabled = true
project_owner = "rekon-rs"
project_number = 1
post_comments = true

Architecture

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

Branding

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

License

Apache-2.0.