chore: record profile scope and restore diagnostics

This commit is contained in:
2026-06-14 14:30:18 +09:00
parent 1abce888ae
commit db95492a4f
7 changed files with 310 additions and 44 deletions
+13
View File
@@ -28,4 +28,17 @@ LocalTicketBackend によって作成されました。
- `scope``delegation_scope` の merge/replace semantics が docs または test 名から読み取れる。
---
<!-- event: decision author: hare at: 2026-06-14T02:14:43Z -->
## Decision
決定:
- `yoi.profile.extend` に replace/clear API を足す方向ではなく、`extend` 自体を廃止する。
- Profile 継承は `local p = yoi.profile.import("builtin:default"); p.field = ...; return p` の ordinary Lua assignment に寄せる。
- deep merge helper が必要なら、semantics が明示された別 API として後続で検討する。
- scope/delegation_scope の問題は `00001KV11DHGZ` で launch policy に移すため、この Ticket では scope replacement API を作らない。
---