protocol-change-checklist
Use for any change affecting wire framing, handshake, transport semantics, session behavior, or protocol mapping.
来源信息
- 仓库
- meshtastic/meshtastic-sdk
- 最近来源活动
- 2026年5月2日 00:29
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 8
- 分支
- 6
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- protocol-change-checklist
- description
- Use for any change affecting wire framing, handshake, transport semantics, session behavior, or protocol mapping.
# Protocol Change Checklist
Use this skill for any change affecting wire framing, handshake, transport semantics, session behavior, or protocol mapping.
## Goals
- Preserve protocol correctness across TCP, BLE, and serial.
- Preserve trust boundaries and handshake gating.
- Keep error mapping consistent with docs/error-taxonomy.md.
## Required Context
Read before editing:
- AGENTS.md
- docs/SPEC.md
- docs/protocol.md
- docs/architecture/handshake-fsm.md
- docs/decisions/002-architecture.md
- docs/error-taxonomy.md
## Guardrails
- Never mark connection as Connected before matching config_complete_id.
- Discard pre-handshake bytes as specified.
- Do not introduce shared-state synchronization primitives in engine paths.
- Keep :core dependency boundaries intact.
## Implementation Steps
1. State current behavior and target behavior.
2. Identify invariants potentially impacted.
3. Implement smallest change preserving actor flow.
4. Add/adjust tests for handshake, framing, and failure mapping.
5. Validate docs and update protocol docs when behavior changes.
## Validation Commands
- ./gradlew jvmTest
- ./gradlew check
## Deliverable
Provide:
- changed files
- invariants preserved
- tests run and outcomes
- known residual risk
在 GitHub 查看