Skip to content

feat(glyph): add agentsview service#400

Open
stackptr wants to merge 3 commits intofeat/agentsview-packagefrom
feat/glyph-agentsview
Open

feat(glyph): add agentsview service#400
stackptr wants to merge 3 commits intofeat/agentsview-packagefrom
feat/glyph-agentsview

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Mar 24, 2026

Summary

  • Add agentsview PostgreSQL database and user
  • Add systemd service running agentsview pg serve as team dashboard on port 8095
  • Add systemd timer to push glyph's local sessions to PostgreSQL every 10 minutes
  • Tailscale subnet (100.64.0.0/10) already trusted in pg_hba.conf for passwordless access

Test plan

  • Deploy to glyph with nh os switch .#glyph
  • Verify PostgreSQL database created: psql -l | grep agentsview
  • Verify service running: systemctl status agentsview
  • Verify timer active: systemctl list-timers | grep agentsview
  • Dashboard accessible at http://glyph:8095

🤖 Generated with Claude Code

Copy link
Copy Markdown
Owner Author

stackptr commented Mar 24, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@stackptr stackptr changed the title feat(glyph): add agentsview service with PostgreSQL backend feat(glyph): add agentsview service Mar 24, 2026
@stackptr stackptr force-pushed the feat/glyph-agentsview branch from 50c6f0f to fd49947 Compare March 24, 2026 20:18
@stackptr stackptr marked this pull request as ready for review March 24, 2026 20:26
@stackptr stackptr force-pushed the feat/glyph-agentsview branch from fd49947 to 2bed94c Compare March 24, 2026 20:32
- Add agentsview database and user to PostgreSQL
- Add systemd service for agentsview pg serve (team dashboard on :8095)
- Add systemd timer to push local glyph sessions every 10 minutes
- Tailscale subnet trusted for passwordless PG access

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr force-pushed the feat/glyph-agentsview branch from 2bed94c to 7390492 Compare March 24, 2026 21:10
stackptr and others added 2 commits March 24, 2026 15:35
- Use preStart instead of ExecStartPre with + prefix so config dir
  is created with correct ownership under DynamicUser/StateDirectory
- Wrap pg push in a script that exits after sync completes, since
  agentsview starts a file watcher and web server after pushing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use ExecStartPre with + prefix (runs as root) to create .agentsview/
directory and chown it to the DynamicUser, so agentsview can write
config.json for its cursor secret.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant