feat: claude-action filing of queue-intake/cite issues - #49
Merged
Conversation
The dashboard's 📥/📑 buttons now complete end-to-end in CI: a queue-intake or queue-cite labeled issue (owner/member/collaborator authored) triggers queue_filing.yml, which has claude-code-action@v1 identify the paper (arXiv-scoped WebFetch), add the canonical BibTeX entry, write the sources section (minimal for cite, full stub for intake, the human's notes folded in) and DONE-mark the queue line — then deterministic steps gate with make validate + pytest, stage explicit paths only, push queue-filing/issue-<n>, and open a PR that closes the issue. Merge stays human. Trigger is 'labeled' only (fires for creation-applied labels too, avoiding the opened+labeled double-run). Fails with a clear message when the CLAUDE_CODE_OAUTH_TOKEN secret is absent — it must be added to this repo before first live use (org pattern: PyAutoMind arxiv_papers.yml). Closes #48. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K21CJX9TAgULDo1fFJtonc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Item 4 of the approved dashboard follow-ups (#48): the 📥/📑 buttons now complete end-to-end in CI. A
queue-intakeorqueue-citelabeled issue triggersqueue_filing.yml, which hasclaude-code-action@v1identify the paper (arXiv-scoped WebFetch), add the canonical BibTeX entry, write the sources section (minimal for cite, full stub for intake, the human'snotes:folded in) and DONE-mark the queue line — then deterministic steps gate withmake validate+pytest, stage explicit paths only (bibliography/,wiki/,reading-queue.md), pushqueue-filing/issue-<n>, and open a PR that closes the issue. Merge stays human.Security/robustness:
queue_actions.yml; trigger islabeledonly, which covers creation-applied labels and avoids the opened+labeled double-run./tmp/filing_error.txt, the run aborts and posts the reason to the issue without editing anything.validate.ymldoes not run on them — the same gates run inside this workflow before push.Add the
CLAUDE_CODE_OAUTH_TOKENsecret to this repo (Settings → Secrets and variables → Actions). It currently exists only as a PyAutoMind repo secret and cannot be copied programmatically.API Changes
None — internal changes only (one new workflow; no script/renderer changes).
Test Plan
make validate+ 27 board tests green (untouched)The Mind spawn template DROPs the new workflow (PyAutoMind 68bc7051), like its two siblings.
Generated by the PyAutoLabs agent workflow.