Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
Adds a contributor portal and CLI so people can search Cosift, save requests, and submit public webpage URLs for indexing. The web app supports email/password accounts, interests onboarding, Search/Research/Answer using Cosift's native endpoints, and URL or CSV submission with a downloadable sample.
Guests share one successful request or submission per 30 minutes per IP. Member accounts keep mode-aware saved requests and contribution history. Submissions are persisted, checked before enqueueing, and retried after transient failures.
Contribution prevalidation screens URL destinations and readable page content for adult material, malware, phishing, graphic abuse, extremist promotion, and serious harmful activity. Only an explicit safe decision permits enqueueing; rejected or inconclusive pages remain outside the crawl queue. Public-only network egress validates DNS and pins checked addresses, including redirects, and the receiving crawler must enable public-only access and adult filtering.
Validation
make checkpassed (build, vet, index/store/CLI tests).go vet ./internal/community, JavaScript syntax validation, andgit diff --checkpassed.Setup and limits
See
docs/COMMUNITY.mdfor service configuration, CLI examples, API routes, and deployment requirements. Answer, Research, and semantic moderation require a configured chat model. Community enqueueing requires a guarded Pebble crawler and an operator token. Without the required services, contributions remain held. The local preview has no configured chat model; no production deployment was performed.Moderation is automated URL/text screening, not a guarantee or an antivirus scan; images and videos are not visually classified. Interests provide search suggestions. Email verification and password reset are outside this first version.