feat(form): full forms filtering, sorting, automation & guest identity#63
Merged
Merged
Conversation
Add two new boolean flags to `dailybot form submit`: - `--automation` — channel notifications show no submitter name (for web-form bridges, CI pipelines, third-party integrations) - `--anonymous` — channel notifications show a random generated name instead of the real user Both flags are optional, independent, and default to false. When combined, automation takes precedence for the channel display. Wired through api_client.submit_form_response → CLI flag → API payload. Updated vendored forms skill docs with the new flags table. Added 5 tests (3 api_client, 2 command-level). Co-authored-by: Cursor <cursoragent@cursor.com>
…ubmit Extend the automation/anonymous mode with guest user attribution and submission provenance tracking. Client-side validation rejects invalid emails and source strings longer than 512 chars before hitting the API. The guest_user_required error code is now handled with a clear message. Co-authored-by: Cursor <cursoragent@cursor.com>
… responses Forms list now supports --filter (all/me/public/approval/workflow/archived), --order (alphabetical/recent/total), --ascending, and --include-questions. Form responses now supports --source (member/anonymous/automation/public CSV), --submitter (UUID CSV, max 50), --flow-status (pending/approved/denied), --order (recent/oldest), and --ascending. Client-side validation rejects invalid source values and too many submitter IDs before hitting the API. Also optimizes dev-container bash prompt with a 5-second TTL cache on the git dirty check to avoid ~3s delays on macOS bind mounts. Co-authored-by: Cursor <cursoragent@cursor.com>
Updates the vendored dailybot forms skill documentation to match the full filtering, sorting, automation, guest identity, and source tracking capabilities shipped in this branch. Co-authored-by: Cursor <cursoragent@cursor.com>
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
--automationand--anonymousflags toform submitfor controlling channel notification attribution--guest-name,--guest-email, and--sourceflags toform submitfor guest identity and provenance tracking--filter(all/me/public/approval/workflow/archived),--order(alphabetical/recent/total),--ascending, and--include-questionsflags toform list--source(member/anonymous/automation/public CSV),--submitter(UUID CSV, max 50),--flow-status(pending/approved/denied),--order(recent/oldest), and--ascendingflags toform responsesguest_user_required,invalid_filter,invalid_order,invalid_submission_sources,invalid_submitter_user_id,too_many_submitter_user_ids,invalid_flow_status)Test plan
pytest -x)