chore(release): v1.0.0-alpha.1#4
Merged
Merged
Conversation
permissionMode 別バケット集計 (#3) を含む alpha リリース。 旧 alpha.0 と state.json は互換(byDate を読めば従来通り動作)。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
akihidem
added a commit
that referenced
this pull request
Jul 2, 2026
…-priming cogsync 本体 §8.8 命題4(ハンドオフ閾値則)=#4、§8.2 命題2/§9 E2(アンカー・プライミング)=#5。 凍結仕様: docs/BRIEF-handoff-priming.md。どちらも助言のみ(AI を呼ばない・state 不変・exit 0)。 #4 閾値則ハンドオフ: - coach/handoff_rule.ts: evaluateHandoffThreshold(純関数)。移す⟺ delayCost·(τ−t) > h+(1−q')·v。 境界(等号)は wait(保守)。過去 reset は τ=0(窓が新鮮=wait)。パラメータ防御クランプ - CLI `cogsync should-i-handoff [--value N] [--json]`、MCP tool should_i_handoff - config: handoffDelayCostPerMin(1.0)/handoffReconstructCost(20=h)/handoffSecondaryQuality(0.9=q')/ handoffDefaultTaskValue(50) #5 プライミング提案: - coach/priming.ts: evaluatePriming(純関数)。**アクティブな 5h 窓は ping で前倒しリセット できない**(ping は現行窓を消費するだけ)という力学に忠実。アクティブ×消費済み×deep 後リセットは wait_for_reset(リセット待ち/低予算受け入れ)、期限切れ窓は no_priming_needed(次の発話が新窓)。 窓の再タイミング(二重バースト)は将来の deep 開始時刻が要るため v1 非スコープ - CLI `cogsync suggest-priming [--deep-duration N] [--json]`、MCP tool suggest_priming - config: primeIfUsedPct(50)/primeDefaultDeepDurationMin(120) 検品: builder=Opus→L0 163 テスト緑+typecheck+CLI 6 シナリオ実機スモーク→codex review 1round (**High=アクティブ窓に ping で新窓が開く前提の逆効果助言・過去 reset の null 誤判定**を裁定・ prime_now 廃止で力学訂正)→codex 2round 目は使用上限のため validator 代替で VERDICT: PASS (High 2件の修正確認・命題4 数式・クランプ・境界を敵対検証) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
なぜ
直前にマージした #3(permissionMode 別バケット集計)を含めた alpha 版を npm に流したい。CLI の version 文字列が古いままだと
cogsync --versionの表示と実装機能が乖離するため、リリース commit を分けて流す。何を
package.json/src/index.ts/src/mcp/server.tsの version を1.0.0-alpha.0→1.0.0-alpha.1CHANGELOG.mdに v1.0.0-alpha.1 セクション(permissionMode バケット集計の Added / Changed)を追加設計判断
1.0.0-alpha.1で patch 相当の bump。compat に影響しないため。byDateBucketsを並走させただけなので旧クライアントも壊れない(feat(deepwork): permissionMode 別バケットで集計 #3 で確認済み)。スコープ外
検証方法
npm run typecheckクリアnpm test— 16/16 passgit tag v1.0.0-alpha.1 && git push --tags && npm publishする想定依存
#3 のマージ前提。
🤖 Generated with Claude Code