skill: cut comments to contracts and traps #261
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools!261
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/skills-list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up cosmetic commit riding behind merged allod/tools#256: the
allod skillimplementation's comments were written beforewriting.md's comment rules were applied to them. This cuts them to what the rules keep — a contract a caller relies on, a trap the obvious alternative falls into, or a pointer — and deletes the rest.No behavior change: comments only. Same tree as #256, rebased onto current master.
Risk
R0. Comments only; no executable line touched,
go test ./...green.Validation
go test ./cmd/allod/green,gofmt -landgo vetclean.skillShow, the skip-don't-die trap inreadSkills, the skimmability rationale onbriefLimit, the YAML-subset pointer inparseSkillFile, the rest-mutation contract infrontmatterValue, the block-scalar indicator set inisBlockScalar. Deleted: comments restating names or code paths (skillList,resolveSkillDirs,briefDescription, theok-semantics restatement).4ba1943050toa6b03c901d