Skip to content

docs(sync): require post-conversion fixup checks#240

Merged
marcusrbrown merged 1 commit intomainfrom
olive-other-prawn
Mar 26, 2026
Merged

docs(sync): require post-conversion fixup checks#240
marcusrbrown merged 1 commit intomainfrom
olive-other-prawn

Conversation

@marcusrbrown
Copy link
Owner

  • add mandatory post-conversion sed fixup guidance to sync workflow
  • document ordered replacement phases, exclusions, and edge-case review
  • add required grep verification for remaining refs and over-conversions
  • update quality checklist to require fixup execution and verification
  • align markdown file loop to include tracked and untracked changed files

- add mandatory post-conversion sed fixup guidance to sync workflow
- document ordered replacement phases, exclusions, and edge-case review
- add required grep verification for remaining refs and over-conversions
- update quality checklist to require fixup execution and verification
- align markdown file loop to include tracked and untracked changed files
@marcusrbrown marcusrbrown enabled auto-merge (squash) March 26, 2026 02:27
@marcusrbrown marcusrbrown self-assigned this Mar 26, 2026
Copy link
Collaborator

@fro-bot fro-bot left a comment

Choose a reason for hiding this comment

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

Verdict: CONDITIONAL

The PR correctly adds mandatory post-conversion sed fixup guidance to the sync workflow. Well-structured documentation with ordered sed phases, clear exclusion rules, and mandatory grep verification. One blocking concern: the orchestrating-swarms skill will cause CHECK 1 to false-positive.

Blocking issues

  1. orchestrating-swarms will false-positive CHECK 1 — The CHECK 1 grep pattern includes TaskCreate and AskUserQuestion. The orchestrating-swarms skill intentionally documents CC's TaskCreate API in code blocks as aspirational reference (see its frontmatter: "Aspirational Note: This skill documents swarm orchestration patterns from CEP's Teammate API"). The sed pass won't touch these (it's limited to prose text), but the grep verification will flag them. Since skills/orchestrating-swarms/SKILL.md is not in the exclusion table, CHECK 1 will fail on every run.
    Fix: Add skills/orchestrating-swarms/SKILL.md to the Phase 2c exclusion table with a note that TaskCreate and AskUserQuestion in code blocks are intentional CC API references. Alternatively, add a grep -v '^skills/orchestrating-swarms/SKILL\.md$' to the file loop exclusion in sync-cep.md.

Non-blocking concerns

  1. CHECK 2 blind spot — The over-conversion regex (\.opencode/\.opencode/, config/opencode/\.config/) only catches double-conversion patterns. It won't detect single .opencode/ (e.g., ~/.config/opencode/~/.config/opencode/.opencode/ from a bad catch-all). The ordered sed phases (specific-before-general) mitigate this, so the risk is low.

  2. sync-manifest.json exclusion is implicit — The exclusion table documents it, and the file loop excludes it by nature of operating on .md files, but the sync-cep.md file loop doesn't explicitly grep -v the manifest path like it does for claude-permissions-optimizer. This is fine since the manifest is JSON, but an explicit exclusion would be more defensive.

Missing tests

None — this is pure documentation. No TypeScript code changes.

Risk assessment (LOW) + rationale

This PR is documentation-only. It:

  • Adds guidance to an existing workflow, does not change compiled code
  • Introduces no breaking changes to the plugin API (config/tool/system.transform hooks are untouched)
  • No changes to bundled skills/agents/commands in skills/, agents/, commands/
  • The sed patterns are ordered correctly (specific-before-general) to prevent double-conversion
  • Exclusion logic correctly handles sync-manifest.json (JSON, not .md) and claude-permissions-optimizer (CC refs intentional)
  • The verification grep patterns are comprehensive for the known failure modes

The primary risk (false-positive on orchestrating-swarms) is addressable with a one-line exclusion and does not affect the mechanical correctness of the sed pass itself.


Run Summary
Field Value
Event pull_request
Repository marcusrbrown/systematic
Run ID 23574487544
Cache hit
Session ses_2d8075b85ffeRRrVsIaOIkSdWF

@marcusrbrown marcusrbrown merged commit c823cb5 into main Mar 26, 2026
11 checks passed
@marcusrbrown marcusrbrown deleted the olive-other-prawn branch March 26, 2026 02:30
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