Research-Stack/.devin/config.json
Brandon Schneider 7585388386 chore(devin): UserPromptSubmit hook — programming choice flow reminder
Adds .devin/config.json with a UserPromptSubmit hook that fires on every
user message and injects the programming choice flow + post-interaction
checklist into the agent's context via add_context.

.devin/hooks/programming-choice-reminder.sh:
  Emits a JSON add_context block with the 7-branch decision tree:
  1. Admissibility/gating → Lean only
  2. Receipt minting / top-level JSON → AVMIsa.Emit only
  3. Alignment classification → Lean (RRC.Emit)
  4. Raw input features → Python shim OK with constraints
  5. Float in compute path → STOP, use Q16_16
  6. Promotion in shim space → STOP, not_promoted until Lean gate passes
  7. Pure I/O → Python fine, route receipts through AVMIsa.Emit
  Plus the 4-step post-interaction checklist (AGENTS.md / build / commit / status)

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-26 22:27:41 -05:00

19 lines
498 B
JSON

{
// Project config for Research Stack.
// Hooks fire on every user message to remind the agent of the programming
// choice flow and post-interaction workflow defined in AGENTS.md.
"hooks": {
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "cat '/home/allaun/Research Stack/.devin/hooks/programming-choice-reminder.sh' | bash",
"timeout": 5
}
]
}
]
}
}