bd sync: 2026-01-14 14:30:23

This commit is contained in:
2026-01-14 14:30:23 -08:00
parent 0843aa682e
commit b84e6e53cc

View File

@@ -58,4 +58,5 @@
{"id":"nixos-configs-vru","title":"Add skill for responding to Gitea PR review comments","description":"## Problem\n\nWhen responding to PR review comments on Gitea/Forgejo, the REST API (`/api/v1/...`) does not support replying directly to review comment threads. Using `tea comment` or the API creates new top-level comments instead of inline thread replies.\n\n## Discovery\n\nThe web UI uses a different endpoint that supports replies:\n\n```\nPOST /pulls/{id}/files/reviews/comments\nContent-Type: multipart/form-data\n```\n\nKey form fields:\n- `reply`: Review ID to reply to (e.g., `2`)\n- `content`: The reply message\n- `path`: File path (e.g., `home/roles/development/default.nix`)\n- `line`: Line number\n- `side`: `proposed` or `original`\n- `single_review`: `true`\n- `origin`: `timeline`\n- `_csrf`: CSRF token (required)\n\nAuthentication requires session cookies, not API token.\n\n## Proposed Solution\n\nCreate a Claude skill that can:\n1. Fetch PR review comments via the REST API\n2. Authenticate via browser session or find alternative auth method\n3. Post inline replies to review comment threads using the web endpoint\n\n### Options to explore:\n1. **Session extraction**: Get cookies from browser or `tea` config\n2. **Headless browser**: Use playwright/puppeteer to automate web UI\n3. **CSRF flow**: Login via API, get CSRF token, then use web endpoint\n4. **tea enhancement**: Check if `tea` CLI has undocumented reply support\n\n## API Reference\n\nGet reviews:\n```bash\ncurl -H \"Authorization: token $TOKEN\" \\\n \"https://git.johnogle.info/api/v1/repos/{owner}/{repo}/pulls/{id}/reviews\"\n```\n\nGet review comments:\n```bash\ncurl -H \"Authorization: token $TOKEN\" \\\n \"https://git.johnogle.info/api/v1/repos/{owner}/{repo}/pulls/{id}/reviews/{review_id}/comments\"\n```\n\n## Acceptance Criteria\n\n- [ ] Skill can read PR review comments given a PR number\n- [ ] Skill can post inline replies to specific review comment threads\n- [ ] Works with Gitea/Forgejo instances (git.johnogle.info)\n- [ ] Handles authentication securely","notes":"Plan: thoughts/beads-nixos-configs-vru/plan.md\nPR: https://git.johnogle.info/johno/nixos-configs/pulls/26","status":"closed","priority":2,"issue_type":"feature","created_at":"2026-01-10T11:29:18.493043744-08:00","created_by":"johno","updated_at":"2026-01-13T09:15:11.532836665-08:00","closed_at":"2026-01-13T09:15:11.532836665-08:00","close_reason":"PR merged"}
{"id":"nixos-configs-w0v","title":"Add Renovate for dependency tracking","description":"Set up Renovate bot to automatically track and update dependencies in Gitea Actions workflows.\n\n## Motivation\n- actions/checkout@v4 and other actions may become outdated\n- Manual tracking is error-prone\n- Renovate can auto-create PRs for updates\n\n## Scope\n- gitea-actions repo (composite actions use DeterminateSystems/nix-installer-action, actions/cache)\n- nixos-configs CI workflow\n- Potentially other repos with Gitea Actions\n\n## Tasks\n- Set up Renovate bot on Gitea instance (or use Mend Renovate if available)\n- Create renovate.json configuration\n- Configure update grouping strategy\n- Test PR creation for dependency updates","notes":"Track action version updates (e.g., actions/checkout, DeterminateSystems/nix-installer-action).\n\nApplies to:\n- gitea-actions repo (composite actions)\n- nixos-configs CI workflow\n- Other repos using Gitea Actions\n\nConsider:\n- Renovate bot setup on Gitea\n- renovate.json configuration\n- Grouping strategies for action updates","status":"open","priority":3,"issue_type":"task","created_at":"2026-01-13T16:25:39.216159651-08:00","created_by":"johno","updated_at":"2026-01-13T16:25:48.028129064-08:00"}
{"id":"nixos-configs-wb1","title":"Fix tmux 'missing or unsuitable terminal: xterm-ghostty' on SSH","description":"When SSH'ing to john-endesktop and running 'tmux attach', tmux fails with 'missing or unsuitable terminal: xterm-ghostty'. This happens because the remote machine doesn't have the terminfo for ghostty installed.\n\nPreferred solution: Install ghostty terminfo as part of the NixOS configuration so all machines have it available, even those not running ghostty directly.","status":"closed","priority":2,"issue_type":"bug","created_at":"2026-01-13T14:06:13.003367074-08:00","created_by":"johno","updated_at":"2026-01-13T14:09:38.6337072-08:00","closed_at":"2026-01-13T14:09:38.6337072-08:00","close_reason":"Added ghostty.terminfo to roles/common.nix"}
{"id":"nixos-configs-wgw","title":"PR description should include validation steps completed","description":"For parallel beads workflow, the PR description should include what validation steps have been completed.\n\nSource: Gitea issue #13\nhttps://git.johnogle.info/johno/nixos-configs/issues/13","status":"open","priority":2,"issue_type":"feature","created_at":"2026-01-14T14:30:18.732068919-08:00","created_by":"johno","updated_at":"2026-01-14T14:30:18.732068919-08:00"}
{"id":"nixos-configs-yrc","title":"Gitea integration Phase 2: Bidirectional sync","description":"Add push support to Gitea integration.\n\nDeliverables:\n- CreateIssue/UpdateIssue methods in client.go\n- Conflict detection and resolution\n- bd sync --gitea integration\n- Incremental sync via updated_at filtering\n\nParent: nixos-configs-cph","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-12T20:31:53.714748854-08:00","created_by":"johno","updated_at":"2026-01-12T20:41:43.804389915-08:00","closed_at":"2026-01-12T20:41:43.804389915-08:00","close_reason":"Deprioritized - revisit after more workflow experimentation","dependencies":[{"issue_id":"nixos-configs-yrc","depends_on_id":"nixos-configs-g47","type":"blocks","created_at":"2026-01-12T20:32:05.872628288-08:00","created_by":"johno"}]}