-
-
Notifications
You must be signed in to change notification settings - Fork 0
always on duplication removal direction
Li+ ソースに同一内容のコピーが2つあるとき、どちらを削るか。「重複は削れ」という一般則と、Li+ の主軸である「適用瞬間に必要なリテラルが一箇所に揃っているか(跳躍数)」は、場面によって逆を向く。
境界を跨ぐかどうかで向きが決まる。
-
常時ロード分の内側の重複(
rules/**↔adapter/*/CLAUDE.md/AGENTS.md間)→ 削ってよい。削除で増えるのは文脈内跳躍のみで、追加のツール呼び出しは発生しない。canonical を1つ決め、削除跡にはポインタを残す。 -
常時ロードと遅延ロードを跨ぐ重複(常時ロード分 ↔
skills/*/SKILL.md本体 /docs// hook)→ 常時ロード側を残し、遅延ロード側を削る。 素朴に「重複削除」を適用すると逆をやり、適用瞬間にツール呼び出しを一つ増やす。
合格条件はバイト数ではなくツール呼び出し跳躍が減るか据え置き。文脈内跳躍の増加は罰しない(罰すると内側の重複削除が一切できなくなる)。
- depends on: liplus-context-rot-tension — always-on ↔ JIT を未解決トレードオフとして受容する判断が前提。本 entry はそのトレードオフの中で「どちらに寄せるか」の運用規則を与える
- relates to: liplus-structure-as-retrieval-surface
- relates to: release-version-rule-always-on-relocation — 判定基準を always-on の単一ソースに置いて跳躍ゼロにした先行事例(本規則の雛形)
Anthropic の記事(Claude 5 世代向けに Claude Code のシステムプロンプトを8割以上削除して劣化なし)が挙げる指針のうち「重複の削除」を Li+ に当てようとして表面化した。Li+ は重複を嫌って参照で繋ぐ設計であり、これ自体は正しい。しかし一つの規則を適用するのに複数ファイルを渡り歩く構造は、跳躍のたびに「読む」を「記憶で済ませる」に置き換える隙を作る。
記事の指針をそのまま適用すると、その場にあったリテラルが消えて跳躍が一つ増える場面が出る。二つの軸が衝突しているように見えたが、跳躍を文脈内(常時ロード分=既に読み込まれている)とツール呼び出し(外に出る=取りこぼしうる)に分けたところで和解した。
なお記事の射程はコーディング評価で測った Claude Code のシステムプロンプトであり、統治レイヤを載せた構成での検証ではない。適用にあたっては統治層(自律を渡す条件として人間と合意した内容)を削減対象から明示的に外す仕分けが先に要る。
- 統治層(二段ブレーキ、人間判断ゲート一覧、
Evolution_Initiator_Autonomy、Human = final judge)は本規則の適用対象外。モデルの能力向上で消える理由がないため、削減の可否を跳躍数で裁いてはならない - A 分類のセクションの内側に統治条項が埋め込まれている箇所がある。セクション単位で削ると統治内容が消えるため、カーブアウトが先
-
rules/model/subtractive-structural-beauty.mdの Detection signs は同ファイル内で観測面として保護宣言済
採用 = 境界を跨ぐかどうかで削る向きを決める二分規則。合格条件はツール呼び出し跳躍の非増加。
却下 = 「重複は一律に削る」(跨ぐ重複で跳躍を増やす)。却下 = 「跳躍を増やす削除は一切しない」(内側の重複削除が不可能になり、the second copy is what drifts の規律が執行できなくなる)。
この Wiki は、Li+ に基づく開発・運用を支えるための情報整理空間です。
数字で始まるページは、 Li+プログラムの各レイヤーの仕様を定義するページです。
- 要求(何を満たすか)と仕様(どう振る舞うか)を一体として記述する
- 実装前に作成または更新する
- issue群から採用された要件を集約する
これらのページは 安定性と一貫性を重視して管理されます。
アルファベットで始まるページは、 Li+の構想・設定・導入手順などの参照用ページです。
- 設計思想・背景
- 設定リファレンス・インストール手順
これらのページは 必要に応じて更新・拡張されます。
リポジトリ内の rules/**/*.md(L1–L4 の常時ロード分、subdir 含む)、skills/**/SKILL.md(トリガー起動分)、adapter/claude/CLAUDE.md、adapter/claude/hooks-settings.md、adapter/claude/hooks/*.sh、adapter/codex/AGENTS.md、およびルート直下の Li+config.md、Li+update.md は、
AIやランタイムが直接読む実行用プログラム / 定義ファイルです。
-
docs/は人間向けの仕様書・要求仕様・手順書 -
rules/,skills/および adapter / update は実行時に読み込まれる本体
両者は対応しているが、役割は同じではない。
Home | 1. Model | 2. Evolution | 3. Task | 4. Operations | A. Concept
要求仕様書 (1-6)
参考文書 (A-K)
- A. Concept
- B. Configuration
- C. Update
- D. Installation
- DiDD(対話駆動開発)
- E. Li+ language
- F. Behavior-First
- G. Sheepdog Engineering
- H. Roles and Evaluation
- K. Source File Format
判断構造
- Decision Structure
- layer reorg rationale
- github app user-to-server token expiration
- sheepdog engineering concept
- prerelease tag recovery procedure
- release flip drift patterns
- Li+ long-term vision (feedback only)
- Master role as client-architect
- current architecture as concession
- Li+ license Apache-2.0 rationale
- Character_Instance evolution history
- prompt as emotion vector controller
- agentic-search five-phase refactor
- Character_Instance output-styles migration
- Li+ lightening L1 gate override
- subagent state-machine label mechanism
- LSP integration out of scope
- Character_Instance opt-in and surface scope
- parallel-subagent-eval three-axis decomposition
- parallel-subagent-eval cost acceptance
- parallel-subagent-eval model floor
- release version rule always-on relocation
- bootstrap walkthrough skip and gh install relocation
- wiki sync sidebar integrity check
- decision structure rename rationale
- decision structure industry positioning
- subtractive structural beauty framing
- Li+ authorship is collaborative
- Li+ design intent vs current limit
- Li+ history is empirical
- Master verification at runtime not spec
- rules cache fetch address table
- dialogue-evaluator scoring redesign
- Li+ always-on footprint is load-bearing
- DiDD umbrella naming
- milestone subsystem removal
- L1 brake 2 root-criteria evaluator
- Hook-driven gate trigger
- dynamic-workflows non-adoption
- ACE context-engineering non-adoption
- memory GraphRAG SQLite exploration
- Li+ context-rot tension
- Li+ structure as retrieval surface
- 常時ロード分の重複を削る向き
- Li+ evaluation criterion
- Li+ self-evolution lineage
- Li+ judgment-learning telos
- Sheepdog Engineering publish intent
- Implementation always delegated
- brake evaluator baseline integrity
- brake1 single-round cap
- skill の発火条件は description 内に置く
- subagent parallel-width cap
- brake1 operational-copy target-conditional
- wiki sync code-notation strip
- wiki sync drift-targeted mirror
- decision structure writer surface activation
- decision structure state-form edge binding
- Neuron Graph RAG integrated prototype
- issue 完了条件フィールドの射程