williamandClaude Sonnet 5 bae5ace70c feat(sessions): implement Agent 1 (Objectif) of the coach pipeline
Add the sessions module (create/fetch session, Agent 1 conversation and
confirmation endpoints, all JWT-protected) and a reusable OpenRouter
client with DeepSeek/Qwen fallback + backoff on rate-limit/timeout.

Agent 1 runs a Socratic dialogue to capture the 3 mandatory pillars
(subject, professional goal, duration) and enforces two guardrail
levels before any explicit user confirmation: level 1 is hard-coded
length/format rules (objective-guardrails.ts), level 2 is an LLM
coherence score across 3 dimensions (reject below 0.6). The objective
is only persisted to session_objective, and the session only moves to
objective_validated, once the user explicitly confirms via
POST /sessions/:id/objective/confirm - never on the LLM's say-so alone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-31 20:16:03 +01:00

forge-scaffold

An Electron application with React and TypeScript

Project Setup

Le code de l'application vit dans le sous-dossier Max Avatar/ (la racine du depot ne contient que la documentation et la configuration partagee : CLAUDE.md, docs/, .gitea/, .husky/). Toutes les commandes ci-dessous s'executent depuis Max Avatar/.

Install

$ cd "Max Avatar"
$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux
S
Description
No description provided
Readme
29 MiB
Languages
TypeScript 95.8%
JavaScript 3.8%
CSS 0.2%
HTML 0.1%