frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Typed Natural Language – A better plan mode with workflow for coding

https://github.com/janaraj/tnl
1•janaraj•1h ago
Plan mode in Claude Code / Codex works, for one session. Next session, your agent re-reads source and re-derives the same decisions you already made. TNL (Typed Natural Language) is that same review-before-code discipline, but persistent: a short English contract with a fixed schema (paths, behaviors with MUST/SHOULD/MAY/[semantic], non-goals), proposed by the agent, approved by you, implemented against, saved on disk, and read by every future session.

It's not a new agent or tool, it slots into whatever you already use. npx typed-nl init adds a workflow stanza to your CLAUDE.md / AGENTS.md / GEMINI.md, scaffolds a tnl/ directory, and optionally wires a PreToolUse hook and MCP server. The minimum product is a stanza + a folder. Hooks, MCP, and tnl verify (CI gate for path and test-binding integrity) are optional layers.

We ran a controlled A/B on an existing 16KLOC Python codebase, event-driven triggers, a 35-scenario behavioural matrix, deliberately ambiguous prompt. Both Baseline and TNL conditions got the same coding discipline in their instruction file; Same agent, same model, same base commit.

Results:

  Agent                   TNL     Baseline   Gap
  Claude Opus 4.7 (R1)    35/35   29/35      +6
  Claude Opus 4.7 (R2)    31/35   27/35      +4
  Claude Opus 4.7 (R3)    30/35   25/35      +5
  Codex GPT-5.4 (R1)      32/35   26/35      +6
  Codex GPT-5.4 (R2)      31/35   26/35      +5
No overlap: TNL's lowest paired cell is 86%, baseline's highest is 83%.

Other signals:

Follow-up work: on round-2 tasks in the same worktrees, TNL agents edited the existing contract (4/4 samples); baseline re-read source. Caveats: small n, LLM sessions are noisy, and we built the tool. Every script, prompt, raw JSON, and session transcript is committed.

We dogfooded it, every feature of the tool itself has its own TNL in tnl/.

Install: npx typed-nl init Repo: https://github.com/janaraj/tnl npm: https://www.npmjs.com/package/typed-nl

Happy to answer questions, especially from people who've tried plan-mode workflows and want to know where this differs.

The (other) problem with automatic conversion of free software to proprietary

https://pluralistic.net/2026/04/23/poison-pill/
1•hn_acker•1m ago•1 comments

Show HN: Run coding agents in microVM sandboxes instead of your host machine

https://github.com/superhq-ai/superhq
2•phoenixranger•1m ago•0 comments

My phone replaced a brass plug

https://drobinin.com/posts/my-phone-replaced-a-brass-plug/
2•valzevul•2m ago•0 comments

AI is the new Oracle of Delphi. That's bad news

https://www.economist.com/by-invitation/2026/04/21/ai-is-the-new-oracle-of-delphi-thats-bad-news
1•edward•2m ago•0 comments

Open Source SaaS Is Dead; Long Live Open Source

https://goauthentik.io/blog/2026-04-22-open-source-saas-is-dead/
2•fheisler•4m ago•0 comments

A backup MX will get accessed by various sorts of people

https://utcc.utoronto.ca/~cks/space/blog/spam/BackupMXGetsAccessed
1•speckx•5m ago•0 comments

HelloESP: A public website hosted on an ESP32

https://github.com/Tech1k/helloesp
1•mono-bob•7m ago•1 comments

Incident with Multple GitHub Services

https://www.githubstatus.com/incidents/myrbk7jvvs6p
1•bwannasek•7m ago•0 comments

Where the Sweetest Margins Live in Jensen's 5-Layer Cake

https://thegeneralpartnership.substack.com/p/where-the-sweetest-margins-live-in
1•zpj5005•11m ago•0 comments

The $150 Train to a $2k Seat: The World Cup of Price Shock

https://www.wsj.com/sports/soccer/world-cup-train-metlife-stadium-nj-transit-8ed6d478
3•rguiscard•11m ago•0 comments

Supreme Court arguments make it clear that FCC fines are "nonbinding"

https://arstechnica.com/tech-policy/2026/04/supreme-court-arguments-make-it-clear-that-fcc-fines-...
1•hn_acker•11m ago•1 comments

Book on building your own package manager in Rust

https://prefix-dev.github.io/rattler-book/introduction/
2•droelf•11m ago•0 comments

A good AGENTS.md is a model upgrade. A bad one is worse than no docs at all

https://www.augmentcode.com/blog/how-to-write-good-agents-dot-md-files
1•digitallogic•12m ago•0 comments

Bikes keep Honda afloat, yet even that business is under pressure

https://www.japantimes.co.jp/business/2026/03/26/companies/honda-bike-business-under-pressure/
1•PaulHoule•12m ago•0 comments

The Origins of GPU Computing

https://cacm.acm.org/federal-funding-of-academic-research/the-origins-of-gpu-computing/
1•yarapavan•12m ago•0 comments

Gluon&Linear Layouts Deep-Dive:Tile-Based GPU Programming with Low-Level Control [video]

https://www.youtube.com/watch?v=oYs_qtuk2Pg
1•matt_d•12m ago•0 comments

China shipped a record 68 GW of solar in March – here's why it matters

https://electrek.co/2026/04/22/china-shipped-a-record-68-gw-of-solar-in-march-heres-why-it-matters/
2•xbmcuser•14m ago•1 comments

870 EVO SATA 2.5 inch 2TB SSD

https://www.samsung.com/us/memory-storage/sata-ssd/870-evo-sata-2-5-ssd-2tb-sku-mz-77e2t0b-am/
1•paulnpace•14m ago•0 comments

NCSC: Leave passwords in the past – passkeys are the future

https://www.ncsc.gov.uk/news/ncsc-leave-passwords-in-the-past-passkeys-are-the-future
1•DamonHD•14m ago•0 comments

Microsoft Vibing – capturing screenshots and voice samples without governance

https://doublepulsar.com/microsoft-vibing-capturing-screenshots-and-voice-samples-without-governa...
2•el_duderino•15m ago•0 comments

Wading Through AI (Casey Muratori and Demetri Spanos)

https://www.youtube.com/playlist?list=PLEMXAbCVnmY6U_pA-7GKuP9xiv9utLaP4
1•euthymiclabs•15m ago•0 comments

Open Source and the Iceberg Theory

https://queue.acm.org/detail.cfm?id=3799738
1•yarapavan•15m ago•0 comments

Anthropic's growing pains mount ahead of OpenAI showdown

https://www.axios.com/2026/04/23/anthropic-openai-showdown
1•1vuio0pswjnm7•18m ago•0 comments

30 Days Running ChatGPT Plus, Claude Pro, and Google AI Pro in Parallel

https://virtualuncle.com/chatgpt-vs-claude-vs-gemini/
5•Oak85•19m ago•1 comments

US Army announces new Combat Field Test to enhance Soldier readiness

https://www.army.mil/article/291880/us_army_announces_new_combat_field_test_to_enhance_soldier_re...
2•rawgabbit•20m ago•0 comments

Is Claude Code going to cost $100/month? Probably not–it's all confusing

https://simonwillison.net/2026/Apr/22/claude-code-confusion/
2•birdculture•21m ago•0 comments

Using an AI agent to navigate an undocumented Kubernetes repo

https://teotti.com/using-an-ai-agent-to-navigate-an-undocumented-kubernetes-repo/
1•speckx•22m ago•0 comments

.genome: a genome file format designed for AI (Apache-2.0)

https://genome.computer/research/introducing-dot-genome
1•superficialdave•23m ago•0 comments

If America's So Rich, How'd It Get So Sad?

https://www.derekthompson.org/p/if-americas-so-rich-howd-it-get-so
39•momentmaker•24m ago•26 comments

Why prediction markets are a sure sign that our civilisation is in decay

https://www.joanwestenberg.com/why-prediction-markets-are-a-sure-sign-that-our-civilisation-is-in...
4•alcazar•26m ago•0 comments