chore: version packages#153
Merged
Merged
Conversation
a2b3b69 to
3af3bfe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@skill-map/spec@0.75.0
Minor Changes
Move the web UI's "Live updates" and "Real-time node activity" preferences from browser localStorage to the project-local config: new
ui.liveUpdates/ui.realtimeActivitykeys inproject-config.schema.json(project-local only, stripped from the committed layer), read and written throughGET/PATCH /api/project-preferencesand persisted in.skill-map/settings.local.json. The SPA loads them before opening the live socket; the former localStorage keys are simply no longer read.User-facing
The Live updates and Real-time node activity switches now live in Settings > Project and stick to the project instead of the browser: flip them once and every browser profile on this checkout sees the same choice.
architecture.md gains §Kernel check · frontmatter diagnostics, the normative backing for the kernel-stamped vocabulary (
frontmatter-parse-error,frontmatter-malformedwith its five-hint set includingearly-close, andfrontmatter-invalidcovering absent blocks) and the one-lane-per-node routing; the sidecar identity contract's canonical YAML recipe now names js-yaml 5'sschema: CORE_SCHEMA, the byte-identical successor of the retirednoCompatMode: true.architecture.md §Provider · kind identifiers now specifies the per-kind
identifierMismatchknob and thecore/name-mismatchcontract: a node whose normalisedfrontmatter.namediverges from its filename/dirname handle is flagged with the kind's declared severity (warn for the open-standard skill kind, info for documented-legal overrides). It also defines the two-tiercore/name-collisionverdict: error for two declared names, warn for declared-vs-file-derived shadowing.cli-contract.md now specifies that
sm scan/sm watchcontain the scan to the project by default: a symlink whose real target escapes the scan roots is skipped rather than followed, defeating a committed hostile symlink that reads arbitrary local files. A new project-local-onlyscan.followExternalSymlinksboolean (default false) in project-config.schema.json opts back in.Patch Changes
Closes the remaining cli-ruler audit findings: the REST contract table in cli-contract.md now documents the implemented preferences, project-preferences, project-ignore, favorites, and update-status endpoints, and architecture.md enumerates all eight PROJECT_LOCAL_ONLY_KEYS members. On the src side, published package metadata and the Claude provider schema descriptions drop their em dashes, and a stale $HOME docstring now points at the closed caller list.
architecture.md corrected two stale statements saying the
core/update-checkhook subscribes toshutdown; it subscribes toboot(the lifecycle-event table'sbootrow already said so), and the update banner renders above the verb's output.@skill-map/cli@0.83.0
Minor Changes
New built-in analyzer
core/name-mismatchflags nodes whose declaredfrontmatter.namediverges from their filename/dirname handle: warn for open-standard skills (the spec requires name == dirname), info where the vendor documents the override as legal.core/name-collisiongains a warn tier for a declared name colliding with another node's file-derived handle; declared-vs-declared stays error and plain markdown stays out of the collision index.User-facing
Scans now flag naming drift: a skill whose folder name differs from its name field gets a warning, and an agent or command whose name shadows another file's name is flagged too, so references stop pointing at the wrong file silently.
Scans now validate an ABSENT frontmatter block against the kind's schema: a claude/codex agent or open-standard skill with no frontmatter at all (or with its fence pushed off the first byte by preceding prose) gets the same
frontmatter-invalidwarning a partial block already got, while all-optional kinds (plain markdown, claude command/skill) validate the empty block clean and stay silent. Malformed-fence heuristics keep precedence, one issue per defect.User-facing
Missing frontmatter is now flagged. An agent or skill file with no frontmatter at all gets the same warning as one with incomplete frontmatter, including when stray text before the
---fence made the metadata parse as body. Files that need no metadata stay quiet.Frontmatter diagnostics close three silent-loss gaps: a blank line before the opening
---fence now warns viafrontmatter-malformed, a declared-but-empty block now runs per-kind validation, and an unquoted:in a value gets an actionable quoting hint; a parse error no longer also reports present-but-unparseable fields as missing.User-facing
Frontmatter mistakes now get clearer feedback: a blank line before the opening ---, an empty frontmatter block, or an unquoted colon in a value are flagged with hints that say how to fix them, instead of losing your metadata silently.
Frontmatter diagnostics now detect a metadata block closed early by a stray
---line inside it: a newfrontmatter-malformedhintearly-closenames the leaked fields (gated on at least one being a schema-declared property) and suppresses the misleading missing-required report for fields sitting below the stray close; the combined BOM + blank-line accident before the fence now classifies asbyte-order-markinstead of falling through every heuristic.User-facing
A stray
---line inside your frontmatter is now flagged with the fields that were silently falling out of the block, and a byte-order mark plus a blank line before the frontmatter is called out too, instead of the metadata quietly disappearing.Move the web UI's "Live updates" and "Real-time node activity" preferences from browser localStorage to the project-local config: new
ui.liveUpdates/ui.realtimeActivitykeys inproject-config.schema.json(project-local only, stripped from the committed layer), read and written throughGET/PATCH /api/project-preferencesand persisted in.skill-map/settings.local.json. The SPA loads them before opening the live socket; the former localStorage keys are simply no longer read.User-facing
The Live updates and Real-time node activity switches now live in Settings > Project and stick to the project instead of the browser: flip them once and every browser profile on this checkout sees the same choice.
Hardened the scan pipeline per a cli-hacker audit: rewrote the HTML-tag stripper and capped the inline-code opener in
strip-code-blocksto linear time (they could hangsm scan/sm watch), routed disk-sourcedsm config get/listoutput throughsanitizeForTerminal(now also dropping a bare CR), validated the activityserve.jsonport, and made the walker skip symlinks whose target escapes the scan roots by default, with a newscan.followExternalSymlinksopt-in gated by--yes.User-facing
Scans stay inside your project. Symlinks pointing outside it are no longer followed (security fix); re-enable via the Follow external symlinks setting (Settings → Project) or
sm config set scan.followExternalSymlinks true --yes. Config values are sanitized before printing.Patch Changes
Added regression specs pinning two audit fixes: fatal-path errors keep landing on stderr under
--json/-q(stdout stays clean for the JSON contract), and the-vverbose logger writes to the Clipanion context stderr instead ofprocess.stderr. Test-only, no runtime change.Fatal command failures now emit their error text via
printer.error()(stderr) instead ofprinter.info(), so--json/--quietruns no longer exit non-zero with no explanation (44 sites across 9 commands); thecore/update-checkhook receives the update probe injected through thebootevent payload instead of importing it fromcli/, and two new lint guards block regressions on both fronts.User-facing
Failed commands now always say why. When an
smcommand fails, the error message is printed even with--jsonor--quiet; previously some failure paths exited with a non-zero code and no explanation.The minimal-claude conformance fixture moves its skill from the flat
.claude/skills/hello.md(which classified asmarkdown) to the directory layout.claude/skills/hello/SKILL.md, so the basic-scan case exercises one node per kind as intended; alongside, raw control bytes embedded in the frontmatter-yaml and toml parsers and in safe-text were replaced with escape text, with identical compiled patterns and no behavior change.Internal cleanup from a cli-ruler compliance pass: built-in plugin string catalogs renamed from
text.tsto<extension-id>.texts.tsso the em-dash lint gate covers them, the frontmatter-yaml and toml parsers share one parse-error sanitiser (the TOML side now also strips DEL bytes), dead legacy metadata projectors dropped from node-build, the activity templates interpolate the shared.skill-mappath constants, and the BOM heuristic's key-line probe is bounded to 4 KB.Closes the remaining cli-ruler audit findings: the REST contract table in cli-contract.md now documents the implemented preferences, project-preferences, project-ignore, favorites, and update-status endpoints, and architecture.md enumerates all eight PROJECT_LOCAL_ONLY_KEYS members. On the src side, published package metadata and the Claude provider schema descriptions drop their em dashes, and a stale $HOME docstring now points at the closed caller list.
Resolved the app-ruler UI audit findings: migrated the files-tree row animation from the deprecated @angular/animations DSL to the native animate.enter/animate.leave CSS API (dropping the @angular/animations dependency), hardened UI service signals to read-only exposure, and consolidated the duplicated frame-scheduling and panel-resize helpers into shared modules.