Skip to content

NFC: read-only assignment sync and safety controls - #21

Merged
Muawiya-contact merged 7 commits into
mainfrom
feat-nfc-assignment-workflow
Nov 15, 2026
Merged

Muawiya-contact merged 7 commits into
mainfrom
feat-nfc-assignment-workflow

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

What this delivers

This is the safe first half of #17: Maya can now read the owner's NFC-IET CMS assignment list on a configurable schedule and turn verified portal rows into tasks. It deliberately does not implement file upload or submission.

  • Adds a fresh-session NFC CMS reader for the official Assignment list.
  • Reads student ID and password only from OCI Vault through the VM instance principal; .env stores only secret OCIDs.
  • Creates/updates tasks from stable portal IDs; submitted/reviewing/graded items become done and expired items never remind.
  • Fails closed on unfamiliar login redirects, table layouts, deadlines, or status labels.
  • Adds owner-confirmed text/voice controls to pause or resume NFC, VU, or both checks without deleting current tasks or reminders.
  • Documents OCI Vault setup, credential rotation, limitations, and safe verification.

Validation

  • npm run typecheck
  • npm run lint
  • node --import tsx --test tests/nfc-lms.test.mjs tests/nfc-sync.test.mjs tests/nfc-scheduler.test.mjs tests/owner-agent.test.mjs tests/vu-source-state.test.mjs tests/vu-scheduler.test.mjs — 22 passing tests

Manual follow-up

  1. Configure the two NFC secret values in OCI Vault and add their OCIDs to the VM .env as described in docs/NFC-CMS.md.
  2. When an ordinary, non-critical NFC assignment becomes open, leave it unsubmitted and tell us. We then need to inspect the live submission form before implementing the separate confirmation-and-receipt upload phase.

Issue status

Partially advances #17. The NFC upload requirement remains intentionally open: there is no live-form evidence yet for accepted files, overwrite behavior, final receipt, or anti-automation checks. This PR must not be treated as closing #17.

@netlify

netlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for maya-assistant ready!

Name Link
🔨 Latest commit df74573
🔍 Latest deploy log https://app.netlify.com/projects/maya-assistant/deploys/6af91c06cc486fa438bbb47f
😎 Deploy Preview https://deploy-preview-21--maya-assistant.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-15T02:32:21.336118Z
We couldn’t complete this review. Comment @codex review to try again.
83a9dd9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ok

@Muawiya-contact
Muawiya-contact merged commit 5df8096 into main Nov 15, 2026
6 checks passed
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