frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built Ponytrail, a local audit trail for AI coding-agent edits

https://github.com/0xroylee/ponytrail
21•1997roylee•1h ago

Comments

1997roylee•1h ago
Hi everyone, I built Ponytrail, a small CLI and bundled agent skill for making AI coding sessions easier to inspect and undo.

The problem I kept hitting: git diff shows what changed, but not why the agent changed it, what outcome it expected, what check it planned to run, or how to roll back one specific action. Final summaries are often too coarse, especially after a long coding session.

Ponytrail adds a small local trail around file mutations. Before an agent creates, edits, moves, deletes, formats, or generates files, it records a pre-change snapshot: action, purpose, reason, files, expected outcome, verification plan, rollback path

After the edit, it records a post-change snapshot with what changed, what checks ran, and the result.

Everything is stored locally under .pony-trail/ as JSONL, session trees, and small before/after file copies. It does not replace git. It is more like per-action intent and rollback context for agent work.

p1024k•1h ago
This project looks pretty interesting! Could you share 1-2 use cases? That would help people quickly understand what it does and get started.
altmanaltman•1h ago
Why does this project look interesting? Very sus comment from a new account
rootnod3•1h ago
And why does it sound like LLM output?
joaoreis81•1h ago
And what if the changes are remote?
vcryan•1h ago
My entire repo is an audit trail of AI coding-agent edits
giancarlostoro•15m ago
Not only that, but Claude can undo its own changes I just never use the feature because git has me covered...
benny_s•48m ago
Have you heard of git?
dwb•43m ago
I get enough of this with a pre/post tool hook that takes a jj snapshot and teaching the agent about `jj evolog`.

Are You Burning Tokens?

https://savetokens.netlify.app/
1•prengaraj•45s ago•0 comments

Constraining U.S. wind and solar deployment could cost an unnecessary $121B

https://pv-magazine-usa.com/2026/06/20/constraining-u-s-wind-and-solar-deployment-could-trigger-1...
1•epistasis•1m ago•0 comments

A public Sentry key is all it takes to hijack Claude Code, Cursor, and Codex

https://thenewstack.io/agentjacking-sentry-mcp-attack/
1•Brajeshwar•1m ago•0 comments

The most trusted code on Earth is being rewritten in Rust [video]

https://www.youtube.com/watch?v=Sntj4HmuykI
1•tcfhgj•2m ago•0 comments

Show HN: S3FileViewer – A lightweight browser interface to preview S3 files

https://github.com/cgopalan/s3fileviewer
1•cgopalan•2m ago•0 comments

Agent minimalism: what shipping OpenClaw in production taught us

https://autoclaw.sh/blog/agent-minimalism/
2•anuveyatsu•3m ago•0 comments

Super AI Agentic Android App (BYOK)

1•Jeff9James•4m ago•0 comments

Show HN: Building an Autonomous Drone with Codex – Hardware Phase

https://jakedecamp.com/engineering/autonomous-drone-phase-3-real-hardware/
1•silksowed•6m ago•0 comments

Xiaomi YU7 GT Completes the First Officially Timed Autonomous Lap at Nürburgring

https://nuerburgring.de/news/10-29-483-der-xiaomi-yu7-gt-absolviert-die-erste-offiziell-gemessene...
1•gainsurier•6m ago•0 comments

A.I. Doomaxxing Is Bad for Our Economy

https://www.nytimes.com/2026/06/22/opinion/ai-doom-jobs-economy.html
1•tysone•6m ago•0 comments

Update Your Secure Boot Cert Before It Expires

https://nochan.net/b/Internet-Crap/20260621-Update-Secure-Boot-Cert-Before-It-Expires/
1•Bender•6m ago•1 comments

Ask HN: How many hours a day do you genuinely spend using AI?

1•akashwadhwani35•6m ago•0 comments

Never compete when applying for jobs

https://xcancel.com/gabriel1/status/1898566138352820561
1•UltimateEdge•8m ago•0 comments

Show HN: Opus Magnum Bench -- Shape Rotation and Alchemical Engineering

https://opusmagnumbench.com/
1•ClassicRob•8m ago•0 comments

I Wrote the Book on Cloudflare's Developer Platform. Here's Why

https://blog.cds.co.uk/i-wrote-the-book-on-cloudflares-developer-platform-heres-why
1•wilsonfiifi•10m ago•0 comments

What Is A Programming Language? – Advent of Computing Episode 184

https://adventofcomputing.libsyn.com/episode-184-what-is-a-programming-language
1•matt_d•10m ago•0 comments

San Francisco is booming. Why is Oakland still slumping?

https://sfstandard.com/2026/06/22/san-francisco-booming-oakland-still-slumping/
1•mikhael•10m ago•0 comments

National Science Foundation slashes basic science to fund new tech initiative

https://www.science.org/content/article/exclusive-nsf-slashes-research-programs-support-new-tech-...
3•strangeloops85•11m ago•0 comments

Will the US Experience a Violent Upheaval in 2020? (2012)

https://www.livescience.com/22109-cycles-violence-2020.html
1•downbad_•11m ago•0 comments

Phlox: A full-featured AI platform you own

https://robert-mcdermott.github.io/phlox/
2•mcdermott•12m ago•0 comments

Everything you say CAN and WILL be used against you

https://idiallo.com/blog/the-right-to-remain-silent
4•garo-pro•15m ago•1 comments

AI Co-Founder for Solo Builders

https://taskachu.com
2•ndha•17m ago•1 comments

Baseten raised a $1.5B Series F and achieved a $13B valuation

https://www.baseten.co/blog/announcing-our-series-f/
3•kodablah•17m ago•0 comments

AI law firm wins UK court case for first time

https://www.ft.com/content/b4f8f589-6771-4df5-ac4d-cb15d94991fb
2•mmarian•18m ago•2 comments

Linear outage

https://linearstatus.com
1•alihashemi7•19m ago•0 comments

WhatsApp to be led by Indian startup founder as Will Cathcart steps back

https://www.bbc.com/news/articles/c8e2195k5j2o
2•LordAtlas•19m ago•0 comments

Surplus, an Incubator for Public Good

https://surplus.dev/
2•akrolsmir•19m ago•1 comments

The first ticking 'nuclear clocks' are here – what can they do?

https://www.nature.com/articles/d41586-026-01909-7
1•Brajeshwar•20m ago•0 comments

Enabling Claude Code to run code when its sandbox fails (windows only)

1•algoth1•21m ago•0 comments

Built social profiles for founders to make launches more personal

https://www.founder.best
3•jacksonnick•21m ago•0 comments