frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Give Claude a project map before it touches your code

https://github.com/n1cke1/winkers
2•n1cke1•1h ago

Comments

n1cke1•1h ago
I've been using Claude Code on a business task (~150 functions) and kept hitting the same problem: the agent would confidently refactor a function called from 12 places, or or merge code into files I'd rather keep untouched.

So I built Winkers — a tree-sitter based MCP server that gives the agent a structured project map in one call before it writes anything. map() → zones, hotspot functions, constraints (~500 tokens). Optional semantic layer (one Claude API call) adds business constraints and conventions that aren't visible from code structure alone — the "why" behind the architecture.

Early results are encouraging: 1. Haiku + map ≈ Sonnet without map, at 2-3x lower cost. The graph compensates for the weaker model's lack of exploration. 2. More context ≠ better results. Forcing the full function list (~9K tokens) performed worse than the focused map (~500 tokens). Constraints got lost in noise. 3. The real design problem isn't building the graph — it's finding the right balance between MCP strictness and agent autonomy.

There are several code graph MCP servers already (CodeGraphContext, codebase-memory-mcp). What I think is missing across all tools is the steering layer: how much context to give, when to give it, and when to let the agent figure things out on its own.

That balance determines two things: whether the code agents produce actually holds up over time, or quietly turns into a patchwork of brittle fixes that pass tests but resist any change.

n1cke1•1h ago
I've been using Claude Code on a business task (~150 functions) and kept hitting the same problem: the agent would confidently refactor a function called from 12 places, or merge code into files I'd rather keep untouched.

So I built Winkers — a tree-sitter based MCP server that gives the agent a structured project map in one call before it writes anything. map() → zones, hotspot functions, constraints (~500 tokens). Optional semantic layer (one Claude API call) adds business constraints and conventions that aren't visible from code structure alone — the "why" behind the architecture.

Early results are encouraging: 1. Haiku + map ≈ Sonnet without map, at 2-3x lower cost. The graph compensates for the weaker model's lack of exploration. 2. More context ≠ better results. Forcing the full function list (~9K tokens) performed worse than the focused map (~500 tokens). Constraints got lost in noise. 3. The real design problem isn't building the graph — it's finding the right balance between MCP strictness and agent autonomy.

There are several code graph MCP servers already (CodeGraphContext, codebase-memory-mcp).

To be clear — Winkers doesn't compete with CodeGraphContext or codebase-memory-mcp. What I think is missing across all tools is the steering layer: how much context to give, when to give it, and when to let the agent figure things out on its own. That balance determines two things: whether the code agents produce actually holds up over time, or quietly turns into a patchwork of brittle fixes that pass tests but resist any change.

Zooming Out: WebinarTV's Rampant Scraping of Online Meetings

https://cyberalberta.ca/zooming-out-webinartvs-rampant-scraping-of-online-meetings
1•toomuchtodo•1m ago•1 comments

Show HN: WordPress Next-Gen images with cross browser support

https://berqwp.com/how-berqwp-fluid-images-delivers-the-perfect-image-to-every-device/
1•hamzamairaj•3m ago•0 comments

Musk says SpaceX and Tesla to build advanced chip factories in Austin

https://www.reuters.com/business/autos-transportation/musk-says-spacex-tesla-build-advanced-chip-...
1•born2web•3m ago•0 comments

Fragile States Index

https://fragilestatesindex.org/
1•manx•3m ago•0 comments

Andy Weir on Writing the Hit Book Behind the Movie 'Project Hail Mary'

https://www.nytimes.com/2026/03/20/podcasts/andy-weir-hail-mary.html
1•pseudolus•4m ago•1 comments

The Engineer Who Tried to Put Age Verification into Linux

https://www.sambent.com/the-engineer-who-tried-to-put-age-verification-into-linux-5/
1•rjmunro•4m ago•0 comments

Deepfake X-Rays Fool Radiologists and AI

https://www.rsna.org/news/2026/march/chatgpt-generated-radiographs
1•geox•5m ago•0 comments

Telegram Outages Spike in Kremlin's Push for Digital Control

https://jamestown.org/telegram-outages-spike-in-kremlins-push-for-digital-control/
1•kome•5m ago•0 comments

Tango Therapy: How the Dance of Passion Is Helping Parkinson's Patients

https://www.nytimes.com/2026/03/24/health/tango-therapy-parkinsons.html
1•Brajeshwar•5m ago•0 comments

Designing a Test Runner for AI Agents

https://www.pureinference.com/insights/designing-a-test-runner-for-ai-agents
2•eagerpace•8m ago•1 comments

The Game of Terminal Maneuvers

https://www.ethanheilman.com/x/31/index.html
1•EthanHeilman•8m ago•0 comments

My boss won't let OpenClaw run SSH commands anymore – until I added this guard

https://github.com/yanbo92/ssh-guard
2•yanbo92•9m ago•0 comments

Tell HN: report@cisa.dhs.gov no longer operational

2•toomuchtodo•12m ago•0 comments

The more AI I used, the worse my code got

https://www.wespiser.com/posts/2026-03-22-AI-Expansion-vs-Software-Pruning.html
5•wespiser_2018•14m ago•4 comments

Databricks Announces Lakewatch: New Open, Agentic SIEM

https://www.databricks.com/blog/databricks-announces-lakewatch-new-open-agentic-siem
1•zX41ZdbW•14m ago•0 comments

Inceptionlabs AI SDK Provider

https://github.com/welidev/inception-ai-provider
1•weli•16m ago•0 comments

AGPLv3 argument against clean room (re)engineering

2•northlondoner•16m ago•0 comments

Don't Forget Your Superpower

https://superpath-weekly.beehiiv.com/p/don-t-forget-your-superpower
1•herbertl•16m ago•0 comments

VesselJS – A JavaScript library for conceptual ship design

https://github.com/shiplab/vesseljs
1•alumic•17m ago•0 comments

A tool that learns to write like you

https://toneswap.app
1•cammyjr•17m ago•0 comments

The bridge to wealth is being pulled up with AI

https://danielhomola.com/m%20&%20e/ai/your-bridge-to-wealth-is-being-pulled-up/
3•dankai•17m ago•2 comments

Einstellung Effect

https://en.wikipedia.org/wiki/Einstellung_effect
1•georgestrakhov•18m ago•1 comments

Revolut warns it risks backlash over support for energy-intensive AI and crypto

https://www.theguardian.com/business/2026/mar/24/revolut-ai-crypto-profits-us-banking-licence-uk
3•chrisjj•19m ago•1 comments

Slow Charging, Fast Charging, and Battery Swapping in Electric Truck Logistics

https://www.mdpi.com/2032-6653/17/3/112
1•PaulHoule•20m ago•0 comments

FCC bans import and sale of routers produced in a foreign country

https://www.fcc.gov/supplychain/coveredlist
1•fcjr•20m ago•1 comments

Today's Layoffs

https://www.epicgames.com/site/en-US/news/todays-layoffs
7•adrianhon•21m ago•2 comments

Show HN: BionicForms – Form builder with AI analysis, $49 one-time vs. $1k's/yr

https://bionicforms.com
1•bidwellm•21m ago•0 comments

Show HN: I made a map where you can meet AI characters in cafés and bars

https://hushmap.xyz
2•Bhagaban•21m ago•0 comments

Trivy Attacks

https://ramimac.me/trivy-teampcp/#phase-09
1•dheerajmp•22m ago•0 comments

Insight Partners scrubs post about Delve amid 'fake compliance' allegations

https://techcrunch.com/2026/03/23/insight-partners-scrubs-investment-post-amid-fake-compliance-al...
2•toomuchtodo•22m ago•1 comments