Agent Skillsregenrek/codex-proofloop › proofloop-sol-luna

proofloop-sol-luna

GitHub

基于 Git 的测试蒸馏门禁流程,支持 Sol 实现与可选 Luna 只读审查。用于规范测试生命周期,确保临时测试在构建期间有效,并在硬化阶段前通过验证门禁,保障代码质量与测试完整性。

skills/proofloop-sol-luna/SKILL.md regenrek/codex-proofloop

触发场景

需要执行受限的 Sol 实现工作 要求在 BUILD 和 HARDEN 阶段之间进行严格的测试蒸馏和准入验证

安装

npx skills add regenrek/codex-proofloop --skill proofloop-sol-luna -g -y
更多选项

不安装直接使用

npx skills use regenrek/codex-proofloop@proofloop-sol-luna

指定 Agent (Claude Code)

npx skills add regenrek/codex-proofloop --skill proofloop-sol-luna -a claude-code -g -y

安装 repo 全部 skill

npx skills add regenrek/codex-proofloop --all -g -y

预览 repo 内 skill

npx skills add regenrek/codex-proofloop --list

SKILL.md

Frontmatter
{
    "name": "proofloop-sol-luna",
    "description": "Run bounded Sol implementation work with an enforceable Git-based test-distillation gate and an optional fresh read-only Luna review, without Herdr or a background watcher. Use when agent-generated tests should remain temporary during BUILD and require proof before permanent admission in HARDEN."
}

Proofloop: Sol and Luna

Keep Sol responsible for intake, architecture, the sole-writer patch, integration, and the final decision. Luna is optional and read-only. This variant runs directly in Codex and does not require an orchestrator, pane manager, watcher, daemon, or long-lived heartbeat.

Start from project policy

  1. Find the repository root and read every applicable AGENTS.md.

  2. Locate the project profile named there. If none exists, adapt assets/project-profile.template.json and the AGENTS.md template inside the project.

  3. Create one run contract from assets/run-contract.template.json. Keep paths project-relative and use one literal focused validation command.

  4. Validate both documents:

    python3 scripts/validate_config.py path/to/project-profile.json path/to/run-contract.json
    

Stop if policy, scope, ownership, or the source task is ambiguous. Never inspect credential contents or copy credentials into prompts, logs, contracts, or evidence.

Run the loop

  1. Validate the profile and run contract.
  2. Before the first edit, run python3 scripts/test_distillation_gate.py snapshot with absolute project, profile, and contract paths.
  3. Execute BUILD or HARDEN exactly as the contract declares.
  4. Run the literal focused validation command.
  5. Run test_distillation_gate.py settle with the same three paths.
  6. If luna_mode selects bounded-verifier, start one fresh read-only Luna review only after the candidate is frozen. If the host cannot provide that capability, stop and report it; never fake the review or replace it with a background watcher.
  7. Let Sol integrate the result and return one evidence-backed handoff.

The test lifecycle is BUILD -> ACCEPT -> HARDEN -> DISTILL -> PROMOTE OR DROP. Do not add tracked tests while implementation is still changing. Temporary probes belong only in the declared ephemeral directory and must be removed before settlement. Acceptance starts a new HARDEN contract and a new baseline; never switch phases inside one contract.

Production code is not subordinate to speculative tests. Classify a failed proposal as BUG, BAD_ORACLE, or LOW_VALUE before changing production code. Keep runtime changes, temporary validation, permanent tests, and documentation separable. Read references/testing.md for admission evidence and references/orchestration.md for the native run lifecycle.

Keep Luna bounded

Use Sol only by default. A selected Luna verifier receives only the frozen accepted diff, relevant existing tests, temporary candidates or findings, acceptance criteria, proposed admissions, and the explicit test budget. Luna may return CATCH, PROMOTE, MERGE, or DROP; it must not edit files, invent more edge cases, broaden the test plan, or delegate further. Sol owns the final decision.

Return one handoff

Report the task, source, phase, sole writer, files changed, focused validation result, gate verdict, admission decision, evidence paths, manual acceptance still required, and any stop condition. Do not claim subjective or manual quality without its human owner's acceptance.

版本历史

  • dc752ee 当前 2026-08-12 20:52

同 Skill 集合

skills/proofloop-herdr-sol-luna/SKILL.md
skills/proofloop-herdr-sol-luna-fable-planr/SKILL.md
skills/proofloop-herdr-sol-luna-fable/SKILL.md

元信息

文件数
0
版本
dc752ee
Hash
44ce0589
收录时间
2026-08-12 20:52

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 03:14
浙ICP备14020137号-1 $访客地图$