Logo Gating By Blind Restoration

Gating By Blind Restoration

Cộng đồng
abagames
gating-by-blind-restoration

Validates that one abstraction layer (a spec, design doc, schema, contract, or generated artifact) is self-sufficient by spawning an ISOLATED sub-agent that sees only that layer and must reconstruct the adjacent layer, returning pass / weak-pass / fail. Use when checking whether an extracted or generated artifact preserves enough structure to be rebuilt or used without the original source, and to prevent an author from grading their own output.

Tổng quan

Nhà phát hànhabagames
Kho mãagentic-gamedev-skills
Tên kỹ nănggating-by-blind-restoration
Sao
39
Bản fork
6
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được abagames công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Gating By Blind Restoration trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-by-blind-restoration
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/abagames/agentic-gamedev-skills.git /tmp/agentic-gamedev-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-gamedev-skills/.agents/skills/gating-by-blind-restoration .claude/skills/gating-by-blind-restoration
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Gating By Blind Restoration trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Gating By Blind Restoration ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Gating By Blind Restoration với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Gating by Blind Restoration

Purpose

Check that an abstraction layer carries enough recoverable structure by testing reconstruction under a strict information firewall — not by self-review. The gate's authority comes from two things: the grader never saw the source, and the author never grades their own work.

When to Use

  • After generating or extracting a spec, design doc, schema, API contract, or refactor plan.
  • Whenever you need to answer "is this artifact enough to rebuild the next layer from?"
  • Whenever the author of an artifact would otherwise judge their own work.

When Not to Use

  • Subjective quality (taste, "is it fun / elegant / well-written"). A firewall cannot decide that, and a confident-sounding grader will rubber-stamp it. Do not gate it.
  • When the original source is the intended input anyway, so no abstraction is being trusted.

Required Inputs

  • The single artifact text under test.
  • A definition of the adjacent layer to reconstruct (e.g. "an implementable structure", "a reproduction spec hypothesis", "the upstream requirements").

Procedure

  1. Pick the gate direction and prepare a withheld evaluation key:

    • Restoration — can the adjacent layer be recovered from this artifact alone?
    • Degeneration — does this generated artifact avoid a dominant exploit / collapse that a blind reconstructor would immediately find? List the load-bearing rules or exploit conditions that the restored result must preserve. The orchestrator keeps this key; the blind grader never sees it.
  2. Spawn an independent sub-agent, run by the orchestrator — never by the artifact's author, who has already seen the source and cannot judge blind. A freshly spawned grader that sees only the artifact text is a real, independent gate; its verdict is a true gate verdict — do not downgrade it to "self-audit." The degraded path applies only when no separate grader can be spawned at all and you must judge from the same context that produced or read the source: in that case fall back to an explicit self-audit and label the result as self-audit, not a gate verdict.

  3. Enforce the input firewall: pass ONLY the artifact text. Do NOT pass the source, the sibling artifact, runtime traces, observations, screenshots, or repository paths. A single leak makes the verdict worthless.

  4. Task it to reconstruct the adjacent layer and report: recovered structure, ambiguities, and the rules it treated as load-bearing. Do not ask it to speculate about matches versus an original it cannot see.

  5. Ask the counterfactual question. For each rule the grader recovered, ask what it would actually have implemented, not only what it believes the artifact says. A rule the grader can quote but would have implemented differently has not transmitted. This divergence is the gate's highest-value signal and a recoverability question alone cannot produce it.

  6. After the blind grader returns, have an evaluator compare its reconstruction and counterfactual implementation against the withheld key. This comparison happens after the firewall measurement; never send the key back to the grader. The evaluator may inspect the artifact to count occurrences and placement, but must not replace the grader's reported reconstruction with its own reading.

  7. Return two verdicts.

    Whole artifact:

    • pass — sufficient for the target restoration level.
    • weak-pass — core structure recoverable, exact details expected-missing.
    • fail — not enough recoverable structure; the artifact must be revised.

    Per load-bearing rule, assigned by the evaluator from blind evidence:

    • unmissable — the grader recovered it without prompting and its counterfactual implementation matches the withheld key.
    • findable — relevant text exists, but the grader missed it, reported ambiguity, or would have implemented the opposite.
    • absent — the grader did not recover it and the evaluator cannot locate an equivalent rule in the artifact.

    For findable, cite the misleading placement or emphasis that explains the transmission failure. For absent, cite the withheld-key item that was not recovered; do not pretend the blind grader could identify omitted content. Both are repair items even when the whole-artifact verdict is pass.

To wire gates into a multi-round generation/extraction pipeline (one-shot vs. find→fix→re-check, round caps, abandonment classification), load references/gate-loop-modes.md. For a single standalone check, steps 1–7 are enough.

Validation

The gate worked if the verdict is backed by concrete recovered/missing structure, not "looks fine": a fail must name a specific unrecoverable element or a specific dominant exploit; a pass must point at the structure it actually recovered. A per-rule verdict must trace the withheld-key item to the blind reconstruction and counterfactual answer.

Common Failure Modes

  • Firewall leak — source or sibling artifact slips into the gate input; the verdict no longer measures the artifact.
  • Self-grading — the author runs the gate; bias toward pass.
  • Gating taste — trying to firewall-test subjective quality instead of recoverability.
  • Verdict without evidence — a bare pass/fail with no recovered/missing structure named.
  • Stated but not transmitted — the artifact contains a rule, correctly and with its rationale, and the grader still would have built the opposite. Observed: a rule present once, in a subordinate clause following a more emphatic unconditional half, and absent from every section the document designated as a rule summary; the grader quoted it as recovered and named the opposite as what it would have implemented. Only step 5 surfaces this.

Output

Two verdicts — whole-artifact (pass / weak-pass / fail) and per-load-bearing-rule (unmissable / findable / absent) — plus a short report: recovered structure, ambiguities, the evaluator's key comparison, and the counterfactual answers from step 5.

When an artifact passes after repair, have it carry an explicit note naming which clauses are rules and must survive editing. The strongest reinforcements a repair produces tend to be commentary about the gate, which is the first thing a later editor strips as scaffolding — losing the repair without touching a single rule statement.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Gating By Blind Restoration làm được gì?

Validates that one abstraction layer (a spec, design doc, schema, contract, or generated artifact) is self-sufficient by spawning an ISOLATED sub-agent that sees only that layer and must reconstruct the adjacent layer, returning pass / weak-pass / fail. Use when checking whether an extracted or generated artifact preserves enough structure to be rebuilt or used without the original source, and to prevent an author from grading their own output.

Vì sao nên dùng Gating By Blind Restoration trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Gating By Blind Restoration là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Gating By Blind Restoration trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-by-blind-restoration. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Gating By Blind Restoration?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Gating By Blind Restoration với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Gating By Blind Restoration với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Gating By Blind Restoration có miễn phí không?

Có. Kỹ năng này được abagames phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇