frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

OPC Workflow – Three Markdown files that enforce discipline on AI coding tools

1•yoyayoyayoya•1h ago
I've been using Claude Code and Cursor for several months on a real project. The tools are impressive, but I kept running into the same failure modes:

1. Long sessions cause context drift — the AI gradually ignores the original design 2. The AI writes fake tests — empty assertions, mocking the thing being tested 3. No research phase — the AI guesses how a framework works instead of reading the docs

OPC Workflow is my fix: three markdown files you put in your project and trigger as slash commands (/plan_sprint, /sprint, /audit).

The core mechanic is isolated sessions: - Planning happens in session A, then you close it - Development happens in session B, then you close it - Auditing happens in session C with zero knowledge of session B

The audit is the part I'm most proud of. It runs mutation testing — deliberately breaking each core function to verify the tests actually catch it. In my project, it found a module that directly instantiated components, bypassing the agent registry entirely. Security boundaries, tool injection, and the memory system were all silently failing. I had written both the code AND the tests. Confirmation bias is a real problem.

Real numbers: 7 sprints, 459 tests, 100% mutation capture rate, 1 critical bug found.

It works with Claude Code, Cursor, Kiro, and Antigravity. One-line install for mac/linux:

  bash <(curl -sSL https://raw.githubusercontent.com/yoyayoyayoya/opc-workflow/main/install.sh)
And for Windows PowerShell:

  iex (iwr -useb 'https://raw.githubusercontent.com/yoyayoyayoya/opc-workflow/main/install.ps1').Content
Open to feedback, especially from people who've found other failure modes with AI coding tools.

https://github.com/yoyayoyayoya/opc-workflow

The Strait of Hormuz is now open

https://www.cnn.com/2026/04/17/investing/oil-strait-hormuz-iran
1•ricberw•24s ago•0 comments

AI Tool Blindness

https://www.wespiser.com/posts/2026-04-17-ai-tool-blindness.html
1•wespiser_2018•33s ago•1 comments

Solo founders and indie hackers should have a backup plan

https://alcazarsec.com/deadmanswitch/use-cases/solo-founders
1•alcazar•1m ago•0 comments

Two US citizens sentenced for running North Korean laptop farms

https://www.tomshardware.com/tech-industry/two-us-citizens-get-combined-18-years-in-prison-for-ru...
1•drak0n1c•1m ago•0 comments

Stop Killing Games at the European Parliament Full Hearing [video]

https://www.youtube.com/watch?v=QXdmoeaYZ9Y
1•weli•1m ago•0 comments

Show HN: Using an AI agent to refine a ML model for Zephyr RTOS

https://rufilla.com/the-mlforge-proof-of-concept/
1•OOHehir•2m ago•0 comments

Cloudflare: The Agent Readiness score. Is your site agent-ready?

https://blog.cloudflare.com/agent-readiness/
1•kol3x•3m ago•1 comments

Consider sending a list of everything you did to your coworkers everyday

https://aelerinya.substack.com/p/consider-sending-a-list-of-everything
1•surprisetalk•3m ago•0 comments

Scientists Develop "Molecular Scissors" Alternative to Cas9

https://humanprogress.org/scientists-develop-molecular-scissors-alternative-to-cas9/
1•surprisetalk•3m ago•0 comments

Rejoice: A concatenative multiset language built on Fractran-like primitives

https://wiki.xxiivv.com/site/rejoice
1•surprisetalk•3m ago•0 comments

Why Amazon Is Buying Globalstar–and What It Means for Your iPhone

https://www.wired.com/story/why-amazon-is-buying-globalstar-and-what-it-means-for-your-iphone/
1•smurda•3m ago•0 comments

Chinese fabs import US chipmaking equipment via Singapore and Malaysia

https://www.tomshardware.com/tech-industry/chinese-chip-tool-makers-booked-record-2025-revenues
1•speckx•4m ago•0 comments

How should you change your life if we are being watched by alien drone probes?

https://marginalrevolution.com/marginalrevolution/2026/04/how-should-you-change-your-life-decisio...
1•surprisetalk•5m ago•1 comments

Distill MCP – Turn your reading queue into a podcast, via Claude Code MCP

https://github.com/davidlbatey/distill_mcp
2•davidlbatey•6m ago•1 comments

Is 1 Nit Enough? – Phone Minimum Display Brightness

https://www.lttlabs.com/articles/2026/04/16/phone-minimum-display-brightness
1•LabsLucas•7m ago•0 comments

Linux 7.1 Crypto Code Rework Enables More Optimizations by Default

https://www.phoronix.com/news/Linux-7.1-Crypto
2•Brajeshwar•8m ago•0 comments

What Is Infrastructure from Code?

https://encore.dev/blog/what-is-infrastructure-from-code
2•andout_•9m ago•1 comments

A third of Americans don't drive. So why is our transportation so car-centric?

https://yaleclimateconnections.org/2025/01/american-transportation-revolves-around-cars-many-amer...
3•doener•9m ago•0 comments

Teaching a Model to Code

https://rig.ai/blog/teaching-a-model-to-code
3•adam_patarino•9m ago•1 comments

Replaced Official Release Date Trailer [video]

https://www.youtube.com/watch?v=fuUo7_VaboE
2•doener•11m ago•0 comments

Anthropic Quadruples London Office Amid US Regulatory Tensions

https://www.techbuzz.ai/articles/anthropic-quadruples-london-office-amid-us-tensions
3•gaurangt•13m ago•0 comments

White House Investigating Wave of Missing or Dead Scientists

https://www.newsweek.com/white-house-investigating-wave-mystery-dead-scientists-11836410
3•tejohnso•14m ago•0 comments

High Amplitude Disagreeableness – Stay SaaSy

https://blog.staysaasy.com/p/high-amplitude-disagreeableness
2•kiyanwang•14m ago•0 comments

Reflections on Trusting Trust [pdf]

https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf
2•throwpoaster•15m ago•1 comments

Twilio Account Hacked

2•kinj28•15m ago•0 comments

Show HN: Use real handwriting for messages and forums (Write Me, Maybe)

https://writememaybe.com/
2•blemblemblam•16m ago•1 comments

WorldSeed – define a world in YAML, let AI agents live in it

https://github.com/AIScientists-Dev/WorldSeed
2•jay_morphmind•17m ago•0 comments

Great Docs for Python Project Documentation

https://opensource.posit.co/blog/2026-04-15_great-docs-introduction/
2•richmeister•18m ago•0 comments

PostgreSQL MVCC, Byte by Byte

https://boringsql.com/posts/postgresql-mvcc-byte-by-byte/
3•radimm•18m ago•0 comments

Show HN: Noodlist – Letterboxd for Instant Ramen

https://noodl.ist/
2•mkdirpepper•19m ago•0 comments