project-tiny-context-harness 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -137,7 +137,7 @@ npm ci
137
137
  npm run smoke:quickstart
138
138
  npm run preview:pack
139
139
  cd /path/to/your/test-repo
140
- npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.6.0.tgz
140
+ npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.6.2.tgz
141
141
  npx --no-install ty-context init --adopt
142
142
  make validate-context
143
143
  ```
@@ -197,7 +197,9 @@ An explicit Long-Task uses its existing Requirement, Control, Assertion, `ui_bro
197
197
 
198
198
  ### Optional Source Plan Authoring
199
199
 
200
- Use `/source-plan-authoring` only for an explicitly requested initial plan, Source Plan, source draft, or an audit/refinement of such a plan for later implementation or Contract authoring. It produces one self-contained Markdown document with preserved direct requirements, traceable necessary derivations, `DEC`/`decision_required` product choices, semantic Outcome boundaries, stable keys/anchors, independently meaningful decided `CTRL` fields, Runtime-exact Fact/Affected-Outcome `RISK` items, distinct `OBL`/`HINT` items and one observable scenario per `AC` with explicit accepted `REQ`/`CTRL`/`OBL` keys. Risk names are the ten Contract facts: use `data_migration`, split critical-path weak observability into `critical_user_path` plus `weak_observability`, and preserve `multi_repository_change` for Compiler rejection.
200
+ Use `/source-plan-authoring` for an explicitly requested initial plan, Source Plan, source draft, or synthesis/refinement/audit of later implementation or Contract-authoring Source. It accepts either one substantially complete plan or a sparse goal plus mixed notes, product/technical documents, screenshots, diagrams and other attachments; a short instruction identifying their roles, the goal, reference authority and desired elaboration is sufficient.
201
+
202
+ It produces one self-contained Markdown document with a complete input inventory, preserved direct requirements and traceable necessary derivations. Before comparative research or a material product, technical, architecture or provider selection, it asks a concise targeted question when an unknown user priority such as quality versus cost, speed, reliability, privacy, lock-in or operational burden could change the research scope, candidate set or recommendation; there is no fixed questionnaire and known preferences are not re-asked. Once that preference envelope is clear, it decides what research is needed and uses current authoritative or primary sources for external capability, price, quota, license, compatibility, region, security or support claims. A request to synthesize, refine, complete or use judgment then delegates plan-level authoring: each supported recommendation is recorded as `delegated` with its instruction, preference/evidence basis and exact meaning instead of triggering approval, including high-impact plan semantics. Real payment, contracting, production release, destructive production mutation, permission grants, sensitive-data transmission and required legal/security/human approval remain `EXT`; only conflicts, user-reserved choices, missing material preferences or cases with no defensible recommendation remain `DEC`/`decision_required`. Interactive products are expanded through every in-scope surface to material control level, including placement, behavior, validation, navigation, loading/empty/success/failure/recovery/permission feedback and accessibility. The plan retains semantic Outcome boundaries, stable keys/anchors, Runtime-exact Fact/Affected-Outcome `RISK` items, distinct `OBL`/`HINT` items and one observable scenario per `AC` with explicit accepted `REQ`/`CTRL`/`OBL`/`NCOMP` keys. Risk names are the ten Contract facts: use `data_migration`, split critical-path weak observability into `critical_user_path` plus `weak_observability`, and preserve `multi_repository_change` for Compiler rejection.
201
203
 
202
204
  It does not update Context, bind a repository, generate Delivery Contract YAML, execute implementation, create workflow state or claim completion. `HINT` is not a Material Source Item, and the Skill emits no `ty-source-item` markers. A Source Plan is Source, not a Contract Draft. The structure is optional; ordinary prose remains valid Long-Task Source.
203
205
 
@@ -205,7 +207,7 @@ It does not update Context, bind a repository, generate Delivery Contract YAML,
205
207
 
206
208
  The explicit Long-Task Workflow uses one platform-native Goal, one user-selected repository/workspace, one complete `long-task-delivery-v2` Contract and one Final Gate. Outcomes are independently decidable acceptance units; Delivery Set orchestration and top-level Contract splitting inside one selected delivery are retired.
207
209
 
208
- Contract authoring preserves stable Source keys/anchors where practical. Meaning-preserving structural decomposition and evidence-backed repository binding may continue, while new product semantics require `decision_required`. Missing recommended Source Plan structure alone never blocks authoring.
210
+ Contract authoring preserves stable Source keys/anchors where practical. If an unknown preference could materially change comparative research or selection, it asks before proceeding. Once the decision criteria are clear, a defensible recommended plan choice is recorded in real Source with its delegation, preference/evidence basis and exact meaning before Contract mapping; it is never added only in YAML. Plan delegation does not authorize a real high-risk external action, which remains an explicit external confirmation. Meaning-preserving structural decomposition and evidence-backed repository binding may continue, while conflicting, user-reserved, missing-preference or unsupported new product semantics require `decision_required`. Missing recommended Source Plan structure alone never blocks authoring.
209
211
 
210
212
  Before the first successful formal Compile, `delivery-contract.yaml` is one non-authoritative Contract Draft. `/long-task-workflow` revises the same Draft across repository/Context reads and Preflight repairs; a complete Contract need not fit one response. Integrated authoring keeps repository evidence and findings attached to the same object and avoids a second handoff, plan, authority or Receipt. There is no standalone Contract Draft Skill or Authoring State.
211
213
 
@@ -305,7 +307,7 @@ make validate-harness
305
307
 
306
308
  The modularity gate is `ty-context check-modularity`. Scoped waivers require `owner`, `introduced_at`, `reason`, `tracking_issue` and `expiry_condition`.
307
309
 
308
- The synchronized local preview tarball is named `project-tiny-context-harness-0.6.0.tgz`.
310
+ The synchronized local preview tarball is named `project-tiny-context-harness-0.6.2.tgz`.
309
311
 
310
312
  ## Community And Further Reading
311
313
 
package/assets/README.md CHANGED
@@ -137,7 +137,7 @@ The smoke packs the local workspace, installs it into a disposable repo and vali
137
137
 
138
138
  ```sh
139
139
  cd /path/to/your/test-repo
140
- npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.6.0.tgz
140
+ npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.6.2.tgz
141
141
  npx --no-install ty-context init --adopt
142
142
  make validate-context
143
143
  ```
@@ -218,20 +218,22 @@ An explicit Long-Task expresses material visual expectations through the existin
218
218
 
219
219
  ### Optional Source Plan Authoring
220
220
 
221
- Use `/source-plan-authoring` only when explicitly asking for an initial plan, Source Plan, source draft, or an audit/refinement of such a plan for later implementation or Contract authoring.
221
+ Use `/source-plan-authoring` when explicitly asking for an initial plan, Source Plan, source draft, or synthesis/refinement/audit of later implementation or Contract-authoring Source. The input may be one substantially complete plan or a sparse goal plus mixed notes, product/technical documents, screenshots, diagrams and other attachments. A short request that identifies the artifact roles, product goal, reference authority and desired elaboration is enough; no fixed intake questionnaire or pre-normalized outline is required.
222
222
 
223
223
  It outputs one self-contained Markdown Source Plan that:
224
224
 
225
+ - inventories every supplied artifact, inspects all material pages/frames/screens and records coverage gaps instead of silently sampling;
225
226
  - preserves direct requirements and their qualifiers;
226
227
  - marks necessary derivations and cites what they derive from;
227
- - turns unsupported product choices into `DEC`/`decision_required`;
228
+ - before comparative research or a material product, technical, architecture or provider selection, asks a concise targeted question when an unknown user priority such as quality versus cost, speed, reliability, privacy, lock-in or operational burden could change the research scope, candidate set or recommendation; it does not re-ask known preferences or interrupt minor reversible choices;
229
+ - after the preference envelope is clear, decides what research is needed, uses current authoritative or primary sources for external capability/pricing/quota/license/compatibility/region/security/support claims, and treats a request to synthesize, refine, complete or use judgment as plan-level delegation: one supported recommendation is recorded as `delegated` with its instruction, preference/evidence basis and exact meaning instead of asking for approval, including high-impact plan semantics; real payment, contracting, production release, destructive production mutation, permission grants, sensitive-data transmission and required legal/security/human approval remain `EXT`, while only conflicts, user-reserved choices, missing material preferences or cases with no defensible recommendation remain `DEC`/`decision_required`;
228
230
  - splits Outcomes only by independently decidable observable results;
229
231
  - uses stable semantic keys and explicit anchors for important Source items;
230
232
  - separates mandatory `OBL` obligations from advisory `HINT` suggestions;
231
- - independently records each decided `CTRL` Location, User task, Trigger, Input, Loading, Empty, Success, Failure and Feedback field;
233
+ - for interactive products, inventories every in-scope surface and material control, then independently records its surface/region/type/label, placement, task, visibility/availability, trigger/input/validation/default, interaction/navigation, loading/empty/success/failure/recovery/permission/feedback and accessibility fields;
232
234
  - uses `NCOMP` for explicit results that must not count as completion;
233
235
  - states each `RISK` Fact, one Affected Outcome, Basis and Consequence, or emits `DEC` when the pair is unknown; Fact is exactly one of `public_api_or_schema_change`, `persistent_data_change`, `data_migration`, `security_boundary_change`, `permission_boundary_change`, `irreversible_external_effect`, `critical_user_path`, `full_population_operation`, `multi_repository_change` or `weak_observability`;
234
- - writes one Given/When/Then scenario per `AC`, names its accepted `REQ`/`CTRL`/`OBL`/`NCOMP` keys, and hides no new requirement in AC text.
236
+ - writes one Given/When/Then scenario per `AC`, names its accepted `REQ`/`CTRL`/`OBL`/`NCOMP` keys, hides no new requirement in AC text and reports whether the document is ready for Contract authoring.
235
237
 
236
238
  It does not update project Context, bind real repository owners/paths/runners, generate Delivery Contract YAML, run implementation, create workflow state or claim completion. `HINT` is not a Material Source Item, and Source Plan authoring emits no `ty-source-item` markers; repository-aware Long-Task authoring inserts markers later. A Source Plan is Source, not a Contract Draft. Its structure is an authoring fast path, not a required input protocol; ordinary prose plans remain valid Long-Task Source.
237
239
 
@@ -249,7 +251,7 @@ Use `/long-task-workflow` only when explicitly requested or when the current wor
249
251
  - a complete Final Gate on one current snapshot;
250
252
  - a Stop Hook that rejects stale completion.
251
253
 
252
- Long-Task Contract authoring preserves stable Source keys and anchors where practical. Meaning-preserving structural decomposition and evidence-backed repository binding may continue; new business rules, defaults, recovery behavior, permissions or scope become `decision_required` instead of being silently added. Missing recommended Source Plan structure never blocks authoring, but the marker-only Material Source Item enumeration required for activation does.
254
+ Long-Task Contract authoring preserves stable Source keys and anchors where practical. If an unknown preference could materially change comparative research or selection, it asks before proceeding. Once the decision criteria are clear, a defensible recommended plan choice is written into real Source with its delegation, preference/evidence basis and exact meaning before Contract mapping; it is never hidden only in YAML. That plan delegation does not authorize a real high-risk external action, which remains an explicit external confirmation. Meaning-preserving structural decomposition and evidence-backed repository binding may continue; conflicting, user-reserved, missing-preference or unsupported new product semantics remain `decision_required`. Missing recommended Source Plan structure never blocks authoring, but the marker-only Material Source Item enumeration required for activation does.
253
255
 
254
256
  Before the first successful formal Compile, `delivery-contract.yaml` is one non-authoritative Contract Draft. `/long-task-workflow` keeps revising that same Draft across repository/Context reads and Preflight repair rounds; it does not require one response to produce a complete Contract. Draft authoring is integrated because repository bindings and verification inputs need real evidence, Preflight findings must feed back into the same object, and a separate handoff would risk lost meaning or a second plan/authority. No standalone Contract Draft Skill, Draft Receipt or Authoring State exists.
255
257
 
@@ -451,7 +453,7 @@ make validate-harness
451
453
 
452
454
  The modularity gate is `ty-context check-modularity`. Scoped waivers require `owner`, `introduced_at`, `reason`, `tracking_issue` and `expiry_condition`.
453
455
 
454
- `npm run preview:pack` produces a local preview named `project-tiny-context-harness-0.6.0.tgz` under the preview output directory.
456
+ `npm run preview:pack` produces a local preview named `project-tiny-context-harness-0.6.2.tgz` under the preview output directory.
455
457
 
456
458
  ## Community And Further Reading
457
459
 
@@ -101,30 +101,32 @@ Context: no durable fact change
101
101
 
102
102
  只有新长期模块/能力、公共 API/Schema/data/persistence、source of truth/state ownership、dependency direction、跨 area、migration/security/recovery 或可复用抽象才触发架构 Gate;小修复不支付这项成本。Gate 要明确 owner、唯一事实源、依赖方向、接口/状态生命周期、失败/恢复/兼容、禁止绕过路径和项目自己的可执行架构检查。
103
103
 
104
- Harness 只路由仓库原生 lint/AST/dependency/contract check,不实现跨语言通用架构分析器。`check-modularity` 的语句数/分支风险会定位到最高风险函数和行号。
105
-
106
- ### 视觉交付指导
107
-
108
- 对设计系统、重设计、高保真实现或 visual polish,`context_uiux_design` 在任务内部维护一个风险比例化的 Visual Coverage Set,覆盖生产 surface/component、viewport、theme/mode、state、content stress 与 accessibility/motion 条件。它只是内部计划,不是必需 matrix 或新权威。耐久 surface/interaction 事实仍属于 `project_context/**`,耐久视觉语义与理由属于 `DESIGN.md`;项目只声明一个精确 token 手工事实源和一个生成方向。`context_development_engineer` 把这些意图绑定到生产组件/真实 route,只报告真正渲染和检查过的组合,静态 kit 或 mock 不能替代产品 UI 证据。
109
-
110
- 显式 Long-Task 仍通过现有 Requirement、Control、Assertion、`ui_browser`、verification input 与 `external_confirmation` 表达视觉要求。影响验收的截图 baseline 是冻结的 verifier input,生成截图/diff 只是 review artifact,主观设计或新 baseline 批准保持外部确认。这项指导不新增视觉 Schema、risk level、lifecycle state、Gate 或必需 artifact,也不修改默认 Workflow Contract。
111
-
112
- ### 可选 Source Plan Authoring
113
-
114
- 只有用户明确要求初版方案、源方案、方案源稿、Source Plan,或要求审计/重构这类后续实现与 Contract Authoring 的输入时,才使用 `/source-plan-authoring`。
104
+ Harness 只路由仓库原生 lint/AST/dependency/contract check,不实现跨语言通用架构分析器。`check-modularity` 的语句数/分支风险会定位到最高风险函数和行号。
105
+
106
+ ### 视觉交付指导
107
+
108
+ 对设计系统、重设计、高保真实现或 visual polish,`context_uiux_design` 在任务内部维护一个风险比例化的 Visual Coverage Set,覆盖生产 surface/component、viewport、theme/mode、state、content stress 与 accessibility/motion 条件。它只是内部计划,不是必需 matrix 或新权威。耐久 surface/interaction 事实仍属于 `project_context/**`,耐久视觉语义与理由属于 `DESIGN.md`;项目只声明一个精确 token 手工事实源和一个生成方向。`context_development_engineer` 把这些意图绑定到生产组件/真实 route,只报告真正渲染和检查过的组合,静态 kit 或 mock 不能替代产品 UI 证据。
109
+
110
+ 显式 Long-Task 仍通过现有 Requirement、Control、Assertion、`ui_browser`、verification input 与 `external_confirmation` 表达视觉要求。影响验收的截图 baseline 是冻结的 verifier input,生成截图/diff 只是 review artifact,主观设计或新 baseline 批准保持外部确认。这项指导不新增视觉 Schema、risk level、lifecycle state、Gate 或必需 artifact,也不修改默认 Workflow Contract。
111
+
112
+ ### 可选 Source Plan Authoring
113
+
114
+ 用户明确要求初版方案、源方案、方案源稿、Source Plan,或要求综合、细化、审计后续实现与 Contract Authoring Source 时,使用 `/source-plan-authoring`。输入既可以是一份接近完成的方案,也可以只是目标,加上零散笔记、产品/技术文档、截图、图表等混合附件。用户只需说明附件角色、产品目标、参考资料是精确目标还是灵感,以及希望 Skill 细化即可;不需要先填固定问卷或整理统一大纲。
115
115
 
116
116
  它输出一份自包含 Markdown Source Plan:
117
117
 
118
- - 保留直接要求及其限定条件;
119
- - 必要推导必须标记并写明 `Derived From`;
120
- - 无来源的新产品选择进入 `DEC`/`decision_required`;
118
+ - 为每份附件建立 Input Inventory,完整检查有实质含义的页面、画面与屏幕,未读内容或覆盖缺口必须显式报告,不能静默抽样;
119
+ - 保留直接要求及其限定条件;
120
+ - 必要推导必须标记并写明 `Derived From`;
121
+ - 在对比调研或实质性的产品、技术、架构、供应商选型前,先判断哪些用户取舍会改变调研范围、候选集或推荐;如果质量与性价比、交付速度、可靠性、隐私、供应商锁定、运维成本等关键偏好不明确,就先用简短、有针对性的问题询问用户,不重复询问已有偏好,也不打断推荐不会改变的局部可逆选择;
122
+ - 偏好边界明确后,再决定是否以及如何调研;外部能力、价格、额度、许可、兼容性、区域、安全与支持等时效性事实使用当前权威或一手来源。用户要求综合、细化、补全或自行判断时,默认委托方案层决策:形成有依据的合理推荐后,直接标记为 `delegated` 并记录委托语句、偏好/证据依据和准确含义,高影响方案语义本身不再触发批准;真实付款/签约、生产发布、生产数据破坏性修改、实际授权、敏感数据外发及必要法务/安全/人工审批仍保留为 `EXT`,只有输入冲突、用户明确保留、关键偏好仍缺失或无法形成可靠推荐时才进入 `DEC`/`decision_required`;
121
123
  - Outcome 只按可独立判断的可观察结果拆分;
122
124
  - 重要 Source 项使用稳定语义 Key 与显式 Anchor;
123
125
  - 强制技术义务使用 `OBL`,非强制实现建议使用 `HINT`;
124
- - 每个已决定的 `CTRL` 分别记录 Location、User task、Trigger、Input、Loading、Empty、Success、Failure Feedback
126
+ - 对交互产品,先穷举范围内的 surface,再细化到每个实质控件,分别记录页面/区域/类型/文案、位置、任务、可见与可用条件、触发/输入/校验/默认值、交互/跳转,以及 Loading、Empty、Success、Failure、Recovery、Permission、Feedback Accessibility
125
127
  - 明确“不算完成”的 Source 含义使用 `NCOMP`;
126
128
  - 每个 `RISK` 明确 Fact、单个 Affected Outcome、Basis 与 Consequence,无法确定时进入 `DEC`;Fact 精确使用 Runtime 的十个名称:`public_api_or_schema_change`、`persistent_data_change`、`data_migration`、`security_boundary_change`、`permission_boundary_change`、`irreversible_external_effect`、`critical_user_path`、`full_population_operation`、`multi_repository_change`、`weak_observability`;
127
- - 每个 AC 只代表一个 Given/When/Then 可观察场景,显式列出对应 `REQ`/`CTRL`/`OBL`/`NCOMP` Key,且不能首次偷渡新需求。
129
+ - 每个 AC 只代表一个 Given/When/Then 可观察场景,显式列出对应 `REQ`/`CTRL`/`OBL`/`NCOMP` Key,不能首次偷渡新需求,并在文末报告是否已可交给 Contract Authoring。
128
130
 
129
131
  它不更新项目 Context,不绑定真实仓库 owner/path/runner,不生成 Delivery Contract YAML,不执行实现,不创建工作流状态,也不声明完成。`HINT` 不是 Material Source Item;Source Plan Skill 不输出 `ty-source-item` Marker,Marker 由后续 repository-aware Long-Task Authoring 插入。Source Plan 是 Source,不是 Contract Draft。推荐结构只是 Authoring Fast Path;普通 prose/Source Plan 或普通文本方案仍可直接作为 Long-Task Source。
130
132
 
@@ -142,7 +144,7 @@ Harness 只路由仓库原生 lint/AST/dependency/contract check,不实现跨
142
144
  - Final Gate 在一个当前快照上重跑全部 Check;
143
145
  - Stop Hook 在结果 stale 时阻止完成。
144
146
 
145
- Long-Task Contract Authoring 会尽量保留 Source 中已有的稳定 Key 与 Anchor。保持产品含义的结构分解和有真实证据的仓库绑定可以继续;新增业务规则、默认值、恢复行为、权限或范围必须进入 `decision_required`,不能静默加入。缺少推荐 Source Plan 结构不构成阻塞,但激活前必须完成只插入标记、不改写原文的 Material Source Item 枚举。
147
+ Long-Task Contract Authoring 会尽量保留 Source 中已有的稳定 Key 与 Anchor。若未知偏好会实质改变对比调研或选型,必须先询问用户;决策标准明确后,有依据的推荐方案再把委托、偏好/证据依据和准确含义写入真实 Source,然后映射到 Contract,不能只藏在 YAML 中。这份方案委托不授权任何真实高危外部动作,高危动作继续作为显式 external confirmation。保持产品含义的结构分解和有真实证据的仓库绑定可以继续;输入冲突、用户明确保留、关键偏好缺失或没有可靠推荐的新产品语义仍进入 `decision_required`。缺少推荐 Source Plan 结构不构成阻塞,但激活前必须完成只插入标记、不改写原文的 Material Source Item 枚举。
146
148
 
147
149
  第一次正式 Compile 成功前,`delivery-contract.yaml` 是同一份非权威 Contract Draft。`/long-task-workflow` 可以跨多轮仓库/Context 读取和 Preflight 修复持续修改它,不要求一次响应生成完整 Contract。不存在单独 Contract Draft Skill、Draft Receipt 或 Authoring State。
148
150
 
@@ -14,11 +14,11 @@ This is the restrained architecture context. Keep only facts that help a fresh a
14
14
 
15
15
  - Summarize only the durable request, event, state or data flow that is hard to infer from code alone.
16
16
 
17
- ## Design Rationale
18
-
19
- - Record architecture-level choices, rejected alternatives and tradeoffs that still constrain future work; leave this empty when no stable architecture reason exists.
20
- - Do not invent rationale or store implementation summaries, PR notes, command output, test result claims, debug history, agent reasoning or reasons inferred only from current code shape.
21
- - Architecture boundary changes should be captured here before implementation alignment.
17
+ ## Design Rationale
18
+
19
+ - Record architecture-level choices, rejected alternatives and tradeoffs that still constrain future work; leave this empty when no stable architecture reason exists.
20
+ - Do not invent rationale or store implementation summaries, PR notes, command output, test result claims, debug history, agent reasoning or reasons inferred only from current code shape.
21
+ - Architecture boundary changes should be captured here before implementation alignment.
22
22
 
23
23
  ## Constraints And Tradeoffs
24
24
 
@@ -15,11 +15,11 @@
15
15
 
16
16
  ## Module Design Capsule
17
17
 
18
- - Principles: stable execution constraints that should affect future module work.
19
- - Design Logic: the minimum logic for choosing, rejecting, degrading or composing module behavior.
20
- - Design Rationale: only durable reasons, rejected alternatives and tradeoffs that change later implementation or verification decisions; leave it empty when no stable reason exists.
21
- - Do not invent rationale or store implementation summaries, PR notes, command output, test result claims, screenshot review notes, debug history, agent reasoning or reasons inferred only from current code shape.
22
- - Current standards, thresholds and commands belong in the relevant contract or verification Context, not as permanent principles.
18
+ - Principles: stable execution constraints that should affect future module work.
19
+ - Design Logic: the minimum logic for choosing, rejecting, degrading or composing module behavior.
20
+ - Design Rationale: only durable reasons, rejected alternatives and tradeoffs that change later implementation or verification decisions; leave it empty when no stable reason exists.
21
+ - Do not invent rationale or store implementation summaries, PR notes, command output, test result claims, screenshot review notes, debug history, agent reasoning or reasons inferred only from current code shape.
22
+ - Current standards, thresholds and commands belong in the relevant contract or verification Context, not as permanent principles.
23
23
 
24
24
  ## Key Constraints
25
25
 
@@ -18,9 +18,9 @@ Write only project-specific facts that should guide future implementation. Do no
18
18
  - Main Surface Allows:
19
19
  - Main Surface Forbids:
20
20
  - Drilldown Ownership:
21
- - Long Task State Requirement:
22
- - Design Rationale:
23
- - Empty / Loading / Stale / Unavailable:
21
+ - Long Task State Requirement:
22
+ - Design Rationale:
23
+ - Empty / Loading / Stale / Unavailable:
24
24
  - Security / Redaction:
25
25
  - Verification:
26
26
 
@@ -48,16 +48,16 @@ Update this Context when:
48
48
 
49
49
  - A surface responsibility changes.
50
50
  - Main/drilldown ownership changes.
51
- - A durable long-task state contract is introduced.
52
- - A durable main/drilldown/diagnostic ownership rationale, rejected alternative or tradeoff will guide future changes.
53
- - A repeated UI/product rule becomes reusable.
54
- - A platform-specific interaction rule becomes stable.
51
+ - A durable long-task state contract is introduced.
52
+ - A durable main/drilldown/diagnostic ownership rationale, rejected alternative or tradeoff will guide future changes.
53
+ - A repeated UI/product rule becomes reusable.
54
+ - A platform-specific interaction rule becomes stable.
55
55
 
56
56
  Do not update this Context for:
57
57
 
58
58
  - CSS-only fixes.
59
59
  - One-off screenshot observations.
60
- - Temporary audit notes.
61
- - Test logs.
62
- - Local implementation summaries.
63
- - PR notes, command output, screenshot review notes, debug history, agent reasoning or rationale inferred only from current code shape.
60
+ - Temporary audit notes.
61
+ - Test logs.
62
+ - Local implementation summaries.
63
+ - PR notes, command output, screenshot review notes, debug history, agent reasoning or rationale inferred only from current code shape.
@@ -22,10 +22,10 @@ jobs:
22
22
  harness:
23
23
  runs-on: ubuntu-latest
24
24
  steps:
25
- - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
25
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
26
26
  with:
27
27
  fetch-depth: 0
28
- - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
28
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
29
29
  with:
30
30
  node-version: "24"
31
31
  - name: Prepare source workspace CLI
@@ -61,28 +61,28 @@ When an active `/long-task-workflow` binding exists, that Skill owns lifecycle,
61
61
 
62
62
  sample provider / interface / page 证据不能替代 all-provider / all-interface / all-platform 或全量完成。来源要求全量而当前只能交付框架/样本时标记 `scope_conflict_requires_decision`;权威范围未收窄前不得声称完成。
63
63
 
64
- ## Product Surface
64
+ ## Product Surface
65
65
 
66
66
  涉及 Web/移动/桌面/游戏 UI、CLI/TUI、表单、配置、输入、选择、搜索、筛选、调度、预算/配额/限流或状态反馈时:
67
67
 
68
68
  - 对照已有 Product Surface / Surface Contract、页面职责和控件任务,而不是只确认字段已暴露;
69
69
  - 内部保持 Surface Contract Hit、main allows/forbids、drilldown ownership、long-task state requirement、implementation drift 和 verification;
70
- - 缺失 durable surface responsibility 时设置 `Context Delta: required`,先用 `context_surface_contract` 或 owning Context 建立职责;
71
- - 收尾用简短 `Contract Conformance` 说明命中的 Context、实现满足方式、未满足项和验证入口。
72
-
73
- ## Visual Delivery Implementation / 视觉交付实现
74
-
75
- When controlling Context, `DESIGN.md` or explicit Source declares material visual work, carry that intent into the real implementation without creating another workflow:
76
-
77
- - identify the production token source, its generation direction, the owning components/routes and any project-local UI/UX Skill before choosing implementation values;
78
- - reuse production components and real product routes for states/specimens instead of building a detached static imitation as the acceptance target;
79
- - preserve approved semantic tokens and component APIs; do not bypass them with undeclared raw color, spacing, typography or motion values merely to match one screenshot;
80
- - implement the declared Visual Coverage Set across the applicable viewport, theme/mode, state, content-stress and accessibility/motion combinations, while avoiding an unrequested full Cartesian expansion;
81
- - run project-owned rendered/component/browser verification and report only the combinations actually checked. Static analysis, generated kits and screenshot artifacts are supporting review material rather than proof of every visual or behavioral claim.
82
-
83
- If an active Long-Task applies, express material visual expectations through its existing Requirement, Control, Assertion, Check and external-confirmation mechanisms. Do not introduce a second visual plan, acceptance document or lifecycle.
84
-
85
- ## Modularity Check
70
+ - 缺失 durable surface responsibility 时设置 `Context Delta: required`,先用 `context_surface_contract` 或 owning Context 建立职责;
71
+ - 收尾用简短 `Contract Conformance` 说明命中的 Context、实现满足方式、未满足项和验证入口。
72
+
73
+ ## Visual Delivery Implementation / 视觉交付实现
74
+
75
+ When controlling Context, `DESIGN.md` or explicit Source declares material visual work, carry that intent into the real implementation without creating another workflow:
76
+
77
+ - identify the production token source, its generation direction, the owning components/routes and any project-local UI/UX Skill before choosing implementation values;
78
+ - reuse production components and real product routes for states/specimens instead of building a detached static imitation as the acceptance target;
79
+ - preserve approved semantic tokens and component APIs; do not bypass them with undeclared raw color, spacing, typography or motion values merely to match one screenshot;
80
+ - implement the declared Visual Coverage Set across the applicable viewport, theme/mode, state, content-stress and accessibility/motion combinations, while avoiding an unrequested full Cartesian expansion;
81
+ - run project-owned rendered/component/browser verification and report only the combinations actually checked. Static analysis, generated kits and screenshot artifacts are supporting review material rather than proof of every visual or behavioral claim.
82
+
83
+ If an active Long-Task applies, express material visual expectations through its existing Requirement, Control, Assertion, Check and external-confirmation mechanisms. Do not introduce a second visual plan, acceptance document or lifecycle.
84
+
85
+ ## Modularity Check
86
86
 
87
87
  新实现、重构、重复逻辑、模块边界或影响面控制需要内部记录 `Modularity Check: none|required|exception`。
88
88
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: context_full_project_export
3
- description: Use when the user explicitly asks to 导出尽可能详细的项目全量上下文, 全量上下文导出, 项目上下文全量导出, 项目整体上下文, full project context export, export full project context, project context export, project overall context, Source Pack export, source-pack export, code index export, task context export, 当前项目代码实现, 代码级实现导出, or code-level implementation export in a Minimal Context Harness project.
2
+ name: context_full_project_export
3
+ description: Use when the user explicitly asks to 导出尽可能详细的项目全量上下文, 全量上下文导出, 项目上下文全量导出, 项目整体上下文, full project context export, export full project context, project context export, project overall context, Source Pack export, source-pack export, code index export, task context export, 当前项目代码实现, 代码级实现导出, or code-level implementation export in a Minimal Context Harness project.
4
4
  ---
5
5
 
6
6
  # Context Full Project Export
@@ -13,55 +13,55 @@ This Skill creates a temporary export artifact only. It does not author durable
13
13
 
14
14
  ## Purpose
15
15
 
16
- When the user needs a full project context export, project overall context export or external LLM handoff, create temporary export artifacts that collect project Context, key agent guidance, architecture/module facts, code navigation and bounded source support for copying into an external tool or one-off discussion.
17
-
18
- When the user needs a code-level implementation export, create one temporary Markdown snapshot of current source and engineering configuration files for upload to Web GPT or another external model.
19
-
20
- ## Workflow
21
-
22
- 1. Prefer the bounded Source Pack for external LLM / Web GPT planning. It writes at most 5 files total under `tmp/ty-context/context-exports/latest/` and removes old timestamped export rounds:
23
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --source-pack`
24
- 2. Use `--code-index` when implementation navigation is enough and full source bodies are not needed:
25
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code-index`
26
- 3. Use `--task-context <name>` for focused handoff, preferably with a profile or explicit include selectors:
27
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --profile <profile-id>`
28
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --include-context project_context/areas/main.md --include-code 'src/example/**'`
29
- 4. Use legacy `--all` when the user explicitly wants both old temporary artifacts in one command. Do not hand-write tracked export documents:
30
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --all`
31
- 5. Use legacy `--full` when only the project Context bundle is needed:
32
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full`
33
- 6. Use legacy `--code` when only the full code-level implementation snapshot is needed. It generates one Markdown file by default and is the full fallback when Source Pack bundles are not enough:
34
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code`
35
- 7. Custom output paths are allowed only for legacy single-artifact modes and must stay under the temporary export directory. `--all` and Source Pack modes do not accept `--output`:
36
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full --output tmp/ty-context/context-exports/my-export.md`
37
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code --output tmp/ty-context/context-exports/my-code-export.md`
38
- 8. Use dry-run mode to inspect planned sources before writing:
39
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --source-pack --check`
40
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code-index --check`
41
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --check`
42
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --all --check`
43
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full --check`
44
- - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code --check`
45
- 9. After exporting, report artifact paths, source counts, recommended upload sets and warnings to the user. Do not summarize export contents back into Context.
16
+ When the user needs a full project context export, project overall context export or external LLM handoff, create temporary export artifacts that collect project Context, key agent guidance, architecture/module facts, code navigation and bounded source support for copying into an external tool or one-off discussion.
17
+
18
+ When the user needs a code-level implementation export, create one temporary Markdown snapshot of current source and engineering configuration files for upload to Web GPT or another external model.
19
+
20
+ ## Workflow
21
+
22
+ 1. Prefer the bounded Source Pack for external LLM / Web GPT planning. It writes at most 5 files total under `tmp/ty-context/context-exports/latest/` and removes old timestamped export rounds:
23
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --source-pack`
24
+ 2. Use `--code-index` when implementation navigation is enough and full source bodies are not needed:
25
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code-index`
26
+ 3. Use `--task-context <name>` for focused handoff, preferably with a profile or explicit include selectors:
27
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --profile <profile-id>`
28
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --include-context project_context/areas/main.md --include-code 'src/example/**'`
29
+ 4. Use legacy `--all` when the user explicitly wants both old temporary artifacts in one command. Do not hand-write tracked export documents:
30
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --all`
31
+ 5. Use legacy `--full` when only the project Context bundle is needed:
32
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full`
33
+ 6. Use legacy `--code` when only the full code-level implementation snapshot is needed. It generates one Markdown file by default and is the full fallback when Source Pack bundles are not enough:
34
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code`
35
+ 7. Custom output paths are allowed only for legacy single-artifact modes and must stay under the temporary export directory. `--all` and Source Pack modes do not accept `--output`:
36
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full --output tmp/ty-context/context-exports/my-export.md`
37
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code --output tmp/ty-context/context-exports/my-code-export.md`
38
+ 8. Use dry-run mode to inspect planned sources before writing:
39
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --source-pack --check`
40
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code-index --check`
41
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --task-context <name> --check`
42
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --all --check`
43
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --full --check`
44
+ - `npx --yes --package project-tiny-context-harness@latest ty-context export-context --code --check`
45
+ 9. After exporting, report artifact paths, source counts, recommended upload sets and warnings to the user. Do not summarize export contents back into Context.
46
46
 
47
47
  ## Output Boundaries
48
48
 
49
- - Export artifacts must remain temporary export artifacts, not Context.
50
- - `--source-pack` defaults to `tmp/ty-context/context-exports/latest/`, with `source-pack-manifest.json`, `full-project-context.md`, `code-index.md` and optional `code-bundle-core.md` / `code-bundle-extended.md`.
51
- - `--source-pack` and `--task-context` are capped at 5 output files. `--max-pack-files` cannot exceed 5.
52
- - `--code-index` creates a navigation index and manifest without complete source bodies.
53
- - `--task-context <name>` creates `task-contexts/task-context-<name>.md` plus optional support bundle; profile verification entries are listed, not executed.
54
- - `--full` defaults to `tmp/ty-context/context-exports/full-project-context-<timestamp>.md`.
55
- - `--code` defaults to `tmp/ty-context/context-exports/code-level-implementation-<timestamp>/code-level-implementation.md`.
49
+ - Export artifacts must remain temporary export artifacts, not Context.
50
+ - `--source-pack` defaults to `tmp/ty-context/context-exports/latest/`, with `source-pack-manifest.json`, `full-project-context.md`, `code-index.md` and optional `code-bundle-core.md` / `code-bundle-extended.md`.
51
+ - `--source-pack` and `--task-context` are capped at 5 output files. `--max-pack-files` cannot exceed 5.
52
+ - `--code-index` creates a navigation index and manifest without complete source bodies.
53
+ - `--task-context <name>` creates `task-contexts/task-context-<name>.md` plus optional support bundle; profile verification entries are listed, not executed.
54
+ - `--full` defaults to `tmp/ty-context/context-exports/full-project-context-<timestamp>.md`.
55
+ - `--code` defaults to `tmp/ty-context/context-exports/code-level-implementation-<timestamp>/code-level-implementation.md`.
56
56
  - `--all` generates both default artifacts with the same timestamp.
57
57
  - `--all` does not accept `--output`; custom filenames are supported only for `--full` or `--code`.
58
58
  - `--code` creates one Markdown file, not shards or `all.md`.
59
59
  - Do not output to `project_context/**`.
60
60
  - Do not modify `project_context/context.toml`.
61
61
  - Do not register export artifacts as `[[context]]`, `implementation-index` or any Context graph node.
62
- - Do not write tracked docs; if the user asks for an ordinary docs path, redirect to `tmp/ty-context/context-exports/**`.
63
- - Export contents may include redaction warnings; do not bypass secret/token/cookie/password/api_key/credential/bearer/authorization filtering. Use `--redaction-strict` when the user wants the command to fail if any redaction occurred.
64
- - Profiles under `<harnessRoot>/config.yaml` are export selectors only. They must not become durable Context facts or execute verification commands.
62
+ - Do not write tracked docs; if the user asks for an ordinary docs path, redirect to `tmp/ty-context/context-exports/**`.
63
+ - Export contents may include redaction warnings; do not bypass secret/token/cookie/password/api_key/credential/bearer/authorization filtering. Use `--redaction-strict` when the user wants the command to fail if any redaction occurred.
64
+ - Profiles under `<harnessRoot>/config.yaml` are export selectors only. They must not become durable Context facts or execute verification commands.
65
65
 
66
66
  ## Handoff
67
67
 
@@ -25,7 +25,7 @@ Project-specific product planning rules belong in a separate project-local Skill
25
25
  4. 涉及输入、选择、搜索、筛选、表单/配置、调度/时间窗口、预算/配额/限流或加载/空态/错误态等 UI 控件时,用“控件任务框架”重新理解用户任务和产品反馈;这只是通用判断框架,不是业务处方库。
26
26
  5. 当一个产品对象、能力或接口的增删改需要跨多个页面、模块、Context 或产品域同步调整时,将该影响范围视为产品边界复核信号;先判断它是否应沉淀为独立能力、subdomain 或 area,并明确对外契约、所有权和消费方边界,避免通过手工清单长期维护各消费面的重复映射。
27
27
  6. 产品意图、模块职责、边界和验收口径以 `project_context/**` 为准;代码和搜索结果只说明当前实现状态。Context 决定“应该是什么”,代码揭示“现在是什么”,代码不能静默重定义 Context。
28
- 7. 输出产品判断或第一处实现编辑前,先给出唯一长期事实判断 `Context Delta: none|required`。若输入包含产品、架构、技术或验收来源,在 agent 内部逐项判断 delivery-significant constraint 已被 Context 覆盖、需要先更新 Context、仅属 task-local、显式 out-of-scope 或需要真实用户决策;不要创建 `plan.md`、Task Contract 文件或 Markdown 映射表。
28
+ 7. 输出产品判断或第一处实现编辑前,先给出唯一长期事实判断 `Context Delta: none|required`。若输入包含产品、架构、技术或验收来源,在 agent 内部逐项判断 delivery-significant constraint 已被 Context 覆盖、需要先更新 Context、仅属 task-local、显式 out-of-scope 或需要真实用户决策;不要创建 `plan.md`、Task Contract 文件或 Markdown 映射表。
29
29
  8. 普通 bug fix、局部样式、局部实现漂移、测试修复或探索性 spike 不更新 Context;如果过程中形成长期产品结论,应在继续对齐或交付前回写 Context。不要把 Context 机械补成代码改动摘要。
30
30
  9. 如果代码与 Context 冲突,显式标记为实现漂移、缺失工作或 Context 过期。
31
31
  10. 输出产品判断时保持短而具体,避免长篇 PRD 模板。
@@ -39,14 +39,14 @@ Project-specific product planning rules belong in a separate project-local Skill
39
39
  13. Verification / Deployment Role Context 只记录长期可复用的重复执行路径事实:特殊准备、最短命令或路径、预期阶段 / 信号、可接受 warning、已排除的重复探索点。不要记录一次性测试日志、完整输出、临时 JSON、CI artifact、测试报告、release ledger、secret、token、cookie、device id 或 raw payload。
40
40
  14. 收尾时做 `Contract Conformance` 和 Context drift check,只报告轻量状态:`Context: 已更新 ...` 或 `Context: 本次无长期事实变化`。Conformance 说明本次契约满足情况、未满足或延期项和验证入口;一次性证据、测试日志、截图结果、任务契约和实现摘要不写入 Context。
41
41
 
42
- ## 内部执行约束与 Conformance
43
-
44
- - `Context Delta` 只能是 `none` 或 `required`。`required` 先把足以指导实现的长期事实写入 owning Context;`none` 直接按现有 Context 工作,不制造 Context 噪音。
45
- - Agent 内部计划应保持目标、用户任务、信息 / 动作 / 状态 / 反馈、边界、非目标、验收信号和验证入口清晰。触及 Product Surface 时,同时保持 surface platform、primary user question、main allows/forbids、drilldown ownership 和 long-task state requirement 清晰。
46
- - 外部来源的每项重要约束都在内部分类为 Context 已覆盖、Context 已更新、task-local、显式 out-of-scope 或需要用户决策;存在未处理项时不能声称全量完成。
47
- - 默认流程不要求或验证固定 `plan.md`、Task Contract 文件、Source-to-Context 表、Context-to-Implementation 表、matrix、verdict 或 evidence ledger;可选 scratch 没有固定名称或权威。
48
- - `Contract Conformance` 直接检查 controlling Context 是否到达正确产品域、surface、API、状态与验证路径并避开 forbidden shortcut。实现偏差修实现;缺少长期事实则返回 `Context Delta: required`,先更新 Context 再重新对齐。
49
- - small code task、普通 bug fix、局部样式、小重构、测试修复或探索性 spike 不创建额外流程 artifact。
42
+ ## 内部执行约束与 Conformance
43
+
44
+ - `Context Delta` 只能是 `none` 或 `required`。`required` 先把足以指导实现的长期事实写入 owning Context;`none` 直接按现有 Context 工作,不制造 Context 噪音。
45
+ - Agent 内部计划应保持目标、用户任务、信息 / 动作 / 状态 / 反馈、边界、非目标、验收信号和验证入口清晰。触及 Product Surface 时,同时保持 surface platform、primary user question、main allows/forbids、drilldown ownership 和 long-task state requirement 清晰。
46
+ - 外部来源的每项重要约束都在内部分类为 Context 已覆盖、Context 已更新、task-local、显式 out-of-scope 或需要用户决策;存在未处理项时不能声称全量完成。
47
+ - 默认流程不要求或验证固定 `plan.md`、Task Contract 文件、Source-to-Context 表、Context-to-Implementation 表、matrix、verdict 或 evidence ledger;可选 scratch 没有固定名称或权威。
48
+ - `Contract Conformance` 直接检查 controlling Context 是否到达正确产品域、surface、API、状态与验证路径并避开 forbidden shortcut。实现偏差修实现;缺少长期事实则返回 `Context Delta: required`,先更新 Context 再重新对齐。
49
+ - small code task、普通 bug fix、局部样式、小重构、测试修复或探索性 spike 不创建额外流程 artifact。
50
50
 
51
51
  ## 产品体验校准
52
52
 
@@ -72,7 +72,7 @@ Output:
72
72
  - `context.toml` candidate registration with `role = "contract"` when durable registration is needed.
73
73
  - `global.md#Context Index` candidate entry when a new Context file is added.
74
74
  - Verification candidate for repeatable surface checks.
75
- - Internal source classification when an external product, architecture, technical or acceptance source changes durable surface responsibility; do not create a Markdown coverage table.
75
+ - Internal source classification when an external product, architecture, technical or acceptance source changes durable surface responsibility; do not create a Markdown coverage table.
76
76
  - Repo-local Skill task-block candidate when the user wants project-specific enforcement.
77
77
 
78
78
  Do not assume business responsibilities from current code shape alone. Ask for confirmation if the candidate would silently choose between competing product or information-architecture meanings.
@@ -106,7 +106,7 @@ Use after implementation or during review.
106
106
  Output:
107
107
 
108
108
  - Surface Contract Conformance.
109
- - External-source constraint classification and implementation alignment status.
109
+ - External-source constraint classification and implementation alignment status.
110
110
  - Remaining Drift.
111
111
  - Missing Context.
112
112
  - Implementation Drift.
@@ -148,7 +148,7 @@ For any task touching user-facing surfaces, information placement, forms, filter
148
148
  - Long Task State Requirement: `<run id, progress, retry, recovery, import, history, or none>`
149
149
  - Context Delta: `<none | required>`
150
150
  - Verification: `<view-model test / component test / browser smoke / CLI smoke / manual check>`
151
- ```
151
+ ```
152
152
 
153
153
  Do not add this task block to package-managed default Skills as a universal gate. Projects opt in through separate project-local Skills.
154
154
 
@@ -164,7 +164,7 @@ When implementation is also requested, align code with the Product Surface Contr
164
164
 
165
165
  Final handoff should include concise `Surface Contract Conformance`: contract source, implementation alignment, remaining drift and verification status.
166
166
 
167
- Conformance must internally confirm that every important external-source constraint is covered by Context, updated into Context, task-local, explicitly out of scope or awaiting a genuine user decision, and that controlling surface facts reached the correct implementation. Unresolved constraints or non-aligned surface implementation mean the work cannot be described as fully aligned; component, modal, viewmodel or unit evidence alone cannot prove main-surface ownership. Do not create a fixed `plan.md`, Task Contract file or Markdown mapping tables for this check.
167
+ Conformance must internally confirm that every important external-source constraint is covered by Context, updated into Context, task-local, explicitly out of scope or awaiting a genuine user decision, and that controlling surface facts reached the correct implementation. Unresolved constraints or non-aligned surface implementation mean the work cannot be described as fully aligned; component, modal, viewmodel or unit evidence alone cannot prove main-surface ownership. Do not create a fixed `plan.md`, Task Contract file or Markdown mapping tables for this check.
168
168
 
169
169
  ## Output Boundaries
170
170
 
@@ -172,5 +172,5 @@ Conformance must internally confirm that every important external-source constra
172
172
  - Do not update Context for ordinary CSS tweaks, copy edits or one-off UI bug fixes unless durable surface responsibility changes.
173
173
  - Do not treat current backend fields, enums, JSON, screenshots or terminal output as product intent.
174
174
  - Do not invent rationale; rejected alternatives or tradeoffs belong in Context only when they are stable enough to affect future surface decisions.
175
- - Do not add a surface-specific validator, edit-order gate, plan-contract validator or package-level mandatory Surface Contract gate.
175
+ - Do not add a surface-specific validator, edit-order gate, plan-contract validator or package-level mandatory Surface Contract gate.
176
176
  - Do not include business-domain examples in this package-managed Skill.