Skip to content

Cut skill prose restating rules the tools already enforce - #178

Open
scarabeusiv wants to merge 2 commits into
openSUSE:mainfrom
scarabeusiv:skill/cut-tool-enforced-prose
Open

scarabeusiv wants to merge 2 commits into
openSUSE:mainfrom
scarabeusiv:skill/cut-tool-enforced-prose

Conversation

@scarabeusiv

Copy link
Copy Markdown
Collaborator

Removes every passage that restates a rule geectl, rpmcrab or spec-cleaner already enforces. The skill keeps only the command invocation where the workflow runs each gate, plus the agent's own judgement calls.

Cut:

  • Changelog rules (V1-V13: missing/empty .changes, patch mention, format, insertion-only, URL-only bodies, bullet levels, 67-col wrap) - geectl changelog validate and the precommit gate; the entry template is geectl changelog generate --write.
  • scripts/forward-check.py, scripts/soname-check.sh and their tests - geectl request forward-check (14 verdicts) and geectl build check-sonames.
  • The -s <id> flag, which does not exist - a fixed MINE-DECLINED is now filed with geectl request refile ... --supersede <id>.
  • Dangling pointers the cuts left (renamed changelog sections, the entry skeleton heading) and a pre-existing wrong-file pointer (changelog-rules.md cited SKILL.md for a section that lives in changelog-entry.md).

Kept (agent judgement the tools cannot make): curating a summary, deciding what counts as a highlight, when to ask a human - including the incoming-review checklist, which runs no tools, and the token 401 no-fallback rule.

Requires geectl 0.3.1 (minimum bumped): the forward-check and check-sonames leaves are merged on geectl main but unreleased, so check-geectl.py is red on exactly those two leaves until 0.3.1 ships. CI stays on 0.3.0 until then.

Removes every passage that restates a rule geectl, rpmcrab or
spec-cleaner already enforces. The skill keeps only the command
invocation where the workflow runs each gate, plus the agent's own
judgement calls. Changelog rules (V1-V13) live only in geectl
changelog validate and the precommit gate; forward-check.py and
soname-check.sh are deleted for the geectl leaves geectl request
forward-check and geectl build check-sonames. Requires geectl 0.3.1
(the two leaves are merged on geectl main but unreleased).
@scarabeusiv
scarabeusiv force-pushed the skill/cut-tool-enforced-prose branch from c1d0e64 to de4f727 Compare December 1, 2026 21:06

@plusky plusky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a rebase onto v4.0.1 (15 conflicts) and these restored; none is enforced by a tool:

  1. The .changes author rule (changelog-entry.md "Author line", changelog-rules.md, changes-review item 8). gate.sh says it adds no author check, V11 checks only the form, changes-guard checks identity only under --amend-top/--squash-mine.
  2. forward-check.py: main's 06a9f02 (a _link naming no project/package) is not in the 0.3.1 leaf, parse_link_tag still returns None. Keep the script until the leaf has it. README points at src/obs/forward_check.rs, which the skill does not ship; exit codes and the ask notes for FOREIGN-DECLINED/NEW-IN-FACTORY are gone.
  3. rpmcrab: the BLOCK in changes-review item 3 and "fix every E: and every rpmcrab finding" in update-build step 5. No gate runs rpmcrab, and every "rpmcrab flags it" cut here depends on that rule.
  4. Prebuilt binaries: SKILL.md no longer mentions the rule, and changes-review lost what produces the findings it blocks on.
  5. changes-review: the pre_checkin.sh rerun and the stacked-entry BLOCK (V11 only counts against --entries, which the agent picks).
  6. desktop-themes.md: the %suse_update_desktop_file replacement recipe; specfile-guidelines.md:136 still points at the deleted HARD RULE.

On rebase keep main's memory steps, the --without-cleanup rule in agents/submit-watch.md and the gate line in script-usage.md; update the accept-forwards message in _pr_guard.py.

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.

2 participants