Skip to content

fix(cli): harden target/frontmatter checks and update skilld Skill - #255

Merged
harlan-zw merged 3 commits into
mainfrom
fix/pre-3-8-0-polish
Dec 3, 2026
Merged

harlan-zw merged 3 commits into
mainfrom
fix/pre-3-8-0-polish

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related to #253

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Closes the remaining #253 review edge cases and updates the bundled skills/skilld/SKILL.md for the v3.8.0 CLI surface before release.

  • Target status ordering (list and restore_check): calls store.verify_content before checking disk presence with fs::symlink_metadata, so tampered broken symlinks and simultaneously edited + missing-target Skills report modified instead of missing, and non-NotFound I/O errors propagate.
  • Frontmatter rewrite: preserves blank-line skipping inside multiline YAML block name: scalars (| / > / empty value) and normalizes trailing whitespace on closing --- delimiters so LocalStore::source_digest parses rewritten SKILL.md files cleanly.
  • Dead code removal: deletes duplicate unreachable --rename and --allow match arms in install_with_command.
  • Bundled skills/skilld/SKILL.md: documents skilld agents, --rename, --skill <pattern> globs, --source on update, --dry-run / --frozen-lockfile on install, and --json support across agents, install, add, list, remove, and verify.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent

harlan-github-agent Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

🟣 Merged · no further reviews

2026-12-03 01:10 UTC · Harlan Agent Kit automated review, not Harlan's · AI policy

@harlan-zw

Copy link
Copy Markdown
Collaborator Author

🤖 Harlan Agent Kit Agent assessment of head 8ba753d.

Capacity reason: Service Review remained queued past 20 minutes on 8ba753d1ae83585ef0a87c105cc860869101f26f after repeated provider retries and was stopped for this head.

Result: 0 confirmed blockers above 80/100 remain. Both frontmatter blockers found on b556a0d5 (all multiline YAML name: continuations and ... closing delimiter normalization) were repaired and verified in 8ba753d1. GitHub Actions Test run 47005125421 (quality and windows-install) passed on 8ba753d1.

@harlan-zw
harlan-zw merged commit 4ba89e5 into main Dec 3, 2026
4 checks passed
@harlan-zw
harlan-zw deleted the fix/pre-3-8-0-polish branch December 3, 2026 01:06
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