Files
browser/openspec/changes/rebuild-scum-plugin-owned-data/tasks.md
T

2.2 KiB

Tasks

  • Revert the direct-data and reference-alignment commits while retaining unrelated local-debug fixes.
  • Add a generic scoped plugin data record model, repository, service, DTO, and HTTP API in Platform.
  • Add generic collection actions to the plugin-page host and browser API client.
  • Restore SCUM v57 SQL, config, log, and gift assets in the plugin package.
  • Rebuild the SCUM plugin page to use only generic collection bridge actions for users, squads, activity, gifts, and map points.
  • Remove obsolete SCUM-specific Platform/frontend data and gift surfaces that conflict with plugin ownership.
  • Add focused backend, plugin, and frontend tests; run structure and OpenSpec validation.
  • Record redacted evidence from the downloaded v57 database, configuration directory, log directory, and legacy SCUM projects; correct the effective database path and canonical user identity.
  • Extend the generic plugin query declaration with automatic cadence and merge/replace row-target semantics, and extend the manifest with ordered log projection plus presence/announcement declarations.
  • Schedule due collection queries from authenticated Run work polling, suppress overlapping jobs, and make successful replace snapshots delete absent records including on empty results.
  • Project supervised stdout login sequences into Steam-ID-keyed users and activity records, apply the ten-minute presence window, and queue plugin-declared global new/returning-player announcements without a UI session.
  • Correct the SCUM user SQL to include account-only users, declare 3-second player/vehicle/position and 30-minute squad/member cadences, and preserve plugin-owned slower cadences for other observations.
  • Remove page-owned query dispatch and all manual synchronization/reload controls; reread Platform collections automatically and merge users only by stable IDs.
  • Remove unverified gift/activity count ceilings that are not imposed by the SCUM data contract, then update focused backend/plugin/frontend tests.
  • Run focused and full verification, scripts/check-structure.sh, and openspec validate rebuild-scum-plugin-owned-data --strict before marking these tasks complete.