Commit Graph

14 Commits

Author SHA1 Message Date
Teknium
d764d0c7e2 fix(plugins): keep clashing portable skill names apart
Two portable plugins whose names slug alike (foo.bar, foo-bar) claim one
qualified skill name. A saved hashed name now resolves only through what that
exact plugin registered; a native plugin can no longer replace a portable
plugin's skill (portable duplicates stay refused, native over native stays
last-wins); and the plugins.disabled check matches the owning plugin's key or
name instead of the skill prefix, so disabling foo-bar never blocks foo.bar.
2026-10-24 04:01:10 -07:00
Maciej Lisiewski
eedf3944e9 fix(skills): skill_view dedup compares the served content
skill_view stat'ed the skill file AFTER serving it, so a background-review
patch landing mid-view was recorded as the served version, and a same-size
rewrite with a pinned mtime matched (mtime, size). Repeat views then said
'unchanged' for content the model never saw. Dedup now keys on a digest of
the skill_view result itself: a repeat is stubbed only when byte-identical.
No timestamps, so coarse ticks and host/filesystem clock skew cannot fool
it, and no internal _source_* fields leak into the tool result.
2026-10-15 21:01:31 +02:00
Maciej Lisiewski
d76cce4f11 ci: apply all automatic linter fixes available 2026-10-08 17:22:54 +02:00
Carl Taylor
dc9ee6722a fix(skills): expose plugin skills to interactive commands
Include namespaced ctx.register_skill entries in CLI/TUI completion and
invocation while keeping native messaging command maps portable. Cover
compatible -s preloading and preserve disabled, platform, environment,
and profile gates.

Based on the qualified interactive-registry approach from #85725.

Co-authored-by: Konrad Stawiski <konrad.stawiski@umed.lodz.pl>
(cherry picked from commit cd3e30b5ceb5da9ef9daabc2458d0ea2e340da04)
2026-10-05 00:23:05 -07:00
ethernet
92686159d1 fix(pm): integrate audited runtime and lifecycle repairs
Prepare dependency generations before selecting them. Keep shipped tool
bytes separate from writable additions, and store facts beside their entries.
Validate proposed plugin sets before config publication. Restore the previous
config if the facts write fails.

Consolidate duplicate updater, backup, setup, and voice helpers. Repair
launcher selection, dependency consumers, download ownership, update feeds,
and native Windows process and file handling.

Verification: 206 changed/prior-failing Python files reported 4630 passed,
one failed, and 330 skipped. Fix the remaining Hindsight fixture boundary.
The final targeted rerun reported 234 passed and two skipped. The store
review regression batch reported 83 passed and one skipped. Desktop
TypeScript checks, 56 selected Electron tests, 24 release tests, and the
removed-import/compatibility guards passed.

This is an integration checkpoint, not full audit acceptance. The complete
Python suite has not run on this fixed tree. Crash-atomic plugin publication,
generation cleanup, receipt correlation, and packaged lifecycle acceptance
remain open in docs/pm-audit-status.md.
2026-09-05 22:36:48 -04:00
Teknium
eb8a30cc2f simplify(compat): skills_sync/skill_manager/kanban/computer_use — drop 37 re-exports/aliases, repoint 8 callers + 9 test files 2026-09-03 13:27:01 -07:00
Teknium
d2f2862d51 refactor(tools): fold single-use readiness helpers, compact module docstrings, wrap long lines 2026-09-03 01:09:55 -07:00
Teknium
9197b7926f refactor(tools): bundled-ops/sync guard folds (reset messages, read_for_diff, orphan recovery) 2026-09-03 00:51:10 -07:00
Teknium
a150766f58 refactor(tools): skills_sync shares _iter_skill_mds; plugin/bundled-ops guard collapses and docstring compaction 2026-09-03 00:41:48 -07:00
Teknium
4355ad0ce2 refactor(tools): skills_tool drops _Located dataclass, shares _safe_frontmatter, flattens env-var merge; squeeze body blanks 2026-09-03 00:26:48 -07:00
Teknium
7c79360e9a refactor(tools): skills_tool readiness/plugin walrus compaction 2026-09-02 23:13:53 -07:00
Teknium
f9ab9abb89 refactor(tools): compact skills_tool plugin/setup/dedup signatures and guards 2026-09-02 23:09:18 -07:00
Teknium
1523a3ba9c refactor(tools): extract skill_view locate/security phases, compact skills_tool siblings 2026-09-02 22:17:38 -07:00
Teknium
7c1ec19d4a refactor(tools/skills): split skills_hub into per-source modules; extract skill_manager guards/batch, skills_tool dedup/plugin/setup; compact skill_usage, skills_guard 2026-09-02 14:45:15 -07:00