Skip to content

Commit 3b0bf7f

Browse files
committed
fix: resolve CI failures — stale doc refs, worktree gitlinks, codex hook permission
1 parent 61c1823 commit 3b0bf7f

19 files changed

Lines changed: 24 additions & 872 deletions

.claude/commands/vibeguard/check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ argument-hint: "[project_dir]"
126126
127127
**Reference**
128128
- VibeGuard 守卫脚本:`vibeguard/guards/`
129-
- VibeGuard 合规检查:`vibeguard/scripts/verify/compliance_check.sh`
129+
- VibeGuard 合规检查:`scripts/verify/compliance_check.sh`
130130
- 配合 `/vibeguard:preflight` 使用效果最佳
131131
<!-- VIBEGUARD:CHECK:END -->

.claude/commands/vibeguard/exec-plan.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,4 @@ tags: [vibeguard, execplan, long-horizon, planning]
133133
- ExecPlan 模板:`workflows/plan-flow/references/execplan-template.md`
134134
- 集成说明:`workflows/plan-flow/references/execplan-integration.md`
135135
- Plan-flow 步骤格式:`workflows/plan-flow/references/plan-template.md`
136-
- OpenAI Harness 参考:`docs/reference/harness-audit-report.md`
137136
<!-- VIBEGUARD:EXEC-PLAN:END -->

.claude/commands/vibeguard/learn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,6 @@ argument-hint: "<错误描述 | 'extract' 提取经验 | 空=自动判断>"
352352
- Hook 脚本模板:`vibeguard/hooks/`
353353
- 规则文件:`vibeguard/rules/`
354354
- 规则索引:`vibeguard/claude-md/vibeguard-rules.md`
355-
- Skill 模板:`vibeguard/templates/skill-template.md`
355+
- Skill 模板:`templates/skill-template.md`
356356
- 学术参考:Voyager (skill libraries), CASCADE (meta-skills), Reflexion (self-reflection)
357357
<!-- VIBEGUARD:LEARN:END -->

.claude/commands/vibeguard/preflight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ tags: [vibeguard, preflight, constraints, prevention]
169169
**Reference**
170170
- VibeGuard 守卫脚本:`vibeguard/guards/`
171171
- VibeGuard 规则:`vibeguard/rules/`
172-
- VibeGuard 七层防幻觉框架:`vibeguard/docs/spec.md`
172+
- VibeGuard 七层防幻觉框架:`docs/how/learning-skill-generation.md`
173173
<!-- VIBEGUARD:PREFLIGHT:END -->

.claude/worktrees/agent-a11806a0

Lines changed: 0 additions & 1 deletion
This file was deleted.

.claude/worktrees/agent-afebcf98

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ __pycache__/
66
*~
77
node_modules/
88
.vibeguard/worktrees/
9+
.claude/worktrees/

.vibeguard-doc-paths-allowlist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,17 @@ vibeguard/rules/security.md
1919
vibeguard/rules/universal.md
2020
vibeguard/scripts/compliance_check.sh
2121
vibeguard/spec.md
22+
23+
# CHANGELOG historical references (files existed at time of release)
24+
scripts/verify/verify-package-contents.sh
25+
hooks/post-guard-check.sh
26+
scripts/ci/validate-wiring-contract.sh
27+
scripts/ci/validate-config-contract.sh
28+
29+
# Skill command references with vibeguard/ prefix (resolved at runtime)
30+
vibeguard/guards/
31+
vibeguard/hooks/
32+
vibeguard/rules/
33+
vibeguard/templates/skill-template.md
34+
vibeguard/docs/spec.md
35+
vibeguard/scripts/verify/compliance_check.sh

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ fi
347347
For guards that should run automatically, register them in **all** of the following locations:
348348

349349
- **README guard table** — add a row with the script path (`guards/<language>/check_<rule_slug>.sh`) to the guard table in `README.md`
350-
- **Wiring contract** — run `scripts/ci/validate-wiring-contract.sh` to verify your additions; note that this script currently validates **Rust guards only**. For Go, Python, and TypeScript guards, verify the README guard table manually before submitting your PR.
350+
- **CI validation** — run `scripts/ci/validate-guards.sh` to verify your additions; for Go, Python, and TypeScript guards, verify the README guard table manually before submitting your PR.
351351

352352
### Step 4: Write Regression Tests
353353

docs/README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ VibeGuard 完整实现了 OpenAI Harness Engineering 的 5 条 Golden Principles
145145
可观测栈让 AI 从数据发现问题:
146146

147147
- `hooks/log.sh` — 每次操作记录时间戳、耗时(ms)、agent 类型、session ID
148-
- `scripts/metrics-exporter.sh` — 输出 Prometheus 格式指标,支持 Pushgateway
148+
- `scripts/metrics/metrics-exporter.sh` — 输出 Prometheus 格式指标,支持 Pushgateway
149149
- `templates/alerting-rules.yaml` — 4 条告警规则(违规率、Hook 超时、不活跃、Block 突增)
150150
- `/vibeguard:stats` — Hook 触发统计分析
151151

0 commit comments

Comments
 (0)