Skip to content

docs: resync skills with smg HEAD (v1.5.0) - #19

Merged
slin1237 merged 1 commit into
mainfrom
chore/resync-skills-smg-1.5.0
Jun 18, 2026
Merged

docs: resync skills with smg HEAD (v1.5.0)#19
slin1237 merged 1 commit into
mainfrom
chore/resync-skills-smg-1.5.0

Conversation

@slin1237

Copy link
Copy Markdown
Member

Problem

The SMG development skills were last verified against smg on 2026-06-08. Since then ~123 commits have landed in the smg codebase (now v1.5.0), leaving the skills with stale crate names, removed subsystems, drifted APIs, and file.rs:NNN line references that no longer match.

Solution

Audited all 24 skill files against smg HEAD by reading the current source (not commit messages — e.g. a "rename least_load" commit was misleading; the policy still exists and the count was correct). Fixed every factual drift, added coverage for new subsystems, and de-brittled all file.rs:NNN references to file.rs + symbol-name anchors so they survive smg's churn.

Changes

Removed / renamed (factual fixes)

  • map/SKILL.md — drop removed tui/smg-tui crate; add new mock_worker crate; fix repo-root layout line; Router params ~80~110; broaden discovery-DAG steps path.
  • implement/SKILL.md — drop removed Terminal UI/tui/ row.
  • mcp-feature.md — drop removed oauth.rs from the module map.
  • observability-feature.md — drop removed /ws/metrics WebSocket; document new runtime_metrics.rs.
  • tenancy-feature.md — drop removed TenantAliasStore/resolve_tenant_key (resolution now infallible); note new request_charge_id field.
  • routing-policy.mdget_all_power_of_two_policies()get_all_load_aware_policies(); add remove_worker.
  • rate-limit-feature.mdmiddleware/scheduler.rsmiddleware/scheduler/; correct with_admission_layer.
  • config-plumbing.md — rewrite Step 4 to the real &self builder / struct-literal shape.
  • storage-backend.mddata-connector v2.2.0v2.3.0.
  • contribute/SKILL.md — clippy gate --workspace; add std::process::exit disallowed-method; clarify generate-clients scope.

New coverage

  • provider-api.md — shared SSE codec (SseEncoder/SseDecoder) + protocol fidelity (serde flatten, function_call pairing).
  • grpc-backend.md — 4th macro impl_admin_ops!, per-engine macro matrix, TokenSpeed engine, get_loads/subscribe_kv_events, DP-rank pinning.
  • kv-index-feature.md — fused match_and_insert; removal of the 2048-worker cap.
  • mesh-feature.md — MeshAdapters composition root + outbound worker mesh sync; watermark op-id tie-break.
  • multimodal-feature.md — ABI-generalization renames (VisionPreProcessor, PreprocessedEncoderInputs, …) + first-class video modality.
  • mcp-feature.mdBuiltinToolType builtin-tool classification.
  • discovery-feature.mdkv_engine_id special key + tokenspeed backend.
  • reasoning-parser.mdfind_pooled_parser_for_modelcreate_for_model; QwenThinkingParser example.
  • tool-parser.md — MiniMax-M2 schema coercion / unknown-name forwarding.
  • bindings-update.mdPolicyTypePolicyConfig sync callout.
  • review-pr/SKILL.md — note routers now include responses/, conversations/, grpc/.

Durability — all recipes: file.rs:NNN line refs replaced with file.rs + symbol anchors.

scheduler-feature.md and auth-feature.md were verified accurate (de-brittling only / no change). commands/smg.md, .agents/, and plugin configs are unchanged. No skill description: frontmatter changed, so triggering behavior is unaffected.

Affected Skills

  • smg:map
  • smg:contribute
  • smg:review-pr
  • smg:implement
  • Recipe files (all under skills/implement/)
  • Command router (smg.md) — verified, unchanged
  • Plugin config (plugin.json) — unchanged

Checklist

  • Follows conventional commit title format
  • Commit(s) are signed off (git commit -s)
  • Tested with claude plugins add . locally — not run; all content verified against smg HEAD by reading source, and the 11 most load-bearing new symbols confirmed at their cited paths
  • Skill triggers correctly on intended prompts — no description: frontmatter changed, so triggers are unaffected
  • No broken @file.md references in skills

Skills were last verified against smg on 2026-06-08; ~123 commits have
landed since. Audited every recipe against the current code (not commit
messages) and fixed the drift.

Removed/renamed (factual fixes):
- map, implement: drop the removed `tui`/`smg-tui` crate; add the new
  `mock_worker` crate; fix the repo-root directory-layout line.
- mcp: drop the removed `oauth.rs` from the module map.
- observability: drop the removed `/ws/metrics` WebSocket; document the
  new `runtime_metrics.rs` (event-loop canary + runtime sampler).
- tenancy: drop the removed `TenantAliasStore`/`resolve_tenant_key`
  alias remap (resolution is now infallible); note the new
  `request_charge_id` field on `RouteRequestMeta`.
- routing-policy: `get_all_power_of_two_policies()` ->
  `get_all_load_aware_policies()`; add `remove_worker`.
- rate-limit: `middleware/scheduler.rs` -> `middleware/scheduler/`;
  correct the `with_admission_layer` behaviour.
- config-plumbing: rewrite the to_router_config/to_server_config snippet
  to the real `&self` builder / struct-literal shape.
- contribute: clippy gate gains `--workspace`; add `std::process::exit`
  to the disallowed-methods table.

New coverage:
- provider-api: shared SSE codec (SseEncoder/SseDecoder) + protocol
  fidelity (serde flatten / function_call pairing).
- grpc-backend: 4th macro impl_admin_ops!, per-engine macro matrix,
  TokenSpeed engine, get_loads/subscribe_kv_events, DP-rank pinning.
- kv-index: fused match_and_insert; removal of the 2048-worker cap.
- mesh: MeshAdapters composition root + outbound worker mesh sync.
- multimodal: ABI-generalization renames (VisionPreProcessor,
  PreprocessedEncoderInputs, ...) + first-class video modality.
- mcp: BuiltinToolType builtin-tool classification.

Also de-brittled all `file.rs:NNN` line references to file + symbol
anchors so they survive upstream churn.

Signed-off-by: Simo Lin <25425177+slin1237@users.noreply.github.com>
@slin1237
slin1237 merged commit dadf2ec into main Jun 18, 2026
2 checks passed
@slin1237
slin1237 deleted the chore/resync-skills-smg-1.5.0 branch June 18, 2026 04:16
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.

1 participant