بنقرة واحدة
window-style-contract
Keep avatar window chrome and topmost behavior driven by one explicit rule.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Keep avatar window chrome and topmost behavior driven by one explicit rule.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
{what this skill teaches agents}
Validate Squad avatar regressions with alias-resolution probes and source assertions around reset paths.
Use stable agent identity fields for metadata joins and reserve instance ids for runtime bookkeeping.
Render live sub-agent badges from resolved identity, current model, and active work state.
Protect persisted voice selections when async voice lists reload or the active TTS engine changes.
Replay extension state only after the webview page declares its own ready flag.
استنادا إلى تصنيف SOC المهني
| name | window-style-contract |
| description | Keep avatar window chrome and topmost behavior driven by one explicit rule. |
| domain | platform, extension-ui |
| confidence | high |
| source | earned |
Use this when changing how the Copilot avatar native window is created or when adding window-style settings. The failure mode here is hidden coupling: the visible frame/decorations say one thing, while an unconditional topmost flag silently says another.
alwaysOnTop from transparentWindow in the extension layer before spawning the native window.decorations and topmost state are reapplied together..github/extensions/copilot-avatar/main.mjs should use a helper like shouldKeepAvatarAlwaysOnTop(settings) and apply it during initial CopilotWebview construction plus later saveSettings() updates..github/extensions/copilot-avatar/lib/webview-child.mjs should keep decorations: !transparent and only call setAlwaysOnTop(true) when the extension explicitly requested it.alwaysOnTop: true unconditionally while also letting transparency control whether the window has a frame.