Commit Graph
26 Commits
Author SHA1 Message Date
ZacharyZhang-NY 3704cec19b Kick off goal execution when a goal is created
A goal created from the Work page only wrote a goals row; nothing ever
read it, so the company never started working on it. Creating a goal now
produces an "Operationalize goal" kickoff task for the chosen owner (or
the top-level agent when unowned) and re-enables that agent's heartbeat,
so the autonomous queue worker starts the run - the same activation
contract the previous runtime had via goal_activated wakes and CEO
bootstrap. Onboarding shares the same kickoff module instead of its own
copy.
2026-06-09 20:03:09 -04:00
ZacharyZhang-NY d5a7665893 Create project collaboration surface 2026-06-07 13:41:53 -04:00
ZacharyZhang-NY 3f34d1cf65 Create runnable agents from hire form 2026-06-07 13:37:36 -04:00
ZacharyZhang-NY d4ace283d1 Gate the model picker behind credentials: fetch on Get models or after OAuth login 2026-05-30 01:05:14 -04:00
ZacharyZhang-NY 0575712e02 Run the CEO agent autonomously with a real tool-use loop
The new app reached a real LLM but never ran an agent: the kickoff task_run
sat queued forever and runTask was a single text completion with no tools.

This adds the missing runtime:
- provider-tool-turn: OpenAI Responses + Anthropic Messages tool-use turns
- agent-tools + deliverable-writer: hire_agent, create_task,
  update_task_status, write_deliverable (workspace-scoped, traversal-safe)
- agent-run-loop: real tool-use loop, capped iterations
- task-queue-worker: claims queued runs in a transaction and executes them

task-execution now drives the loop; a background worker auto-runs the
bootstrap CEO run so it hires its team, delegates tasks, and writes the first
deliverable into the bound workspace. Autonomy is gated by AGENTCOMPANY_NEW_AUTORUN
(tests run with it off to stay hermetic).
2026-05-29 21:08:04 -04:00
ZacharyZhang-NY 1cda873cb5 Render audit events as readable labels instead of raw codes 2026-05-28 22:43:33 -04:00
ZacharyZhang-NY 216d485c58 Run skill revision tests 2026-05-23 22:56:06 -04:00
ZacharyZhang-NY 273f69eb05 Add provider request control surface 2026-05-23 20:44:09 -04:00
ZacharyZhang-NY 89763592de Add rollback snapshot controls 2026-05-23 18:57:18 -04:00
ZacharyZhang-NY 6768d19239 Add thread audit replay controls 2026-05-23 18:48:14 -04:00
ZacharyZhang-NY bbf90a1a62 Add SDLC review and eval controls 2026-05-23 18:39:05 -04:00
ZacharyZhang-NY bc14a2fbcb Add operations controls and SLO drills 2026-05-23 18:26:56 -04:00
ZacharyZhang-NY 7116ae2a7b Add organization governance controls 2026-05-23 18:13:00 -04:00
ZacharyZhang-NY 1d7757c88b Add identity access controls 2026-05-23 17:58:42 -04:00
ZacharyZhang-NY 276929b855 Add provider policy usage controls 2026-05-23 17:48:46 -04:00
ZacharyZhang-NY 1ee877e630 Add permission aware search 2026-05-23 17:34:50 -04:00
ZacharyZhang-NY 38c68ca4af Add compliance controls 2026-05-23 17:25:29 -04:00
ZacharyZhang-NY ff6fcf879d Add thread scoped audit replay 2026-05-23 15:52:02 -04:00
ZacharyZhang-NY d24cf6b289 Create approvals from chat escalations 2026-05-23 15:46:32 -04:00
ZacharyZhang-NY d89bbf708e Expose chat command metadata in snapshots 2026-05-23 15:39:54 -04:00
ZacharyZhang-NYandAmp 6d99f515c7 feat(new): enforce social publishing governance
Amp-Thread-ID: https://ampcode.com/threads/T-019e55df-9bcd-73e6-9935-c1e6238cd273
Co-authored-by: Amp <amp@ampcode.com>
2026-05-23 14:18:34 -04:00
ZacharyZhang-NY b44e0e3657 Purge wordy empty-state copy from renderer and tighten layout
Removes "Nothing pending.", "No tasks…", "Empty.", "No messages…", "No
files…", and similar status descriptions across Home/Work/Chat/Files/
Approvals/Social/Team/Settings panels — design-source never renders this
copy, and the user-frontend rule forbids status narration.

Lets the snapshot loader throw on IPC failure instead of holding a banner
string; the shell topbar handles its own crash boundary.

Fixes Team org-chart connector when only one agent is hired, switches
Settings to use one breadcrumb path, drops the unread badge until we have
read-state tracking, and snaps the Providers grid to the two-column
design spec.
2026-05-21 20:18:14 -04:00
ZacharyZhang-NY 74266566b7 Rebuild AgentCompany-New renderer to match design spec
- Port design tokens, sidebar, topbar, and icons to inline SVG set
- Rewrite each page (Home/Team/Work/Chat/Files/Approvals/Social/Settings)
  to drive real snapshot data and match the bento, kanban, three-pane chat,
  file tree + pinned cards, approval queue, social schedule + calendar,
  and settings sub-nav layouts
- Split Chat and Settings into per-concern subcomponents so every file
  stays under 500 lines
- Add schema v4 for pinned files and scheduled posts plus IPC + service
  wiring; cover new behavior in unit tests
- Update onboarding labels and Hire form to remove ambiguity for the
  expanded e2e suite (all settings tabs + 8 routes at 1280 and 980)
2026-05-21 19:42:38 -04:00
ZacharyZhang-NY f107ecba31 Harden PRD page coverage and migration audit 2026-05-21 09:04:36 -04:00
ZacharyZhang-NY 6992b3e70e Implement original onboarding bootstrap 2026-05-21 08:43:50 -04:00
ZacharyZhang-NY fcf6d90731 Rebuild AgentCompany Electron app 2026-05-20 23:27:00 -04:00