Skip to content

feat(tools): Repo Control — Discord Activity + Clerk contributor web - #382

Merged
telivity-otaip merged 12 commits into
mainfrom
cursor/repo-control-dashboard-b2f3
Oct 16, 2026
Merged

telivity-otaip merged 12 commits into
mainfrom
cursor/repo-control-dashboard-b2f3

Conversation

@telivity-otaip

@telivity-otaip telivity-otaip commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Private Repository Control dashboard for HAIP: snapshot-based analysis, Telivity UI, Discord Activity (view-only), Clerk contributor read access.

Hosted Activity origin (live)

  • Primary URL: https://telivity-repo-control-v2.onrender.com
  • Health /api/health OK; Clerk + Discord client id wired; direct /api/snapshot returns 401 (auth required); Discord proxy read enabled via REPO_CONTROL_DISCORD_PUBLIC_READ
  • Secrets only on Render / local .env (not in git)

Discord — do these in the portal

  1. Invite bot (permissions 549756863504 = Manage Channels, View Channels, Connect, Use Embedded Activities):
    https://discord.com/oauth2/authorize?client_id=1560400786767220806&permissions=549756863504&integration_type=0&scope=bot%20applications.commands
  2. Activities → URL Mappings: Prefix / → telivity-repo-control-v2.onrender.com (no https://)
  3. Join a voice channel → Start Activity → Haip Dashboard

After the bot is in the server, channel setup: node tools/repo-control/scripts/discord-setup-channel.mjs

Fix in this branch

Render production installs skip devDependencies; tsx/vite are now production deps + lockfile refreshed.

Open in Web Open in Cursor 

Add an isolated tools/repo-control package with snapshot analysis,
capability probes, Graphify drill-in, private auth UI, and Discord
Activity (view-only) docs plus a separate Render blueprint.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip marked this pull request as ready for review October 15, 2026 20:56
Keep auth as env-only; do not document literal placeholder token values.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@cursor cursor Bot changed the title feat(tools): Repository Control Dashboard (Telivity + Discord Activity) feat(tools): Repo Control Discord Activity (view-only board) Oct 15, 2026
cursoragent and others added 2 commits October 15, 2026 21:02
Reframe README and Discord setup so the HTTP host is Activity plumbing
only, not a standalone hosted dashboard.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Add Clerk sign-up/sign-in for view-only web report access alongside
Discord Activity. Discord proxy read stays Activity-scoped; arbitrary
browsers require Clerk when configured.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@cursor cursor Bot changed the title feat(tools): Repo Control Discord Activity (view-only board) feat(tools): Repo Control — Discord Activity + Clerk contributor web Oct 15, 2026
cursoragent and others added 8 commits October 15, 2026 21:14
Document env var names only; real Clerk/Discord secrets stay out of git.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Keep secrets out of git; Activity SDK can resolve Application ID from
/api/public-config when Vite bake is missing.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Creates a repo-control voice channel once the bot is invited to a guild.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
NODE_ENV=production skips devDependencies, which broke rebuilds that
need tsx and vite. Document the live Activity origin and invite URL.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Render CI uses frozen-lockfile; keep lock in sync after moving
build tools into dependencies.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Bot invite alone does not list the app; URL mapping, Enable Activities,
supported platforms, and Developer Mode are required.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip merged commit 21a8f6d into main Oct 16, 2026
5 checks passed
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.

2 participants