You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`$Where` maps to `$chatChannels['rocketchat'][$Where]` and `$chatChannels['teams'][$Where]`
52
+
- Pre-switch sets `$channelName = 'notifications'` (or `'int-dev-announce'` for `sugarcraft/*` and `detain/scoop-emulators` / `detain/detain` / `detain/sugarcraft`); pass it as `$Where`
53
+
- Pre-switch defaults: `$useRC = false`, `$useTeams = true` — set `$useRC = true` per-case to enable Rocket Chat
52
54
- Teams payload wraps `$Payload['text']` in `['type' => 'message', 'message' => ...]`
53
55
- Always set `$useRC`/`$useTeams` flags per-case; some repos skip Teams (see `issues` case)
54
56
@@ -78,7 +80,6 @@ Each event type has a directory under `tests/events/{event_name}/` containing:
78
80
-`JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES` on all `json_encode` calls in `web/github.php`
79
81
- PHP CS Fixer enforces `@PSR2` + `@PHP74Migration`; run before committing
80
82
81
-
<!-- caliber:managed:pre-commit -->
82
83
## Before Committing
83
84
84
85
Run `caliber refresh` before creating git commits to keep docs in sync with code changes.
@@ -87,11 +88,24 @@ After it completes, stage any modified doc files before committing:
Read `CALIBER_LEARNINGS.md` for patterns and anti-patterns learned from previous sessions.
96
94
These are auto-extracted from real tool usage — treat them as project-specific rules.
97
-
<!-- /caliber:managed:learnings -->
95
+
96
+
<!-- caliber:managed:model-config -->
97
+
## Model Configuration
98
+
99
+
Recommended default: `claude-sonnet-4-6` with high effort (stronger reasoning; higher cost and latency than smaller models).
100
+
Smaller/faster models trade quality for speed and cost — pick what fits the task.
101
+
Pin your choice (`/model` in Claude Code, or `CALIBER_MODEL` when using Caliber with an API provider) so upstream default changes do not silently change behavior.
102
+
103
+
<!-- /caliber:managed:model-config -->
104
+
105
+
<!-- caliber:managed:sync -->
106
+
## Context Sync
107
+
108
+
This project uses [Caliber](https://github.com/caliber-ai-org/ai-setup) to keep AI agent configs in sync across Claude Code, Cursor, Copilot, and Codex.
109
+
Configs update automatically before each commit via `caliber refresh`.
110
+
If the pre-commit hook is not set up, run `/setup-caliber` to configure everything automatically.
0 commit comments