Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/plan-go/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: plan-go
description: "Execute a registered aligned task plan through an independent executor/evaluator feedback loop and finish with reproducible evidence."
---

# Go!
# plan-go

## Overview

Expand Down
3 changes: 1 addition & 2 deletions .agents/skills/plan-go/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
interface:
display_name: "Go!"
display_name: "plan-go"
short_description: "按 aligned plan 执行 executor/evaluator 闭环并留证"
default_prompt: "Use $plan-go to execute the registered aligned plan through an independent executor/evaluator fix loop and finish with reproducible evidence."

2 changes: 1 addition & 1 deletion .agents/skills/plan-go/scripts/loop_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if ! [[ "$rounds" =~ ^[1-9][0-9]*$ ]]; then
fi

cat <<EOF
# Go! Execution Spec
# plan-go Execution Spec

## Objective
$goal
Expand Down
6 changes: 1 addition & 5 deletions .agents/skills/plan-go/tests/test_plan_go.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
CLI = ROOT / "scripts" / "loop-evidence"
SPEC = ROOT / "scripts" / "loop_spec.sh"
SKILL = ROOT / "SKILL.md"
OPENAI_YAML = ROOT / "agents" / "openai.yaml"
LICENSE = ROOT / "LICENSE"
TASK_ID = "example.plan-go-validation"
PLAN_PATH = "docs/exec-plans/active/example.plan-go-validation.md"
Expand Down Expand Up @@ -188,9 +187,8 @@ def complete_evidence():


class PlanGoContractTests(unittest.TestCase):
def test_skill_contract_and_ui_metadata(self):
def test_skill_execution_contract(self):
skill = SKILL.read_text(encoding="utf-8")
metadata = OPENAI_YAML.read_text(encoding="utf-8")
self.assertIn("name: plan-go", skill)
self.assertIn("aligned", skill.lower())
self.assertIn("registered", skill.lower())
Expand All @@ -201,8 +199,6 @@ def test_skill_contract_and_ui_metadata(self):
self.assertIn("out-of-scope findings as follow-up work", skill.lower())
self.assertIn("once the registered acceptance conditions are satisfied, stop", skill.lower())
self.assertNotIn("explicitly accepted", skill.lower())
self.assertIn('display_name: "Go!"', metadata)
self.assertIn("$plan-go", metadata)

def test_adapted_source_retains_mit_notice(self):
notice = LICENSE.read_text(encoding="utf-8")
Expand Down