LearnNewsExamplesServices
Frontmatter
id11902
titleInventory skill-runtime baggage for decision-atom migration
stateClosed
labels
documentationenhancementairefactoringarchitecturemodel-experience
assigneesneo-gpt
createdAtMay 24, 2026, 3:30 PM
updatedAtMay 24, 2026, 5:40 PM
githubUrlhttps://github.com/neomjs/neo/issues/11902
authorneo-gpt
commentsCount1
parentIssue11605
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 24, 2026, 5:40 PM

Inventory skill-runtime baggage for decision-atom migration

Closed v13.0.0/archive-v13-0-0-chunk-13 documentationenhancementairefactoringarchitecturemodel-experience
neo-gpt
neo-gpt commented on May 24, 2026, 3:30 PM

Context

#11605 is the parent program for compressing skill baggage into decision-atom maps. Its AC3 requires an inventory of .agents/skills/**/*.md workflow payloads before the hot-path pilots start.

Current topology check: #11884 covers #11605 AC1/AC2. The remaining parent AC3 inventory work has no native child handle yet. Exact synced-content sweep found #11605 as the owning parent and no equivalent AC3 inventory child.

The Problem

The team has identified a recurring failure mode: hot-path agent skills accumulate incident archaeology, edge-case stories, and repeated rule payload until routine lifecycle work becomes token-expensive and easy to half-read.

Before editing pr-review, pull-request, or other hot paths again, the swarm needs a measured inventory that separates:

  • runtime rules that must stay loaded,
  • compactable behavior atoms,
  • atlas/provenance payload that should move behind triggers,
  • stale or duplicate material that can be retired.

Without this inventory, the next PR risks becoming another hand-picked rewrite instead of a governed loaded-surface reduction.

The Architectural Reality

This work is read-only analysis over the agent skill substrate. It does not rewrite skills directly.

The owning parent is #11605. The governing patterns are ADR 0007 Map-vs-World-Atlas compaction, ADR 0008 skill anatomy, and the shipped recursive trigger-aware workflow substrate from #11319. /create-skill remains the skill-shape authority; this inventory supplies the data for later child tickets.

The Fix

Produce a ranked inventory for .agents/skills/**/*.md and directly referenced workflow payloads that identifies high-cost runtime surfaces and proposes a disposition for each relevant section.

Minimum disposition vocabulary:

  • keep
  • compress-to-trigger
  • move
  • rewrite
  • retire

The output should be concise enough to guide child-ticket creation, not another large always-loaded guide.

Contract Ledger Matrix

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
Skill baggage inventory report #11605 AC3 Ranked audit with byte counts, section counts, and disposition candidates Existing parent AC remains unfulfilled Issue comment or compact repo doc chosen during implementation Reproducible measurement command plus sampled section evidence
Disposition vocabulary #11605 + ADR 0007/0008 Use keep, compress-to-trigger, move, rewrite, retire consistently Parent prose remains the only taxonomy Inventory output Each candidate section has one disposition and brief intent rationale
Follow-up child topology #11605 AC4-AC8 Inventory recommends bounded pilot/batch child tickets rather than one migration PR Future agents re-derive scope from the epic Native child issues or explicit deferrals Links or proposed issue list in the inventory output

Decision Record impact

Aligned with ADR 0007 and ADR 0008. This ticket does not amend either ADR; it gathers evidence for the migration program defined in #11605.

Acceptance Criteria

  • Measure .agents/skills/**/*.md and directly referenced workflow payloads for loaded byte counts and section counts.
  • Identify incident/provenance-heavy sections, repeated edge-case payloads, stale anchors, and always-loaded payload that should move behind triggers.
  • Produce a ranked inventory with candidate dispositions: keep, compress-to-trigger, move, rewrite, or retire.
  • Call out the hottest pilot candidates for #11605 AC4/AC5, including pr-review and pull-request if still supported by measurements.
  • Recommend child-ticket topology for #11605 AC4-AC8 or explicitly mark any AC as already covered / no longer needed.
  • Include a reproduction command or script path so reviewers can verify the byte-count claims.
  • Keep the inventory artifact concise; do not create another always-loaded long-form workflow guide.

Out of Scope

  • Rewriting pr-review, pull-request, or any other skill in this ticket.
  • Deleting incident history.
  • Creating new lifecycle gates.
  • Treating byte reduction as the only success metric; behavior preservation still matters.

Avoided Traps

  • Hand-editing the loudest skill first without measuring the broader surface.
  • Moving prose into another always-loaded file and calling it compression.
  • Producing an inventory so large that it becomes a new context-drain artifact.
  • Collapsing all #11605 remaining ACs into one migration PR.

Related

Parent: #11605 First child: #11884 Related: #11604, #11603, #11319, #10537

Origin Session ID: 967e325b-d90a-43f4-9e91-c212e9bda746

Retrieval Hint: skill baggage inventory decision atom maps byte counts disposition keep compress-to-trigger move rewrite retire pr-review pull-request

tobiu referenced in commit 83c4330 - "feat(ai): add live skill size report (#11902) (#11915) on May 24, 2026, 5:40 PM
tobiu closed this issue on May 24, 2026, 5:40 PM