47 Commits

Author SHA1 Message Date
Sai-karthik
6f03a133d5 PRM-52 restore six home modules 2026-06-08 19:35:20 +00:00
-Puter
9fd478c095 fix: keep onboarding qscore baseline at 35 2026-06-06 13:51:22 +05:30
-Puter
f0ef57f054 fix: allow long interview service actions 2026-06-06 12:53:22 +05:30
-Puter
dd48321904 fix: keep home feed responsive 2026-06-06 04:38:47 +05:30
-Puter
bef6d08b6b feat: add mission action queue runtime 2026-06-06 03:25:29 +05:30
-Puter
170d3583c6 fix: enrich roleplay service context 2026-06-06 01:59:00 +05:30
-Puter
aa8f2853b2 fix: enrich interview service context 2026-06-06 01:22:44 +05:30
-Puter
c47e6de526 fix: preserve nested resume service proxy paths 2026-06-06 01:03:05 +05:30
-Puter
5f667038d8 docs: plan robust retry and dlq layer 2026-06-05 22:01:00 +05:30
-Puter
ef5d7bb378 docs: map staging and production backend behavior 2026-06-05 22:01:00 +05:30
-Puter
d4f9b0edcb docs: inventory backend dead code candidates 2026-06-05 22:01:00 +05:30
-Puter
01e9cc92d4 docs: audit backend organization and actor flow 2026-06-05 22:01:00 +05:30
-Puter
213987a9e0 fix: persist onboarding qscore baseline 2026-06-05 19:51:24 +05:30
-Puter
8e4fdc6adf fix: set Rivet runner version in image 2026-06-05 19:08:52 +05:30
-Puter
d10ef2a882 feat: personalize home feed suggestions 2026-06-05 17:30:00 +05:30
-Puter
e478db9334 integrated phase 1 2026-06-05 00:40:28 +05:30
-Puter
9e96912942 updates 2026-06-04 21:36:58 +05:30
-Puter
1d3cfbcff7 fix: observe legacy service redis events 2026-06-04 16:58:48 +05:30
-Puter
f03de1ea58 feat: add grow event backbone 2026-06-04 16:12:32 +05:30
-Puter
1f7b2ae958 Merge service REST proxy changes 2026-06-04 15:57:23 +05:30
-Puter
821788558e feat: proxy service REST actions 2026-06-04 15:57:16 +05:30
-Puter
b7d61944b4 changes 2026-06-04 14:25:20 +05:30
-Puter
5c480ce90f feat: add missions actor, routes, features, workflow registry updates, and DB schema migration 2026-06-03 17:52:48 +05:30
-Puter
a1654d23b4 refactor(backend): rename workflows to missions in agent-facing tool descriptions and prompts 2026-06-03 15:26:30 +05:30
-Puter
289f6f7844 feat: add grow agent, conversation routes, pnpm migration, and scripts 2026-06-03 14:53:35 +05:30
-Puter
f3fe3c4748 mem actor 2026-06-03 12:27:18 +05:30
-Puter
c4217eb18c converstaion actor 2026-06-02 19:08:31 +05:30
-Puter
a937bcf09e update source code (src) (13 files) 2026-06-01 23:03:20 +05:30
-Puter
068b57c553 updates source code (docker) (1 file) 2026-06-01 23:03:20 +05:30
-Puter
86ec1fa603 updates source code (1 file) 2026-06-01 23:03:20 +05:30
-Puter
5839d91d97 updates configuration (2 files) 2026-06-01 23:03:20 +05:30
-Puter
a84f323cd5 update documentation (7 files) 2026-06-01 23:03:20 +05:30
-Puter
3663fb91b0 merge: pull origin/main into chore/release (resolve conflicts) 2026-06-01 21:51:57 +05:30
488fc1aeca growqr-backend: route service sessions to workflows dashboard (#4)
## Summary

  This PR updates backend service-session orchestration so
  interview, roleplay, resume, and matchmaking flows integrate with
  the shipped `workflows--dashboard` frontend instead of the old
  GrowQR app demo UI.

  ## Changes

  - Added `WORKFLOWS_DASHBOARD_URL` config with fallback to
  `FRONTEND_ORIGIN`.
  - Updated service session URL generation to point to dashboard-
  owned routes:
    - `/v2/service-sessions/interview`
    - `/v2/service-sessions/roleplay`
    - `/v2/service-sessions/resume`
  - Preserved session query params, including `session_id`, service
  id, and user-facing metadata.
  - Updated chat route handling so returned service cards include
  dashboard session URLs.
  - Added/updated matchmaking service integration wiring.
  - Documented the dashboard-owned session route behavior in

  ## Validation

  - `npm run build` passed for `growqr-backend`.

Reviewed-on: puter/growqr-backend#4
Co-authored-by: NinjasPyajamas <divyansh242805@gmail.com>
Co-committed-by: NinjasPyajamas <divyansh242805@gmail.com>
2026-06-01 16:19:12 +00:00
-Puter
d0b0efca74 changes source code (prompts) (1 file) 2026-06-01 20:58:55 +05:30
-Puter
f9f69653e3 update source code (src) (14 files) 2026-06-01 20:58:55 +05:30
-Puter
4a4a03ebb9 update source code (drizzle) (4 files) 2026-06-01 20:58:55 +05:30
-Puter
370c45c002 updates source code (1 file) 2026-06-01 20:58:55 +05:30
-Puter
ef87cf80e5 updates configuration (2 files) 2026-06-01 20:58:55 +05:30
-Puter
be486e12e3 update documentation (8 files) 2026-06-01 20:58:55 +05:30
-Puter
3f51ed5f0f updates source code (src) (3 files) 2026-06-01 18:03:18 +05:30
-Puter
22960be344 update source code (3 files) 2026-06-01 18:03:18 +05:30
-Puter
f085783a35 updates source code (drizzle) (1 file) 2026-06-01 18:03:18 +05:30
-Puter
7e6d32def5 updates configuration (3 files) 2026-06-01 18:03:18 +05:30
9ddbb4a8e5 feat: wire real service agents into chat with LLM tool dispatch + Rivet proxy fix (#3)
# Wire All 4 Microservice Agents Into Chat

Wires all 4 microservice-backed agents into the chat so the LLM can call real services and return session URLs.

---

## Changes

### New

* `src/routes/chat.ts`

  * Added a direct HTTP chat endpoint.
  * When the LLM calls:

    * `start_interview_session`
    * `analyze_resume`
    * `start_roleplay_session`
    * `compute_qscore`
  * The route executes real service probes and returns live session URLs.

---

### Fixed

* `src/index.ts`

  * Rivet proxy now forwards requests to the engine at `localhost:6420`
    instead of using `registry.handler()`.
  * Prevents the:

    ```txt
    Runtime already started as runner
    ```

    conflict.

* `src/actors/user-actor.ts`

  * `receiveMessage()` now returns:

    ```ts
    {
      reply,
      sessions: []
    }
    ```
  * Includes per-module session URLs in responses.

* `docker-compose.yml`

  * Fixed:

    * Gitea health check port
    * Port mapping
    * `A2A_ALLOWED_KEY` default value

* `src/config.ts`

  * Added:

    ```ts
    resumeServiceUrl
    ```
  * Configured to use port `8002`.

---

### Rewritten

* `prompts/system.txt`

  * Reworked into a conversational step-by-step flow.
  * Added explicit rule:

    > CALL THE TOOL IMMEDIATELY

---

### Updated

* `agents/*.md` (6 files)

  * Updated:

    * Domain descriptions
    * Trigger phrases
    * Agent boundaries

---

## Verified

| Agent         | Service                  | Result                      |
| ------------- | ------------------------ | --------------------------- |
| Resume (Mira) | `resume-builder:8002`    | Real analysis               |
| Sara          | `interview-service:8007` | Real Gemini session + URL   |
| Emily         | `roleplay-service:8008`  | Real roleplay session + URL |
| Quinn         | `qscore-service:8000`    | Real Q-Score (~84)          |

---

## Outcome

The chat system can now:

* Trigger real backend agent services directly from LLM tool calls
* Return live session URLs
* Maintain structured multi-agent responses
* Avoid Rivet runtime conflicts
* Support end-to-end conversational workflows across all 4 agents

Reviewed-on: puter/growqr-backend#3
Co-authored-by: NinjasPyajamas <divyansh242805@gmail.com>
Co-committed-by: NinjasPyajamas <divyansh242805@gmail.com>
2026-06-01 09:26:19 +00:00
sai karthik
ff0bf5e5f0 Wire production stack: Clerk + Postgres + Anthropic + per-user containers
Brings the backend from a scaffold to a working end-to-end MVP — real auth,
persistent actor registry, Anthropic tool-use loop in the Grow Agent, and
per-user Gitea+OpenCode provisioning. Also adds the client-facing
architecture diagram under docs/architecture.html.
2026-05-19 22:17:40 +05:30
sai karthik
5eaf52b8a5 Scaffold backend: Hono + Rivet Kit + per-user Docker stack
Backend that provisions per-user OpenCode + Gitea Docker pair via
dockerode and exposes the Grow Agent / sub-agent Rivet Kit actors
described in the PRD. Sub-agent workflows route through the parent
Grow Agent's OpenCode Docker.

- src/docker/manager.ts spawns growqr-gitea-<userId> and growqr-opencode-<userId>
- src/actors/{grow-agent,sub-agent,registry}.ts: Rivet Kit actors
- src/routes/{actors,opencode,git}.ts: PRD section 5.2-5.4 HTTP API
- docker-compose.yml runs rivet-engine + backend (mounts host Docker socket)
- PRD updated to lock in per-user OpenCode/Gitea Docker topology

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 15:12:34 +05:30