Skip to content

About

🥒 A Slack game where you sneak a secret word into a team meeting and earn pickles.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Cornichon wearing spy sunglasses

Agent Cornichon

Your secret word is brouette (wheelbarrow).
Slip it into your next meeting to earn pickles.

Play a round · Deploy and operate

Play a round

  1. Open the Cornichon shortcut from Slack’s / menu and click Ouvrir les inscriptions. You can also open the pinned Cornichon workflow link if your channel has one.
  2. Click Rejoindre, then Démarrer la partie. To play solo, start from your self-DM. Pickle HQ opens the DM with Agent Cornichon.
  3. Read your secret word in your DM and work it into the conversation. Each agent gets a different word from the 150-word list.
  4. After the meeting, click Terminer l’opération and report your result in your DM. A success earns 30 pickles. Check your private total under Mon score.
  • Add the app to the channel before playing. Invitations appear in the channel even when you open the shortcut from a thread. From a one-on-one DM, the invitation goes to your DM with Agent Cornichon.
  • Play with 1 to 20 agents. The organizer or any registered agent can start or finish the round. You can leave before the round starts. The organizer can cancel it.
  • You can have one active mission per channel. Once the round ends, you can play again and submit your previous report later. The first saved result stands in normal play. See the Datastore decision for simultaneous clicks.

Deploy to the sandbox

Run slack app list and copy the App ID and Team ID from the agent-cornichon-dev entry. Install the Slack CLI and Deno 2.9.6, with both commands available on your PATH. Replace the placeholders and run this from the repository root.

slack deploy --app APP_ID --team TEAM_ID --manifest-source local --hide-triggers

See the deployment guide for private installations, shortcut setup, and rollback.

Customize Pickle HQ

In Slack’s emoji picker, click Add Emoji. Upload the seven PNGs listed below from the Agent Cornichon sticker pack using the filenames without .png.

The bot uses these seven custom emoji when available and standard Slack emoji otherwise.

  • cornichon-agent and cornichon-lancement
  • cornichon-mission and cornichon-rapport
  • cornichon-reussite and cornichon-echec
  • cornichon-score

Test and maintain the pilot

Run the same checks as GitHub Actions from the repository root with Deno 2.9.6.

deno fmt --check
deno lint
deno check --frozen manifest.ts triggers/cornichon.ts
deno test --frozen

Use the Slack smoke test to verify delivery with real accounts after deploying.

Test with the sandbox Datastore

The test uses the real Datastore and simulates Slack messages. It deletes its test records when it finishes. Supply the test sandbox and app IDs.

CORNICHON_TEST_TEAM="<id-sandbox>" CORNICHON_TEST_APP="<id-app>" \
  deno test --allow-run=slack --allow-env=CORNICHON_TEST_TEAM,CORNICHON_TEST_APP integration.test.ts

The app stores game data in Slack. See game data and deletion for the maintainer procedure.

About

🥒 A Slack game where you sneak a secret word into a team meeting and earn pickles.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages