Commit Graph
10 Commits
Author SHA1 Message Date
hermes 72a23ff0d0 fix(bird): put Brave wrapper first on PATH and check the wiring 2026-11-29 10:37:58 -05:00
Lap Tran aae4dfd6d0 feat(bird): read X cookies from Brave only
Bird 0.8.0 asks Keychain for Chrome Safe Storage, but Brave stores its key
under Brave Safe Storage, so the reader fails before it can use Brave.

Manage the Bird config in Nix and add a wrapper at ~/.pi/agent/bin/bird.
The wrapper decrypts auth_token and ct0 from Brave cookie database with the
Brave Safe Storage key and passes them to bird as env vars. It has no
browser fallback, writes no Keychain item, and never opens the credentials
file.

Add an end-to-end shell check with a fake Brave cookie source and keychain.
The check fails before the wrapper exists and passes after implementation.
2026-11-28 15:46:40 -05:00
Lap Tran ad55229df8 no-mistakes(document): Clarify rebuild updates and check guidance 2026-11-23 17:57:16 -05:00
Lap Tran 022967e277 no-mistakes(review): Manage lint tools and preserve Pi packages 2026-11-23 17:31:01 -05:00
Lap Tran 4a31495181 no-mistakes(review): Fix updater ownership and behavioral coverage 2026-11-23 13:10:09 -05:00
Lap Tran 4e1b65b5d2 feat(rebuild): update every installed component from one rebuild 2026-11-23 12:49:53 -05:00
Lap Tran 2e2578ead8 no-mistakes(document): Note fm-oc2 alias in AGENTS.md and test header 2026-11-16 09:28:25 -05:00
Lap Tran 208e6741f3 feat(firstmate): add explicit fm-oc2 launcher alias and test all three aliases
fm and fm-oc2 both run oc2 from the firstmate home. fm-pi stays the
explicit Pi fallback. The launcher check now sources the generated
zshrc, runs each alias against spies, and asserts the working directory
and that fm and fm-oc2 launch identically.

The readme records that the aliases share one firstmate home and its
task records but keep separate chat histories, so the running primary
must be quit before starting the other.
2026-11-16 09:21:44 -05:00
Lap Tran 055c2eed91 no-mistakes(document): update crew-dispatch check description in readme 2026-11-15 23:05:29 -05:00
Lap Tran 0aa25b27f0 fix(firstmate): route documentation to Beam Free and guard the OpenCode 2 launcher
Add a documentation dispatch rule that uses opencode-go/beam-free while the
default workers stay on opencode-go/deepseek-v4.1-flash. Preserve the existing
UI rule and the Pi/GPT design exception.

Add live checks for the two operator-facing contracts:
- tests/fm-launcher.sh sources the zshrc that home-manager generates, runs fm
  with harmless pi and oc2 spies, and requires OpenCode 2 through oc2.
- tests/crew-dispatch.sh reads the dispatch config through firstmate's own
  bootstrap validator and asserts the default, documentation, UI, and design
  profiles.

Document the permanent fm decision, the no-mistakes model split, and the
minimal install procedure after merge.
2026-11-15 22:46:25 -05:00