1.5 KiB
1.5 KiB
完了しました。
実施内容:
- Lua Profile evaluator に global
yoiを注入しました。 yoi.profile/require("yoi.profile")は callable table になり、既存のlocal profile = require("yoi.profile"); return profile { ... }互換を保ちながらimport/extendを提供します。yoi.profile.import("builtin:default")は resolved Manifest ではなく raw builtin Profile artifact を返します。yoi.profile.extend("builtin:default", overrides)は object を再帰 merge し、scalar/list など non-object は置換します。- 最終 artifact は既存 Profile validation に通され、runtime-bound field(例:
pod)の混入は reject されます。 resources/profiles/default.luaを globalyoistyle に更新しました。
Merge:
- Branch:
lua-profile-yoi-api - Merge commit:
15dc176e merge: lua profile yoi api
確認:
- Branch-local reviewer
reviewer-lua-profile-yoi-apiが approve。 cargo fmt --checkpassed。git diff --checkpassed。cargo test -p manifest profile --libpassed(22 passed)。cargo check -p manifestpassed。target/debug/yoi ticket doctorpassed。- typed
TicketDoctorは 0 errors / 3 pre-existing diagnostics。 nix build .#yoipassed。
残作業:
- なし。import/extend は現時点では
builtin:default/defaultに限定しています。より広い user/project selector import が必要なら follow-up Ticket として扱えます。