Skip to main content

Extension Maintenance

@webframp/extension-maintenancev2026.07.25.2· 1d agoMODELS
01README

Extension repository maintenance model. Observes a multi-extension repo, audits dependency freshness (npm, swamp-testing, manifest pins), computes quality scores, plans version bumps, and applies changes with human approval.

Designed for repos publishing many swamp extensions via CI. Replaces the manual audit → bump → test → PR loop with typed, observable methods.

Usage

swamp extension pull @webframp/extension-maintenance
swamp model create @webframp/extension-maintenance/maintainer ext-maint \
  --global repo_root=/path/to/extensions

# Observe
swamp model method run ext-maint audit

# Plan (human reviews output)
swamp model method run ext-maint plan-bump

# Apply (writes files)
swamp model method run ext-maint apply-bump

# Verify
swamp model method run ext-maint quality-gate
02Release Notes

2026.07.25.2

Fixed: Scoped extension names (@webframp/...) in manifest dependency pins are now parsed correctly. Previous regex silently failed on the leading @, causing all manifest deps to be reported as up-to-date.

Fixed: nextCalVer() increments the sequence number when an extension was already bumped today, preventing no-op replacements or version field corruption on same-day re-runs.

Fixed: registry_timeout global argument is now applied to all fetch calls via AbortSignal.timeout(). Previously validated but never used.

Fixed: Test-only stale entries (swamp-testing bump) no longer emit plan entries or overwrite existing RELEASE_NOTES.md with empty content.

Fixed: Manifest version replacement uses the full version: "X.Y.Z.N" field string instead of the bare version, preventing accidental substitution in manifest description blocks.

Changed: Unversioned npm imports (e.g. npm:zod without a pinned version) are now logged as warnings during audit instead of being silently skipped.

Changed: apply-bump dry-run mode now reads files and counts matches, producing accurate filesModified counts that match what a real run would do.

03Models1
@webframp/extension-maintenance/maintainerv2026.07.25.2maintainer.ts
fn audit()
Scan all extensions, query registries, produce a staleness report. Pure observation, zero side effects.

Resources

audit(infinite)— Full dependency audit report across all extensions.
plan(infinite)— Structured bump plan for human review.
apply(infinite)— Result of applying a bump plan.
quality(infinite)— Quality gate results for all extensions.
04Previous Versions1
2026.07.25.1

2026.07.25.1

Added: Initial release of the extension maintenance model.

  • audit method: scans all extensions, queries npm/JSR/swamp registries for latest versions, produces structured staleness report with quality scores
  • plan-bump method: reads audit output, computes structured change plan with CalVer versioning and draft release notes
  • apply-bump method: executes the plan, writes version changes and RELEASE_NOTES.md files (supports dry_run mode)
  • quality-gate method: runs deno check/lint/fmt/test plus swamp extension quality and fmt across all or filtered extensions
05Stats
A
100 / 100
Downloads
0
Archive size
17.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels