feat(enrichment): scaffold the review-enrichment service (REES) — hono server, bearer auth, Railway deploy - #1485
Merged
Conversation
…o server, bearer auth, Railway deploy A standalone Railway microservice that returns a structured review brief the engine splices into the prompt next to grounding + RAG, supplying the heavy/external/historical analysis the no-checkout 'claude --print' reviewer is blind to. This scaffold ships the transport + contract only: GET /health, GET /ready, and an authenticated POST /v1/enrich (constant-time bearer) returning an empty non-partial brief. The five analyzers land behind this stable contract (#1474-#1478). Self-contained: top-level dir (not a workspace), own Dockerfile/railway.json/lockfile; excluded from the engine image via .dockerignore; outside the engine's tsc/vitest/codecov scope. Closes #1473
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standalone Railway microservice that returns a structured review brief the engine splices into the prompt next to grounding + RAG, supplying the heavy/external/historical analysis the no-checkout
claude --printreviewer is blind to.This scaffold ships the transport + contract only:
GET /health,GET /readyPOST /v1/enrich— constant-timeBearerauth →EnrichRequest→ReviewBrief(empty, non-partial)The five analyzers (#1474–#1478) land behind this stable contract.
Isolation: top-level dir (not a workspace), own
Dockerfile/railway.json/lockfile; excluded from the engine image via.dockerignore; outside the engine'stsc/vitest/codecov scope, so the engine build/CI is untouched.Deploy: separate Railway service, Root Directory
review-enrichment,REES_SHARED_SECRETset as a service variable.Closes #1473