2026-11-26 15:47 UTC

Ctx links code lines to the agent sessions behind them

state: watchingheat: lowuncertainty: mediumrelevance: mediumagent-provenance coding-agents agent-observabilityCtx

What is this?

Ctx is a coding-agent history tool whose maintainers describe a git-blame-like feature: starting from a file, line range, commit, or PR, users can retrieve the agent session and tool call associated with the code, including its recorded decisions and assumptions. The project presents this as a way for agents and developers to recover implementation context; its documentation says attributions cite the original transcript and tool calls. The supplied evidence is chiefly project materials and maker posts, so it establishes the feature’s stated design, not independent validation of attribution accuracy or its benefits in practice.

Why it matters

Ctx’s agent-session blame feature addresses a growing gap in AI-assisted software work: ordinary Git history records code changes, but often not the agent’s reasoning or tool use. If its links are reliable and transcripts remain available, developers and agents could investigate why a change was made, what was tried, and what tests were recorded—useful for debugging and review. The supplied materials describe the design, not independent tests of attribution accuracy or evidence that it improves outcomes. The surrounding projects suggest broader interest in agent-work traceability, not proof that any one approach is becoming standard.

Current assessment

Ctx’s maintainers describe a local tool that can start from a file, line, commit, or PR and retrieve the associated agent session and tool call, with citations to transcript records. A later project page found in web results repeats this description. This is a concrete provenance feature, not a new coding model; its practical value depends on preserving and indexing transcripts and correctly mapping code to the session that changed it. The broader supplied evidence includes Casefile, which links task logs to commits; Gage, which scans Claude session records for issues; and Critic, which lets reviewers question the authoring agent. These are maker descriptions and show adjacent experimentation, not independent effectiveness studies. Transcript records may expose sensitive information, and the sources do not establish retention, access-control, or long-term reliability across team workflows. Worth tracking as a useful observability pattern for agent-written code, but adoption and measurable benefits remain uncertain.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 2017h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-03 14:29 (minted)⭐ origin echo-reconstructedDescribes a git-blame-like mechanism that surfaces the original agent session associated with committed code.
Ctx maintainers on github (echo) · attributed from hn.story.49550141 · published time unknown
—
09-03 14:09first on hacker news · published · lag ?Show HN: Instantly get the transcript from the agent that wrote any line of code
luca-ctx
—
09-03 14:09amplified on hacker newshn.story.49550141
luca-ctx
peak 5 · 1 comments · 10% of case engagement
09-04 14:16amplified on hacker newshn.story.49564994
lutzleonhardt
peak 1 · 0 comments · 2% of case engagement
09-04 16:13amplified on hacker newshn.story.49566640
gar1t
peak 4 · 2 comments · 10% of case engagement
09-10 18:15amplified on hacker newshn.story.49648068
frumza
peak 2 · 0 comments · 3% of case engagement
09-13 16:17amplified on hacker news 👑hn.story.49685642
dillonsmartdev
peak 19 · 6 comments · 42% of case engagement
09-16 14:46amplified on hacker newshn.story.49727859
luca-ctx
peak 3 · 2 comments · 8% of case engagement
2 more amplifiers in ainews.case_chain
09-03 14:21our radar first saw it · lag ?discovery anchor: hn.story.49550141—

Evidence (9) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Instantly get the transcript from the agent that wrote any line of codeluca-ctx51
🟧 echo.github ⭐Describes a git-blame-like mechanism that surfaces the original agent session associated with committed code.Ctx maintainers——
🟧 hnShow HN: Casefile – Git why for AI-assisted developmentlutzleonhardt10
🟧 hnShow HN: Gage – Rust based tool to scan Claude sessions for bugs, other issuesgar1t42
🟧 hnShow HN: Claude Code hooks that log every tool call, 124ms per callfrumza20
🟧 hnDocket – Per-commit evidence records for agent-written codedillonsmartdev196
🟧 hnShow HN: ctx – Git blame that returns the original agent transcriptluca-ctx32
🟧 hnShow HN: Critic – Review code with the agent that wrote itsnyy94
🟧 hnAn agent says "done." Which files did it test? Who reviewed the work?AsciiToHex10

Interpretation history

Decision trace