Commit Graph

918 Commits

Author SHA1 Message Date
William Valentin e905fe1d56 feat(audit): persist phase0 backend drift report artifacts 2026-02-27 09:05:25 -08:00
William Valentin 20224f1601 feat(audit): add phase0 backend drift and freshness gates 2026-02-27 09:01:43 -08:00
William Valentin 68cdc2cf8b feat(audit): add backend-scoped phase0 live baseline capture 2026-02-27 08:47:31 -08:00
William Valentin a97cc9dc95 docs(prompt): tighten TOOLS.md tool-use rules
Replace vague "use tools immediately" imperative with precise rules:
add explicit no-tools-available clause to prevent fabrication on
tool-less backends, simplify the Operational Response Contract into
principles, and remove the redundant Autonomy Guardrail section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 08:42:34 -08:00
William Valentin 4880d757c5 docs(audit): add phase0 baseline cadence scheduling runbook 2026-02-27 00:43:37 -08:00
William Valentin 826df1d35b feat(audit): automate gateway phase0 live-window capture 2026-02-26 23:56:30 -08:00
William Valentin 5a34e986bf docs(observability): capture gateway-origin phase0 live baseline window 2026-02-26 23:50:28 -08:00
William Valentin 4b07a1f166 feat(audit): replace probe baseline workflow with live anonymized capture 2026-02-26 23:41:13 -08:00
William Valentin c96aca5f1d chore(companion): enforce reference-app generator sync in CI 2026-02-26 21:00:28 -08:00
William Valentin 820af97859 fix(companion): make reference-app exports reproducible by default
No diagram change needed: this change only makes generated reference-app timestamps deterministic and adds an override flag.
2026-02-26 20:58:31 -08:00
William Valentin 078c3799ce feat(companion): add mobile runtime skeleton shell templates 2026-02-26 20:56:43 -08:00
William Valentin d303869866 feat(companion): add runnable macOS menu-bar reference app scaffold 2026-02-26 20:51:00 -08:00
William Valentin 3f6232d1fb docs(plan): mark personal-assistant productization roadmap complete 2026-02-26 19:41:35 -08:00
William Valentin 30cf5c5ea6 ci(companion): add bundle build-verify-upload workflow 2026-02-26 19:40:53 -08:00
William Valentin 90b6d94a81 feat(companion): emit release manifest metadata in bundles 2026-02-26 19:39:11 -08:00
William Valentin be8b1f29a4 feat(companion): add generated macos ios android reference app surfaces 2026-02-26 19:37:28 -08:00
William Valentin 3839c04a7d feat(companion): add build-and-verify bundle automation pipeline 2026-02-26 19:35:02 -08:00
William Valentin ad2f7b7d04 feat(companion): enforce checksum verification in generated launcher 2026-02-26 19:32:42 -08:00
William Valentin 995166fbbc feat(companion): add release bundle verification mode 2026-02-26 19:31:24 -08:00
William Valentin 5618ca1fc5 feat(companion): add optional signing for release bundle artifacts 2026-02-26 19:05:41 -08:00
William Valentin 5df8ece040 feat(companion): export platform shell templates for app starters 2026-02-26 19:03:22 -08:00
William Valentin f10c896a75 docs(companion): add release bundle install and verification runbook 2026-02-26 19:00:46 -08:00
William Valentin bbec292434 feat(companion): include checksums in release bundle artifacts 2026-02-26 18:59:44 -08:00
William Valentin 484247e1c1 feat(companion): export release bundle artifacts for shell packaging 2026-02-26 18:58:21 -08:00
William Valentin ee93061496 feat(companion): add shell bootstrap status location push controls 2026-02-26 18:55:29 -08:00
William Valentin 6620afcf1f feat(companion): add bootstrap manifest export for app packaging 2026-02-26 18:40:55 -08:00
William Valentin 62c427da4a feat(setup): add onboarding live checks and first-success guidance 2026-02-26 18:18:12 -08:00
William Valentin 03926a81eb docs: sync voice reliability updates and phase state 2026-02-26 17:29:29 -08:00
William Valentin 163b1a0139 feat: harden voice reliability with tts fallback and talk controls 2026-02-26 17:29:23 -08:00
William Valentin 2a9bed8c91 Document companion reconnect/handoff reliability progress 2026-02-26 17:01:22 -08:00
William Valentin 184dc2c688 Add companion reconnect state recovery and handoff helper 2026-02-26 17:01:16 -08:00
William Valentin e9873ad22b Document browser reliability layer and roadmap progress 2026-02-26 14:06:53 -08:00
William Valentin 7c904ef0fd Add browser workflow reliability primitives and guardrails 2026-02-26 14:06:46 -08:00
William Valentin 3cc9e16ef5 feat(subagents): complete queue, budgets, audit, and inspection controls 2026-02-26 13:28:10 -08:00
William Valentin b679261683 feat(subagents): add idle ttl cleanup and summary tool 2026-02-26 13:12:53 -08:00
William Valentin 2171346116 feat(subagents): add multi-turn subagent session runtime 2026-02-26 13:07:34 -08:00
William Valentin e887c3c964 docs(plans): add personal assistant productization roadmap 2026-02-26 12:45:06 -08:00
William Valentin adcef2249b docs: improve local backend reliability and documentation
- Switch local endpoints from localhost to 127.0.0.1 to avoid IPv6 resolution issues\n- Add recommended Ollama user systemd service example with keep-alive and CUDA support
2026-02-26 12:19:28 -08:00
William Valentin d07e05d4cc fix(config): change no_tools_mode default to false for pi_embedded
The previous default of true was overly restrictive. false is the correct
default — tool-like prompts fall through to native handling only when
explicitly enabled.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 11:52:43 -08:00
William Valentin a00451a690 fix(auth): cancel OAuth callback server when flow is aborted
Add AbortSignal support to startCallbackServer and loginAnthropicOAuth
so that pressing Ctrl+C during the browser OAuth flow immediately closes
the HTTP server and 5-minute timer instead of leaving the process hung.

Wire up an AbortController in the TUI browser OAuth path so the cancel
callback aborts the signal on Ctrl+C.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 11:51:27 -08:00
William Valentin dfc7fbe3b9 fix(cli): add curly braces to single-line if statements in resolveAuthMode 2026-02-26 11:34:47 -08:00
William Valentin ed66dc98d3 feat(cli): add --browser flag to anthropic-auth command 2026-02-26 11:33:23 -08:00
William Valentin 0c500855c5 feat(tui): replace Anthropic token paste with browser OAuth flow 2026-02-26 11:31:19 -08:00
William Valentin 7b9e1e6cba fix(auth): correct ternary indentation in openBrowser 2026-02-26 11:28:29 -08:00
William Valentin 57f08e7005 feat(auth): implement Anthropic OAuth PKCE browser flow
Add openBrowser, exchangeCodeForToken, and loginAnthropicOAuth to
src/auth/anthropic.ts, completing the full PKCE OAuth flow. Includes
5 new tests covering happy path, state mismatch, 403 subscription
error, 500 error, and missing access_token cases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 10:52:28 -08:00
William Valentin 82f09422d6 feat(auth): add PKCE helpers and OAuth callback server for Anthropic
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 10:32:13 -08:00
William Valentin 6e63e00b84 docs: Anthropic OAuth browser flow implementation plan 2026-02-26 10:30:22 -08:00
William Valentin 8d41d14266 docs: design Anthropic OAuth browser flow (PKCE + local callback server) 2026-02-26 10:26:15 -08:00
William Valentin c34b387ffe feat(tui): add tab completions for /login mode subcommand
Implement tab completion for /login <provider> mode <value> syntax,
allowing users to easily switch auth modes (api_key, oauth, auto) with
keyboard navigation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 09:44:59 -08:00
William Valentin 7004a1a805 fix(tui): only offer auth_mode prompt after successful credential storage
Introduce a `credentialStored` flag in all 4 credential paths (OpenAI
API key, OpenAI OAuth, Anthropic auth token, Anthropic API key). The
auth_mode prompt is now gated on `credentialStored`, so a failed store
call no longer falls through to prompt the user for an auth mode that
was never set.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 09:40:58 -08:00