Repository navigation
feat(aula): Vinci and aula entregas show the files the student handed in - #179
Merged
Merged
Conversation
…ed in Canvas already sends each submission's attachments with the assignments; sync now keeps them (and the link and attempt) in assignments.submission. ver_tarea returns them as tu_entrega, and the new `aula entregas` lists what was handed in, newest first, so an agent no longer needs a browser to see which PDF went in.
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.
What
Vinci and the
aulaCLI now know which files you uploaded in each submission. Before this change they only knew that an assignment was handed in, so an agent asked "which PDF did I hand in?" had to open Canvas in a browser.Original request (in a Claude Code session, after the agent used the browser to find a submitted PDF):
attachments,url,attemptandsubmission_typefrom the submission Canvas already returns with the assignments (no new request). They go in a newassignments.submissioncolumn, added bystore.connecton existing databases.ver_tareareturns them astu_entrega, and its description tells the model to use them for «¿qué entregué en …?».aula entregas [--curso]lists what you handed in, newest first:Rows read before this deploy show their files after the next poll, about 10 min later.
Testing
The E2E's
test_canvasnow runsaula entregasafter poll 2. That assertion has not run end to end yet.test_canvasfailed earlier, on a stale check left by #176 (it expected the 80K summarize threshold that #176 raised to 200K on purpose;mainis red on it too). This PR fixes that line, andtests/conftest.pyrefuses a rerun after a one-line fix. The other 4 tests passed. Instead, I ran the real_Syncer.assignmentsandaula'srender_submissionsagainst the state1 → state2 fixtures: the output above came from that run.Docs:
docs/guia/terminal.md(the new command),claude/skills/aula/SKILL.md(its table), the feature map's «Assignment detail» row.