Skip to content

spec(impression-literal): Scope reads both ways on adapter hook scripts #1905

Description

@smileygames

purpose

skills/evolution-impression-literal-detection/SKILL.md の Scope が、adapter の hook スクリプト(adapter/**/hooks/*.sh / *.ps1)について二通りに読める。どちらの読みが正しいかを決め、literal を一意にする。

premise

Scope は対象面を rules/**/*.md, skills/**/SKILL.md, adapter/**/*, Li+update.md と列挙している。その直後、tests/**.github/workflows/** を外す理由をこう述べている:

they are executed code, not prose loaded as instruction, so the removal test has no behavior semantic to hold constant on them

hook スクリプトは adapter/**/* に含まれるので対象面に入る。同時に executed code でもあり、その中のコメントは agent が instruction として load するものではない。除外理由の側の基準を当てると外れる。列挙と除外理由が、同じファイルについて逆の答えを出す。

観測(実測)

PR #1904 の brake 1 で、fixed axis が出した所見 5 件のうち 3 件がこの面に落ちた(finding 3・4・5、いずれも 3 port の hook コメント)。著者は除去テストを走らせて採否を決めたが、そもそもその面が対象なのかは literal から決まらないまま裁定した。

constraints

  • 除去テストそのもの(Positive / Negative リスト、protected カテゴリ)は触らない。決めるのは どの面に当てるか だけ。
  • 「hook コメントは instruction として load されない」が正しいなら、対象面の列挙側を狭める必要がある(adapter/**/* のままにはできない)。
  • 逆に「hook コメントも対象」が正しいなら、除外理由の文言が executed code 一般を指しているのを狭める必要がある。
  • どちらに倒しても、既に裁定済みの PR Add cold-start promotion tally expiry surface (rules + 3 hook ports + docs/2 + docs/6 + tests) #1904 の採否は遡って変えない。

対象外

  • tests/** / .github/workflows/** の除外そのもの(これは争点ではない)
  • Scope 以外の節

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    forming本文を再構築しながら要求を整えている状態specLi+の挙動に影響する仕様・ポリシー・定義

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions