frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Treedocs: Documentation that automatically checks for staleness

https://dandylyons.github.io/treedocs/
16•DandyLyons•1h ago

Comments

DandyLyons•1h ago
Hi HN,

I built treedocs, a CLI that shows a tree of your file structure, side-by-side with docs.

The idea is simple: your filesystem already tells you what exists, but not what each path is for. treedocs mirrors the file tree into a treedocs.yaml file and lets you define short descriptions, references, and links to files and folders. It can then render that back as a documented tree, detect drift when files move or disappear, and fail checks when descriptions are missing.

I originally wanted this for two related problems: 1. Helping humans acclimate to unfamiliar repositories faster. 2. Giving coding agents concise project context without forcing them to rediscover the repo structure over and over.

Some things it does: - treedocs init creates a treedocs.yaml - treedocs sync reconciles it with the filesystem - treedocs check catches stale entries and missing descriptions - treedocs explore implements progressive disclosure for efficient token usage. - Nested treedocs.yaml files act as documentation boundaries for delegated subtrees - The YAML format is backed by a public JSON Schema

I’d be interested in feedback on the file format, CLI ergonomics, and whether this kind of repo-level map is useful for your workflows.

gritzko•1h ago
The question is who maintains it. I think, LLM is the only practical option. In my agent rules, I tell it to maintain INDEX.md on each level. That takes 1 line of instruction and starting with an example file. Then, it self-maintains.
tekacs•56m ago
This is lovely! I'd done something similar in my own setup.

I'm curious what your experience has been with fork/merge – why a monolithic file rather than something more diffuse?

moralestapia•1h ago
Why is @DandyLyons' comment flagged and dead?

Like ... what's wrong with what he posted?

I've seen thousands of Show HNs here, for like a decade. Very similar to this.

What rule did he break?

tekacs•58m ago
(In fairness to this poster, DandyLyons' post was in fact dead when we got here – I used vouch on it.) Probably just weird things that happen when making your first post on HN if it's heuristically not quite right / a Show HN / wordy?
blahaj•54m ago
Probably none, just got into HN's spam filter. When you have enough points you can vouche for it and if enough people do it gets reinstated, which is exactly what happened.
add-sub-mul-div•49m ago
Being here with zero activity other than self promotion.
matneyx•43m ago
Maaan, this seems so great except it's MacOS only.

The Download: the future of chipmaking and Anthropic's government clash

https://www.technologyreview.com/2026/06/23/1139483/the-download-chipmaking-future-asml-ai-anthro...
1•joozio•54s ago•0 comments

Show HN: A word puzzle game based on Levenshtein distance

https://puzznest.com/levenshtein
1•puzznest•1m ago•0 comments

OpenUser: Self-hosted user-persona tester for AI coding agents

2•manalkaff•2m ago•0 comments

KCRW's all-music channel blending the collected talents and tastes

https://www.kcrw.com/shows/eclectic24/latest
1•momentmaker•2m ago•0 comments

Command-line tool to customize Spotify client

https://spicetify.app/
1•momentmaker•3m ago•0 comments

The Parable of Two Programmers

https://realmensch.org/2017/08/25/the-parable-of-the-two-programmers/
1•oooyay•3m ago•0 comments

Mark Zuckerberg directed meta to create a prediction markets app

https://www.nytimes.com/2026/06/23/technology/meta-prediction-markets-app.html
1•dgellow•3m ago•0 comments

The Exploit Doesn't Exist. You Can Still Prove It Works Against You

https://www.bleepingcomputer.com/news/security/the-exploit-doesnt-exist-you-can-still-prove-it-wo...
1•Brajeshwar•3m ago•0 comments

France records its hottest day ever

https://apnews.com/article/heat-wave-france-europe-climate-change-record-81c341900166135de6cbc0f4...
2•geox•5m ago•0 comments

A History of Menus Is a Menu of History

https://pudding.cool/2026/06/menu-story/
1•speckx•7m ago•0 comments

App Store Connect (Apple) is down

https://developer.apple.com/system-status/
2•steviee•7m ago•0 comments

How much is Composer 2.5 subsidized in Cursor?

https://www.codejam.info/2026/06/how-much-is-composer-2-5-subsidized-in-cursor.html
2•funkyval•8m ago•0 comments

Micron Stock Dives After Memory Chip Rivals SK Hynix

https://www.barrons.com/articles/kospi-micron-stock-sk-hynix-samsung-be416ca2
1•01-_-•9m ago•0 comments

San Diego Photologs from the 1970s

https://www.beautifulpublicdata.com/san-diego-photologs-from-the-1970s/
2•jonathanmkeegan•10m ago•0 comments

AI agent security needs a composition graph, not just an SBOM

https://openaca.dev/blog/your-agent-risk-is-in-the-composition/
1•vinodkone•11m ago•0 comments

F3

https://github.com/future-file-format/f3
4•tosh•12m ago•0 comments

Show HN: Made in Everywhere – a live map of companies and products

https://www.madeineverywhere.co/
1•leonagano•12m ago•0 comments

No True Scotsman

https://en.wikipedia.org/wiki/No_true_Scotsman
2•chistev•13m ago•0 comments

GDM: When AI agents meet [video]

https://www.youtube.com/watch?v=V04bm-3d6EQ
1•simonpure•14m ago•0 comments

Show HN: Your self, in every light - a local-first MCP self model for AI agents

https://github.com/almakit/alma
4•0set0set•15m ago•0 comments

World Cup 26 Goal Map

https://a-maherr.github.io/wc2026-goalmap/
5•jonbaer•17m ago•1 comments

Why the U.S. Uses Only Half of Its Grid Capacity

https://spectrum.ieee.org/united-states-power-grid-capacity
2•Brajeshwar•17m ago•0 comments

Scaling Rails for a Peak Load of 41M Requests/Hour

https://andyatkinson.com/how-aura-frames-scales-for-peak-load-ruby-on-rails
1•knappe•17m ago•0 comments

Why someone switched from Wiki.js to my Go wiki and started sponsoring it

https://leafwiki.com/blog/a-beer-a-go-binary-and-a-wiki/
2•perber•18m ago•0 comments

Backblaze Announces Five-Year Multi-Exabyte Agreement with CoreWeave

https://www.businesswire.com/news/home/20260622788628/en/Backblaze-Announces-Five-Year-Multi-Exab...
7•mangogogo•19m ago•0 comments

Netanyahu, Trump planned Iran strike far in advance, ran deception campaign

https://www.timesofisrael.com/report-netanyahu-trump-planned-iran-strike-far-in-advance-ran-decep...
7•like_any_other•19m ago•0 comments

Phase Bit Retention (Ion) 99.54%

https://z6.oooooooooo.se
1•mbinatorom•20m ago•0 comments

Illinois' Social Media Tax Is a Modern Stamp Act – and Just as Doomed

https://www.techdirt.com/2026/06/23/illinois-social-media-tax-is-a-modern-stamp-act-and-just-as-d...
1•hn_acker•21m ago•0 comments

Utah Is Testing Out AI Doctors–and Actual Doctors Aren't Happy About It

https://www.wsj.com/health/healthcare/ai-doctors-utah-374653c8
3•speckx•22m ago•0 comments

Does This Radio Host Know Everyone in Wales?

https://www.nytimes.com/2026/06/22/world/europe/elis-james-wales-radio.html
1•reaperducer•23m ago•0 comments