Skip to content
Back to skills

Done

ASecurity

After `cardinal update`, the agent commits the new revision with a message written inline, without `skill:commit-message`: nothing in the update output or the instructions points it there. The outcome: the update names the next step, committing the change with `skill:commit-message`, and the harness update commits stop being `skill-routing-commit-message` breaches. * Measured 2026-11-03, after BRE-16 left out the throwaway and checked commits: 9 harness update commits (`chore(cardinal): updat...

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
developmentgogit

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add Electron-libre/cardinal --skill done --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Done?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Done
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/electron-libre-done-cardinal/badge)](https://www.skillsdirectory.com/skills/electron-libre-done-cardinal)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
priority: low
depends_on: [find_why_commits_skip_the_commit_message_skill]
why: 'a few skips in consumer projects; the close line of the parent issue is measured first'
---
# Route the update commit to the message skill

# Goal
After `cardinal update`, the agent commits the new revision with a message written inline, without
`skill:commit-message`: nothing in the update output or the instructions points it there. The outcome: the update
names the next step, committing the change with `skill:commit-message`, and the harness update commits stop being
`skill-routing-commit-message` breaches.

# Findings
* Measured 2026-11-03, after BRE-16 left out the throwaway and checked commits: 9 harness update commits
  (`chore(cardinal): update Cardinal to …`, `chore(harness): update the shared harness to …`) in 5 sessions of one
  consumer project skipped the skill, the last on 2026-10-30; none ran the message checker.
* `cardinal update` reports the previous and new revisions and the files changed (SYN-16), no next step.

# Approach
1. Print, after the report of SYN-16, one line naming the next step: commit the update with
   `skill:commit-message` (not under `--dry-run`, nor when nothing changed).
2. Re-measure the harness update commits after a few updates.

# Specs
* `specs/sync.md`: SYN-16 amended, or a new requirement.

# Milestone
Lean agent loop

# Resources
* `specs/sync.md`, `crates/cardinal/src/main.rs`.
* `issues/done/find_why_commits_skip_the_commit_message_skill.md`.

# Tracking

Plan: validated by Cedric Brancourt <cedric.brancourt@gmail.com> on 2026-11-03

## Understanding
`cardinal update` ends with a `next:` line pointing to `skill:commit-message` when it wrote a change and the project has
that skill; nothing under `--dry-run`, on conflicts, or when nothing changed. The re-measure (step 2 of the Approach)
is left for after a few updates, out of this plan.

## Plan
1. [x] Next-step line of `update`: print it in `main.rs` after the report, tests in `tests/update_cli.rs` updated;
   verified by `update_cli` tests; makes true SYN-61. (autonomous)

2. [x] Fixes of the `high` review: `UpdateReport.changed` set where `update` writes (a skipped gate, a conflict or a
   kept file is no change; a renamed `rev` comment is one), test with a git project under `core.hooksPath`, docs
   rewrapped; verified by `update_cli`; makes true SYN-61. (autonomous)

## Decisions
- Mode: autonomous
- Base commit: a5434425a2ee8851c37430d83c8b78c932e1ebec
- 1 a: the line only when the project has the skill; 2 a: on stdout, with the report.

## Deliverable 1 summary
- done: `update` ends on `next: commit the update with skill:commit-message` once it wrote a change and the project has the skill.
- checks: see the table of the final report (tests, lint, specs, docs, code review).
- red: SYN-61: `left: Some("updated: a.txt")`, `right: Some("next: commit the update with skill:commit-message")`.
- Code review: no findings
- not verified: the effect on the skips of `skill-routing-commit-message`, measured after a few updates.
- decisions needed: none.

## Deliverable 2 summary
- done: the `high` review findings fixed; the change is judged by the library where it writes.
- red: SYN-61: `next: commit the update with skill:commit-message` printed after `skipped (…): native review gate` at the same revision.
- Code review: no findings
- `high` review, not fixed: the binary names the path of the skill (`.claude/skills/commit-message/SKILL.md`); a move
  of the skill is a change of the managed content's layout, which ADR 0014 and 0017 already handle (format raised,
  migration), and the line only goes missing, nothing breaks.
- not verified: the effect on the skips of `skill-routing-commit-message`, measured after a few updates.
- decisions needed: none.

Files in this skill

  • accept_an_internal_proof_with_its_reason.md6.7 KB
  • add_a_just_recipe_to_waive_the_review.md7.5 KB
  • adopt_harness_in_projects.md2.4 KB
  • align_the_tracking_section_end_of_qua_6.md3.5 KB
  • allow_cardinal_run_in_the_synced_projects.md4.3 KB
  • allow_the_release_proposal_in_auto_mode.md4.1 KB
  • amend_rep_14_and_sua_6_to_the_code.md4.1 KB
  • animate_the_issue_at_work.md6.2 KB
  • apply_the_claim_time_to_the_claims_a_lock_holder_owns_by_pid.md4.2 KB
  • archive_the_released_milestones.md6.2 KB
  • ask_the_user_through_the_question_tool.md3.7 KB
  • audit_agent_instructions.md4.5 KB
  • audit_the_code_from_the_ui.md3.4 KB
  • audit_the_shared_instructions_for_conflicts_and_stale_guidance.md13.2 KB
  • bootstrap_specs_for_an_existing_capability.md5.2 KB
  • bring_the_architecture_doc_and_the_tool_list_in_step.md4.7 KB
  • budget_the_fixed_context_of_a_project.md5.2 KB
  • chart_the_measures_on_a_screen_of_their_own.md8.6 KB
  • chart_the_sessions_of_each_issue_over_time.md7.1 KB
  • cheapen_the_commit_gate_hooks.md4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.