Add private Kingston Food Help aggregate analytics - #7
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
buscore-lighthouse | af0757c | Commit Preview URL Branch Preview URL |
Sep 05 2026, 12:01 AM |
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.
Kingston Food Help needs useful community-use reporting without collecting sensitive food-provider or visitor histories. This draft adds an isolated daily aggregate profile and a protected Kingston report for Agent Smith’s
/kfhcommand.Validation: typecheck and all 208 tests pass locally, including real SQLite SQL constraints/rollback, privacy rejection, suppression/rate failure, retention, auth and report windows.
sql.jsis test-only; production dependencies remain unchanged. Native Cloudflare/D1 execution is a rollout check, not a local proof. Existing BUS Core/TGC and CEO suites pass.Review/rollout: this PR does not activate website analytics. The default-off website emitter/consent wording requires its separate reviewed change. Migration 0016 needs explicit approval and remote verification before any Lighthouse promotion. Preserve the existing CEO consumer-parity gate and external Workers Builds verification before merge. Branch publication may upload a non-promoting preview/version; production promotion remains separately controlled. No merge, production request, migration, deployment or secret operation was performed.
Companion consumer: Agent Smith PR #8 — private
/kfh. Lighthouse GitHub Governance Validation run 33931575258 passed.Governance: behavior changed; SOT, CHANGELOG, operations and contract updated; 1.31.0 → 1.32.0 with package/lock parity. AGENTS.md unchanged. Diagnostic access: local tests and approved GitHub repository reads only. External mutation: this review branch/PR, with possible CI/preview/version effects. No production analytics evidence was written.
Changed files:
CHANGELOG.mdKFH_ANALYTICS_CONTRACT.mdOPERATIONS.mdREADME.mdSOT.mdcontracts/kfh-v1/empty.jsoncontracts/kfh-v1/sample.jsoncontracts/kfh-v1/unavailable.jsonmigrations/0016_add_kfh_daily.sqlpackage-lock.jsonpackage.jsonsrc/index.tssrc/kfhAnalytics.tssrc/kfhContract.tstests/kfh-analytics.test.mjstests/release-control.test.mjs