Skip to content

feat(TASK-0872): H-3 — HO patch 4 件の Human 適用(c3-prime 受理配線 + run 入口 Plan-first 化 + schema 新設)#895

Merged
s977043 merged 1 commit into
mainfrom
feat/task-0872-ho-apply
Jul 22, 2026
Merged

feat(TASK-0872): H-3 — HO patch 4 件の Human 適用(c3-prime 受理配線 + run 入口 Plan-first 化 + schema 新設)#895
s977043 merged 1 commit into
mainfrom
feat/task-0872-ho-apply

Conversation

@s977043

@s977043 s977043 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

概要

TASK-0872 PR-2 の HO スライス。Hardening Override 対象 4 ファイルへの適用は Human が対話実行し(HO 常時 block 遵守・AI は patch 生成 + sandbox 実適用テスト + 適用後検証)、承認記録を patches/ho-apply-approval.md に追記した。

Refs #872 / #887

変更内容

ファイル 内容
bin/plangate validate / exec preflight に _plangate_c3_dispatch(approval_kind 判別 → c3-prime は python3 strict JSON のみ・legacy c3.json 経路は byte 非変更
.claude/commands/ai-loop-workflow.md + plugin 対 run 入口を Plan-first(TASK-XXXX 必須)へ改訂(byte 同一・sync drift 0)
schemas/c3-prime.schema.json 新設(cross-field 制約込み: AUTO_APPROVED+reject 拒否等・additionalProperties:false)

検証(適用後実測)

  • 4 ファイルとも docs/working/TASK-0872/patches/ の完成形(sandbox 実適用テスト済み・正負 jsonschema 実測済み)と byte 一致
  • sync-plugin-plangate.sh dry-run drift 0
  • tests/run-tests.sh 411 passed / 0 failed・exit 0 — TA-55 HO 全鎖テストが SKIP→PASS(c3-prime 正常受理 / plan 改竄 stale reject / legacy 委譲 / 未知 approval_kind fail-closed / 手偽造 record reject)
  • legacy 経路の非退行: validate/exec とも exit 0(AC-11)

備考

🤖 Generated with Claude Code

…Plan-first 化 + schema 配置

- bin/plangate: validate/exec preflight に _plangate_c3_dispatch(c3-prime 受理・legacy 経路 byte 非変更)
- .claude/commands/ai-loop-workflow.md + plugin 対: run 入口 TASK-XXXX 必須化(byte 同一)
- schemas/c3-prime.schema.json: cross-field 制約込み新設
- 適用は Human 対話実行(HO 常時 block 遵守)・検証 411 passed/0 failed・承認記録は patches/ho-apply-approval.md

Refs #872 #887

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 00:36
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

Check PR Issue Link: WARN: no closing keyword found (expected one of: closes #N / fixes #N / resolves #N)

  • 推奨: PR 本文に closes #N / fixes #N / resolves #N を含めてください
  • 対象外の場合: PR に chore / documentation ラベルを付けるか、PR 本文に <!-- skip-issue-link-check --> を含めてください
  • 詳細: Issue #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants