Show HN:AI 控制框架 – 阻止 AI 編碼助手交付虛假程式碼

Show HN:AI 控制框架 – 阻止 AI 編碼助手交付虛假程式碼

Hacker News·

Hacker News 上推出了一個新的「AI 控制框架」,旨在防止 Claude Code、Cursor 和 Copilot 等 AI 編碼助手生成不可部署或「虛假」的程式碼。該框架包含 DRS 評分、合約凍結和 30 分鐘模擬超時等功能,以提高程式碼的可靠性。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

Stop shipping non-deployable AI code. Framework with DRS scoring, contract freezing, and 30-min mock timeout. Works with Claude Code, Cursor, Copilot.

License

Uh oh!

There was an error while loading. Please reload this page.

sgharlow/ai-control-framework

Folders and files

Latest commit

History

Repository files navigation

AI Control Framework

Stop wasting time on non-deployable AI-generated code. Ship with confidence.

Image

Image

Image

Image

95% of generative AI pilots fail to move to production — MIT/Fortune, 2025

42% of AI projects were abandoned in 2025 (up from 17% in 2024) — S&P Global

This framework exists because AI coding tools are powerful but undisciplined. Without guardrails, they produce impressive demos that never ship.

Image

Run one command. Get a deployability score. Know exactly what to fix.

The Problem

AI coding assistants (Claude Code, Cursor, Copilot) fail in predictable ways:

This framework addresses 13 specific failure patterns with validated solutions.

The Solution

Results

Quick Start (2 Minutes)

1. Clone and Install

2. Initialize Your Project

3. Start Every Session With

How It Works

Contract Freezing

Mock Timeout

DRS Calculation (13 Components)

What's Included

Session Commands

Configuration

CI/CD Integration

FAQ

Q: What if I need more than 5 files?
Deploy what you have (DRS 85+), then start a fresh session.

Q: Can I override the mock timeout?
No. This is intentional. 30 minutes forces real implementation.

Q: What if contracts must change?
Run approve-contract-change.sh with justification. Creates audit trail.

Q: Does this work with all AI assistants?
Yes, if they can read project files. Optimized for Claude Code.

Version History

Roadmap: Pro Features (Coming Soon)

We're exploring a hosted dashboard for teams. Planned features:

Interested? Join the discussion and tell us what features matter most to you.

The core framework will always be free and open source.

Contributing

See CONTRIBUTING.md.

Priority areas: language-specific patterns, CI/CD integrations, success stories.

License

MIT License - Use freely in personal and commercial projects.

Support

Without this framework: 70% of AI coding time wasted on non-deployable output.

With this framework: Ship production code in hours, not days.

Stop hoping AI code will work. Start knowing it will deploy.

About

Stop shipping non-deployable AI code. Framework with DRS scoring, contract freezing, and 30-min mock timeout. Works with Claude Code, Cursor, Copilot.

Topics

Resources

License

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

  1

Packages

  0

Contributors

  2

Uh oh!

There was an error while loading. Please reload this page.

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:AI Code Guard – AI 生成程式碼的安全掃描器

    3 個月前

  2. 展示 HN:AI 編碼工具包。用於可靠 AI 編碼的低開銷工作流程

    3 個月前

  3. Show HN:CodeSyncer – 將 AI 編碼上下文儲存在程式碼註解中

    3 個月前

  4. Show HN:AI 編碼工具基準測試 – 開發者的實際體驗

    4 個月前

  5. Show HN:BlueMouse – 具備 17 層驗證的 AI 代碼生成器

    3 個月前