Skip to content

feat(sync): add issue-sync-helper.sh for bi-directional TODO/PLANS ↔ GitHub issue sync (t020)#542

Merged
marcusquinn merged 2 commits intomainfrom
feature/t020-issue-sync
Feb 8, 2026
Merged

feat(sync): add issue-sync-helper.sh for bi-directional TODO/PLANS ↔ GitHub issue sync (t020)#542
marcusquinn merged 2 commits intomainfrom
feature/t020-issue-sync

Conversation

@marcusquinn
Copy link
Owner

Summary

  • New issue-sync-helper.sh with 6 commands: push, enrich, pull, close, status, parse
  • Parses TODO.md tasks with full subtask trees, notes, tags, and estimates
  • Extracts PLANS.md sections (purpose, decisions, progress, discoveries) for plan-linked tasks
  • Finds related PRD/task files in todo/tasks/
  • Maps #tags to GitHub labels
  • Composes rich structured issue bodies with collapsible plan context
  • Supervisor's create_github_issue() now delegates to this helper (with inline fallback)
  • Fixes repo slug detection for BSD sed compatibility

Task

Implements t020 (GH#510) — Git Issues Bi-directional Sync. Absorbs t047 (GH#513, closed).

Testing

  • bash -n syntax check: pass
  • shellcheck -S error: zero violations
  • parse t020: correctly extracts task block, subtasks, notes, plan purpose/decisions/progress
  • status: correctly reports 46 open tasks without GH refs, 45 open issues
  • pull --dry-run: correctly identifies 45 refs to sync
  • enrich t020 --dry-run: correctly finds issue t020: Git Issues Bi-directional Sync (GitHub, GitLab, Gitea) #510
  • Supervisor tests: all 53 pass

….md ↔ GitHub issue sync (t020)

Consolidates scattered issue sync code from supervisor-helper.sh,
github-cli-helper.sh, and log-issue-helper.sh into a dedicated helper.

Commands: push, enrich, pull, close, status, parse
- Parses TODO.md tasks with subtasks, notes, tags, estimates
- Extracts PLANS.md sections (purpose, decisions, progress, discoveries)
- Finds related PRD/task files in todo/tasks/
- Maps #tags to GitHub labels
- Composes rich structured issue bodies
- Bi-directional ref sync (ref:GH#NNN)
- Drift detection between TODO.md and GitHub
…lper.sh (t020.6)

Supervisor now tries issue-sync-helper.sh first for rich issue bodies
with PLANS.md context, subtasks, and tag-to-label mapping. Falls back
to inline bare-bones creation if helper is unavailable. Also fixes
repo slug detection (BSD sed compatible).
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 8, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 1 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/t020-issue-sync

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 31 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Sun Feb 8 00:41:08 UTC 2026: Code review monitoring started
Sun Feb 8 00:41:08 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 31

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 31
  • VULNERABILITIES: 0

Generated on: Sun Feb 8 00:41:10 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2026

@marcusquinn marcusquinn merged commit c0efea5 into main Feb 8, 2026
10 of 11 checks passed
@marcusquinn marcusquinn deleted the feature/t020-issue-sync branch February 8, 2026 00:42
marcusquinn added a commit that referenced this pull request Feb 8, 2026
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