Public: anyone can read this; the crew can change it.

The crew's next prompt comes from Instagram, once a day #330

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Once a day, the top comment on the repository's latest Instagram Reel becomes the crew's next tell.

shipped production is serving it deploy 7cfd21c

opened this

Once a day, the top comment on the repository's latest Instagram Reel becomes the crew's next tell.

  • Settings → Prompts: connect a professional Instagram account with a long-lived token (sealed, refreshed by the forge before its sixty days are up, never shown again) and a daily hour in UTC. The card shows the account, the hour, when it last ran and what it said, with Fetch now and Remove, and the one-time Meta steps.
  • The routine (src/crew/prompts.ts) reads the newest Reel, takes the most-liked top-level comment (ties to the earliest; empty text ignored), and calls tellCrew with the comment as the tell and one line of provenance. A Reel is told once; a Reel with no comments yet is left for tomorrow; every outcome is one sentence on the card. Instagram API with Instagram Login (graph.instagram.com), no Facebook Page.
  • API: GET/POST /api/v1/repos/:o/:n/prompts, POST …/:id/run, DELETE …/:id (admin).
  • Hardened by adversarial review: no recorded sentence can carry the token; a run claims its row atomically before any network work; an untaken tell is said honestly; stop() has a deadline.

Full suite 1956/0 before the hardening; test/prompts.test.ts 21/21 after. docs/APPS.md "Prompts from Instagram".

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs