Internal Portal

Consultant workspace for SAP Help, Support, and Community retrieval.

Release Notes

Application Changelog

Product history for the consultant portal, backend runtime, and SAP session platform. Every feature and bug fix should be added here as part of the implementation.

Current release v1.9.0

J4C Changelog

1.9.0 - 2026-03-16

Added

  • Backlog & Feedback page — new top-level /backlog route where all users can submit bugs, feature requests, and general feedback. Entries are fully transparent: everyone sees all submissions, statuses, priorities, and admin notes.
  • Users can edit their own entries (title and description) after submission.
  • Admins can manage all entries inline: set status (new/planned/in progress/done/rejected), priority (low/medium/high/critical), add admin notes, and delete entries.
  • Filterable by type and status.

Fixed

  • Sidebar now uses apiFetch() instead of raw fetch() for the /api/me call, matching CLAUDE.md conventions.

1.8.3 - 2026-03-16

Removed

  • Removed the Admin Evaluations feature entirely: eval page, API routes (/api/admin/evals), EvalRunORM model, evaluation.py module, and worker task. The feature was non-functional (no error handling caused infinite polling) and provided no practical value.

1.8.2 - 2026-03-16

Improved

  • Citation titles now show the actual article name instead of the generic "SAP Help Portal | SAP Online Help". Browser page title extraction uses <h1> content, and connectors prefer the specific title from SAP's API/search results over generic HTML <title> tags.
  • Citations panel in the sidebar now shows a brief excerpt below each title for better context.

1.8.1 - 2026-03-16

Improved

  • Added explicit "Promote to Admin" / "Demote to User" action buttons in User Management with confirmation dialogs, replacing the subtle role toggle pill.

1.8.0 - 2026-03-15

Removed

  • Removed the support.sap.com connector and all references. The SAP Support portal routes most queries through SAP for Me (restricted) and provided no useful insight for answering consultant questions.
  • Removed the SAP Session feature entirely: browser gateway (noVNC + X11 + VNC), encrypted storage state, SAP session settings page, and all related API routes (/api/sap-session/*).
  • Removed Dockerfile.browser and the browser-gateway Docker Compose service.
  • Removed SapSessionORM database model and repository functions.
  • Removed browser gateway configuration variables (J4C_BROWSER_GATEWAY_*, J4C_VAULT_MASTER_KEY, J4C_BROWSER_SESSION_*, J4C_BROWSER_JOIN_TOKEN_*).

Simplified

  • The agent now searches only SAP Help and Community (2 connectors instead of 3), reducing discovery latency.
  • The worker no longer fetches or decrypts SAP session state before running queries.
  • The Docker Compose stack is reduced from 6 services to 5 (postgres, redis, api, worker, web).
  • Configuration is simplified with fewer required environment variables.

1.7.1 - 2026-03-10

Added

  • deploy/ folder with AWS VM deployment documentation and production docker-compose.yml.
  • .env.example template covering all required configuration variables.
  • Full deployment guide covering GitHub onboarding, first deploy, NPM proxy setup, and maintenance operations.

1.7.0 - 2026-03-08

Improved

  • Consultant answers are now conversational chatbot-style instead of formal audit/report format. Answers read naturally with inline hyperlinked sources woven into the text.
  • Conversation titles are now descriptive full phrases (8-15 words) that clearly summarize the topic, instead of short truncated fragments.
  • Increased synthesis token budget from 1,400 to 2,000 for richer answers.
  • Heuristic fallback answers also follow the conversational style with inline source links.

1.6.0 - 2026-03-08

Added

  • API usage accounting: token counts (input, output, cache read/write) and USD cost are captured per agent run using Anthropic's response.usage data.
  • Cost badge in chat progress panel showing query cost and running user total after each run.
  • /usage page for all users: total spend, total queries, and per-run cost history.
  • /admin/usage page for admins: per-user consumption aggregated by hour, day, week, month, 3 months, or 1 year.
  • /admin/model-prices page for admins: inline-editable model pricing table; pre-seeded with Claude 3.7 Sonnet pricing.
  • model_prices database table and input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, cost_usd, model_id columns on agent_runs.
  • New API endpoints: GET /api/me/usage, GET /api/admin/usage, GET/POST/PATCH/DELETE /api/admin/model-prices.

1.5.0 - 2026-03-08

Added

  • Admin user management interface at /admin/users: create users, reset passwords, toggle admin role, deactivate/delete accounts.
  • Forced first-login password change: users with a temporary password are hard-redirected to /change-password and cannot navigate elsewhere until they set a new password.
  • Self-service password change for all users under Settings → Change Password.
  • Welcome email template auto-generated when creating or resetting a user, ready to copy and send.
  • New API endpoints: GET/POST /api/admin/users, PATCH/DELETE /api/admin/users/{id}, POST /api/admin/users/{id}/reset-password, POST /api/me/change-password.
  • is_active and must_change_password columns on the users table; inactive users are blocked at login.

1.4.2 - 2026-03-08

Fixed

  • Added Next.js middleware to enforce authentication on all protected routes. Unauthenticated users are now redirected to /login immediately instead of being able to view the chat UI before credentials are checked.

1.4.1 - 2026-03-07

Fixed

  • Rebalanced the consultant chat layout so Consultant Chat and Progress each use half of the main screen on large displays.

1.4.0 - 2026-03-07

Added

  • Added an in-app changelog page with a dedicated sidebar entry.
  • Established the canonical application changelog for future feature and bug-fix tracking.

Changed

  • Raised the application version line to 1.4.0 across frontend and backend metadata.

1.3.1 - 2026-03-07

Fixed

  • Linked SAP source titles directly in Consultant Answer key findings.
  • Added clickable source links to Recommended Actions so consultants can open cited pages in a new tab.

1.3.0 - 2026-03-07

Added

  • Added a progress bar and live activity log to consultant runs.
  • Added a New Conversation action to start a fresh investigation thread.
  • Upgraded consultant responses to detailed markdown answers with richer formatting and citation sections.

1.2.1 - 2026-03-07

Fixed

  • Restored CSS delivery for the standalone Next.js web container by packaging static assets with the standalone server bundle.
  • Corrected the browser gateway noVNC websocket path and websocket runtime support so embedded SAP sessions can connect.

1.2.0 - 2026-03-07

Added

  • Introduced a dedicated remote browser gateway for SAP login on server-hosted deployments.
  • Embedded noVNC-based SAP login directly into the consultant portal.
  • Persisted encrypted Playwright storage_state instead of raw SAP credentials.
  • Added explicit SAP browser session lifecycle states for connect, finalize, cancel, reconnect, and expiry handling.

1.1.0 - 2026-03-07

Fixed

  • Reworked the ARQ worker bootstrap to avoid event-loop mismatches on startup.
  • Upgraded Next.js to 15.5.12 and cleared the known security advisories affecting the prior 15.2.4 build.

1.0ßeta - 2026-03-07

Added

  • Established the first consultant portal beta with chat, conversation history, admin evaluations, and SAP session foundations.
  • Added FastAPI, worker, and browser automation runtime integration for grounded SAP retrieval workflows.