Skip to content

Add opt-in shared team Coach reminders and deadline modes - #159

Draft
Hype76 wants to merge 22 commits into
mainfrom
codex/coach-reminder-options-20261002
Draft

Hype76 wants to merge 22 commits into
mainfrom
codex/coach-reminder-options-20261002

Conversation

@Hype76

@Hype76 Hype76 commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Adds optional shared-team reminders for unanswered MATCH/TRAINING availability, squad selection alerts and Coach-selectable deadline strictness. All new automation defaults OFF and applies only to future confirmed deliveries. Automatic decisions retain distinct provenance; explicit answers win. Simon-approved durable retirement prevents last-responder unlink/relink from restoring an old deadline or replaying a notice. Existing Team Admin and scoped Coach/rank20+ including Assistant Coach access is preserved.

The current bounded repair fixes the installed adult self-recipient token guards: they required a public.users profile rejected by the adult-link validator. Both guards now resolve confirmed/current Auth identity plus verified active adult link and current team membership, retaining the Parent/contact/event/token/expiry branches, bearer-token semantics and existing ACLs. Actual MATCH/TRAINING UI wrappers save late explicit replies while keeping automatic history immutable. No broader account-model/UI/mobile/native changes.

Exact source d4fe0f4; Git/LF migration SHA25640bb7b9f5be25142541745fbd737e5b5d963a8217277e3a33cbf0b16a3b224ed. Prior017ee788 review identity is superseded; fresh independent review must assess this exact candidate. The prior narrow ledger/gate ACL correction remains intact.

Validation:77 focused tests,38 actual PostgreSQL session scenarios with797 distinct backends including queries/polls,21 full-closure authority checks,13 expanded default-OFF baseline comparisons,96 privilege assertions/9 denied ledger mutations, lint, migration441/secret2485 gates pass. All40 catalog-matching baseline triggers plus16 candidate hooks stay active. Actual adult late corrections, repeat replies, another user/team, revoked/unconfirmed/banned authority, removed membership, expired/cancelled events and OFF behavior were tested without forbidden profiles or weakened constraints. Seven response functions retain owners/security/tested grants; only the two intended guard definitions differ. Temporary PostgreSQL stopped, listener0/PID false.

Configured CI at this exact head: all9 configured jobs are terminal success. https://github.com/Hype76/footballdev/actions/runs/37069585449 and https://github.com/Hype76/footballdev/actions/runs/37069585519 . No gates weakened/skipped.

Limits: synthetic claims/local adapters/mock providers; local PostgreSQL18.3 versus installed17.6; bounded schema/function/trigger closure, extra UNIQUE(email), omitted guardian/unrelated internal FK referents. No deployed Auth/JWT/HTTP/PostgREST/native/device/provider acceptance/load proof. Independent review and separately approved dormant installation, stored OFF/ACL/RLS/function/trigger verification and remaining release checks are required before separately approved activation. Measured scheduler cadence is an operational verification, not a new user product decision.

Simon deferred app publication/OTA through Sunday4October2026 (1790978188.262589; parent1790978225.105599). Monday5October is a review point, not automatic release approval. No merge, production deployment, installation, activation, messages, attendance mutation or app publication. Native rebuild/store submission remain outside scope. Existing automatic draft-preview CI is not a production/app release. Preserve archives/worktrees/unrelated PR158/165/166. Parent owns Activity Log; denied append not retried. Final evidence and prepared readable12-column parent handoff are ready.

Verified final evidence: https://chatgpt.com/api/library/files/libfile_36edc8d4f98c81919488bb58266f5d8a/download . SHA2565A9061EA45ADFA8DBB13D25E2ED03F8461F33EEAEB348C93A52E9526A4E63EB1;482851bytes/67entries, upload/download readback verified. Includes exact tracked source, before-fix actual-wrapper denial and after-fix corrected path, full configured CI receipts, catalog/privilege/trigger/OFF evidence and prepared readable12-column parent log handoff. No denied append retry.

@netlify

netlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for footballplayer-online ready!

Name Link
🔨 Latest commit d4fe0f4
🔍 Latest deploy log https://app.netlify.com/projects/footballplayer-online/deploys/6ac02823b2199f0008d9f52b
😎 Deploy Preview https://deploy-preview-159--footballplayer-online.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@Hype76 Hype76 changed the title Draft opt-in Coach reminder policy and options Draft: shared Coach reminder policies and durable safety boundary Oct 2, 2026
@Hype76 Hype76 changed the title Draft: shared Coach reminder policies and durable safety boundary Add opt-in shared team Coach reminders and deadline modes Oct 2, 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