Skip to content

docs(release)+test: ent#187 skill-package decision (accept risk) + backward-compat regression - #1724

Merged
vybe merged 1 commit into
devfrom
fix/ent187-skill-packages-accepted-risk
Jul 22, 2026
Merged

vybe merged 1 commit into
devfrom
fix/ent187-skill-packages-accepted-risk

Conversation

@dolho

@dolho dolho commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

ent#187 — decision: accept the risk (no kill-switch)

Records the decision + delivers the AC items for the unflagged #183 skill-package change. Test + docs only — no behavior change; freeze-safe (this is the "skill packages" targeted regression the v0.8.5 plan calls for during soak).

Why accept-risk (verified in code, not asserted)

The #183 change is strictly additive and backward-compatible on both questions ent#187 asks:

Case Behavior Proof
Skill with no frontmatter Still lists/loads, user_invocable=True, first-paragraph description fallback, no warnings parse_frontmatter→(None,None); extract_contract(None)→defaults
Agent synced under the old format (no manifest) Full re-inject, zero destructive prune ("no-meta → no prune, safe direction") compute_prune(None,…)→([],False); prune only removes files a prior injection wrote

A kill-switch would also be short-lived — Phases 2-3 (#139/#178) build on this contract. The two same-day hotfixes were hardening (path sanitization, REDIS_URL via config), not compat fixes.

Deliverables (AC)

  • Decision recorded with rationale (this PR + ent#187 comment)
  • Backward-compat argument written down (both cases above)
  • Release notes state skill loading changed for all agents — docs/releases/0.8.5.md pre-cut seed
  • Regression test: legacy no-frontmatter skill survives sync — tests/unit/test_183_skill_packages_backward_compat.py (5, passing)

Related to trinity-enterprise#187 · #183

🤖 Generated with Claude Code

…k) + backward-compat regression

ent#187 decision: **accept the risk — no kill-switch** for the #183 full-directory
skill packages. The change is strictly additive and backward-compatible, so a
flag is unwarranted (and would be short-lived: Phases 2-3, #139/#178, build on
this contract). Verified in code, not asserted:

- A skill with NO frontmatter → `parse_frontmatter` returns (None, None),
  `extract_contract(None)` yields `user_invocable=True` with empty deps and no
  warnings; it still lists/loads with a first-paragraph description fallback.
- A legacy-synced agent (no `.trinity-skill.json` manifest) → `compute_prune`
  returns nothing without a prior manifest ("no-meta → full inject, no prune —
  safe direction"); the platform only deletes files a prior package injection
  wrote, so an un-managed dir is re-injected, never destroyed.

Deliverables (AC): the backward-compat regression test
(`tests/unit/test_183_skill_packages_backward_compat.py`, 5 cases — both compat
questions + the prune-only-what-we-wrote counterpart) and the release
behavior-change note (`docs/releases/0.8.5.md` pre-cut seed) stating skill
loading changed for all agents. Test + docs only — no behavior change; safe to
land during the v0.8.5 soak (it IS the "skill packages" targeted regression the
release plan calls for).

Related to trinity-enterprise#187 · #183
Co-Authored-By: Claude Opus 4.8 <[email protected]>

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated via /validate-pr: required checks green, security scan clean, scope focused.

@vybe
vybe merged commit 6702824 into dev Jul 22, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants