allod skill: scannable two-column list from a summary field #264
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!264
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/skill-format-a"
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?
The
allod skilllist is now the format the owner approved (mockup iterated in session): one aligned line per skill — name padded to the longest listed name, two spaces, then a one-line summary — instead of a full frontmatter description truncated at 100 characters.What changes for a running machine:
summary:frontmatter field, at most 70 characters: the line humans see.description:keeps its role untouched — the agent's trigger text, read in full viaallod skill <name>.descriptiontruncated to the summary limit at a word boundary, so the format lands before any description is rewritten.nameover 16 characters or asummaryover 70 refuses the listing, naming the SKILL.md path and the limit. The owner set both so one long field cannot dominate the column again.parseSkillFilenow reads keys only from the frontmatter block: previously a body line beginningname:orsummary:could supply a frontmatter value when the real key was absent.allod skill <name>(whole-file print),--from, and dedup across sources are unchanged.If it is wrong: a false refusal names the path and the limit, so the fix is editing the field; rendering is visible by running the command. A straight revert removes all of it.
Closes allod/tools#263. Refs allod/memory#78 — the summaries themselves, the
delegate-implrename, and the memory-repo prose land there; land that second, after tools.Risk
R1. Refusal-only enforcement plus rendering; no state mutated, no secrets, no cross-repo ordering on this side. Worst credible case is a false-positive refusal that names its path, recoverable by editing one field. Rollback is a straight revert.
Validation
go test ./...green in all four build-tag combinations;gofmt -landgo vetclean.summaryprinted verbatim when present; description truncation fallback; name-over-limit and summary-over-limit refusals naming the file; global sort across multiple--fromsources; a body line that mimics frontmatter supplying nothing.allod/memoryskills directory: refuses whiledelegate-implementation(23 chars) exceeds the name limit — the live receipt for the rename in allod/memory#78; on the renamed worktree it lists all six skills, every line within the column.f7162b4497to392d99a678