frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CodeLedger – deterministic context and guardrails for AI

https://codeledger.dev
1•ashmivante•1h ago
We’ve been working on a tool called CodeLedger to solve a problem we kept seeing with AI coding agents (Claude Code, Cursor, Codex):

They’re powerful, but on real codebases they: - read too much irrelevant code - edit outside the intended scope - get stuck in loops (fix → test → fail) - drift away from the task - introduce architectural issues that linters don’t catch

The root issue isn’t the model — it’s: - poor context selection - lack of execution guardrails - no visibility at team/org level

---

What CodeLedger does:

It sits between the developer and the agent and:

1) Gives the agent the right files first 2) Keeps the agent inside the task scope 3) Validates output against architecture + constraints

It works deterministically (no embeddings, no cloud, fully local).

---

Example:

Instead of an agent scanning 100–500 files, CodeLedger narrows it down to ~10–25 relevant files before the first edit :contentReference[oaicite:0]{index=0}

---

What we’re seeing so far:

- ~40% faster task completion - ~50% fewer iterations - significant reduction in token usage

---

Works with: Claude Code, Cursor, Codex, Gemini CLI

---

Repo + setup: https://github.com/codeledgerECF/codeledger

Quick start:

npm install -g @codeledger/cli cd your-project codeledger init codeledger activate --task "Fix null handling in user service"

---

Would love feedback from folks using AI coding tools on larger codebases.

Especially curious: - where agents break down for you today - whether context selection or guardrails are the bigger issue - what other issues are you seeing.

Unscale the Internet

https://www.ystrickler.com/unscale-the-internet/
1•YounesDz•1m ago•0 comments

Kennedy childhood vaccine overhaul stalled by judge

https://www.statnews.com/2026/03/16/kennedy-childhood-vaccine-changes-blocked-judge/
1•gmays•2m ago•0 comments

Launch an autonomous AI agent with sandboxed execution in 2 lines of code

https://amaiya.github.io/onprem/examples_agent.html
1•wiseprobe•2m ago•0 comments

Every Bracket

https://every-bracket.com
1•michaefe•2m ago•0 comments

Neighbors Say SF Tesla Supercharger Lot Has Become Urine Dumping Ground

https://www.sfgate.com/local/article/tesla-supercharger-lot-lombard-22080348.php
1•randycupertino•6m ago•0 comments

Reverse as the VibeVerse (why pivot, when you can punk)

https://attentionhorizon.world/
1•maieuticagent•6m ago•1 comments

Observation of the doubly charmed heavy proton Ξcc+

https://lhcb-outreach.web.cern.ch/2026/03/17/observation-of-the-doubly-charmed-heavy-proton-%CE%B...
1•nobody9999•8m ago•0 comments

The Pleasures of Poor Product Design

https://www.inconspicuous.info/p/the-pleasures-of-poor-product-design
1•NaOH•11m ago•0 comments

Can weight-loss pills replace injectables?

https://www.nature.com/articles/d41586-026-00856-7
1•y1n0•12m ago•0 comments

Market Claw

https://github.com/DSparkles/MarketClaw
1•sparksdobro•15m ago•0 comments

Frontier Models Removed from GitHub Copilot Student Plan

https://github.com/orgs/community/discussions/189268
1•kpapa05•16m ago•0 comments

U.S. Book Output Rose 32.5%, Topped Four Million in 2025

https://www.publishersweekly.com/pw/by-topic/industry-news/publisher-news/article/99943-book-outp...
2•ilamont•17m ago•0 comments

Why We're Joining TikTok

https://www.nationalreview.com/2026/03/why-were-joining-tiktok/
1•petethomas•18m ago•0 comments

A tale about fixing eBPF spinlock issues in the Linux kernel

https://rovarma.com/articles/a-tale-about-fixing-ebpf-spinlock-issues-in-the-linux-kernel/
2•y1n0•19m ago•0 comments

Attackers are exploiting AI faster than defenders can keep up, new report warns

https://cyberscoop.com/booz-allen-report-ai-helps-attackers-move-faster-than-current-defenses/
3•Gaishan•20m ago•0 comments

Meta Is Shutting Down Horizon Worlds on Meta Quest

https://www.wired.com/story/meta-is-shutting-down-horizon-worlds-on-meta-quest/
2•y1n0•21m ago•0 comments

UBI Is the Wrong Answer to the Right Problem

https://simontlbt.substack.com/p/why-ubi-is-the-wrong-answer-to-the
1•simontlbt•23m ago•0 comments

Duranium: A More Reliable PostmarketOS

https://postmarketos.org/blog/2026/03/17/introducing-duranium/
1•nikodunk•25m ago•0 comments

Trump Officials Weigh New $1B Deal to Stop Offshore Wind Farms

https://www.nytimes.com/2026/03/17/climate/offshore-wind-settlements-trump.html
2•chiffre01•27m ago•0 comments

Improving breast cancer screening workflows with machine learning

https://research.google/blog/improving-breast-cancer-screening-workflows-with-machine-learning/
1•brandonb•28m ago•0 comments

Krazam – Work Sext [video]

https://www.youtube.com/watch?v=nQKAfugfn7A
1•tart-lemonade•31m ago•0 comments

FAQs About the Public Debt

https://www.treasurydirect.gov/help-center/public-debt-faqs/
1•uticus•34m ago•0 comments

Software 2.0: Planning and Verifying a Greenfield Project

https://aaronstannard.com/software-2.0-case-study-textforge/
2•Aaronontheweb•34m ago•0 comments

Show HN: A local WebP/AVIF converter because I was tired of slow browser tools

https://ghostlyinc.com/en-us/tools/pixel-press/
1•ghostlyInc•38m ago•0 comments

Lobster Pitch: A YC Adventure

https://benmathes.github.io/lobster-pitch/index.html
1•simonpure•38m ago•0 comments

Show HN: A macOS job that resets your AI coding limits automatically

https://github.com/shnksi/optimize-ai-limits
1•shnksi•39m ago•0 comments

A digital resource for studying the graffiti of Herculaneum and Pompeii

https://ancientgraffiti.org/Graffiti/
1•thomassmith65•45m ago•0 comments

Maid in Canada: More Than You Wanted to Know

https://thesecondbestworld.substack.com/p/maid-in-canada-much-more-than-you
2•paulpauper•46m ago•1 comments

Firefox's cute and fierce new mascot wants to protect you from the internet

https://www.fastcompany.com/91509645/firefoxs-new-mascot-wants-to-protect-you-from-the-internet
1•stalfosknight•47m ago•0 comments

Self Hosted Website Analytics with SQLite

https://github.com/kaichaosun/swa
1•kaichao•49m ago•0 comments