Purpose & architecture
This branch preserves 143 file blobs that differ from the audited default snapshot. Its exact file inventory and commit identify the generation without inferring runtime capabilities from its name.
This page records a pinned branch snapshot. Differences are compared with the audited default branch, not assumed to be chronological improvements. Author claims in the source documentation are retained as claims. Source recovery does not establish successful deployment, scientific validity, or equivalence with another branch.
This source generation
This record follows the per-tenant-routing branch of Janady13/missionmatch at commit 9bde0f9a74b89d01980fa658e5253acda7528d0c. The snapshot identifies the source inspected in this audit. It is not a statement about which revision is currently running on a device.
| Field | Source record |
|---|---|
| Revision | 9bde0f9a74b89d01980fa658e5253acda7528d0c |
| Branch | per-tenant-routing |
| Recorded generation | Preserved branch generation |
Recovered implementation structure
These paths locate the components and entry points represented by this build. The source register contains their inspected revisions.
- BUILD_REPORT.md
- CLAUDE.md
- cmd/api/main.go
- cmd/embed-backfill/main.go
- cmd/megamind-gateway/main.go
- cmd/migrate-all-tenants/main.go
- cmd/provision-tenant/main.go
- cmd/sam-sync/main.go
- cmd/staffing-proactive-sync/main.go
- cmd/sync-tenant-identity/main.go
- db/migrations/0020_tenant_directory.sql
- db/queries/candidates.sql
- db/queries/evaluations.sql
- db/queries/opportunity_records.sql
- db/queries/wages.sql
- db/seed/demo_base.sql
- db/seed/demo_gapfillers.sql
- docs/AI_RESEARCH.md
- docs/ARCHITECTURE.md
- docs/MIGRATE_TO_PER_TENANT.md
- docs/MODEL_CARD.md
- docs/RUNBOOK_ONBOARDING.md
- docs/STACK_DECISIONS.md
- frontend/index.html
- frontend/package.json
- frontend/src/App.tsx
- frontend/src/components/AppShell.tsx
- frontend/src/components/ScreeningResults.tsx
- frontend/src/lib/AuthContext.tsx
- frontend/src/lib/api.ts
- frontend/src/lib/auth.ts
- frontend/src/lib/queries.ts
- frontend/src/lib/types.ts
- frontend/src/main.tsx
- frontend/src/screens/Compliance.tsx
- frontend/src/screens/Dashboard.tsx
- frontend/src/screens/Login.tsx
- frontend/src/screens/Placeholder.tsx
- frontend/src/screens/Settings.tsx
- frontend/src/tools/missionmatch/Candidates.tsx
- frontend/src/tools/missionmatch/CommandCenter.tsx
- frontend/src/tools/missionmatch/WhoCanSupport.tsx
- frontend/src/tools/missionmatch/api.ts
- frontend/src/tools/missionmatch/brand.ts
- frontend/src/tools/screenmatch/CandidateEvaluation.tsx
- frontend/src/tools/screenmatch/ScreeningQueue.tsx
- frontend/src/tools/screenmatch/api.ts
- frontend/src/tools/screenmatch/brand.ts
- frontend/src/tools/screenmatch/queries.ts
- frontend/src/tools/slatematch/Slate.tsx
- frontend/src/tools/slatematch/brand.ts
- go.mod
- internal/integration/ai_phase1_integration_test.go
- internal/integration/ai_phase8_integration_test.go
- internal/integration/brain_integration_test.go
- internal/integration/directory_integration_test.go
- internal/integration/megamind_integration_test.go
- internal/integration/pertenant_isolation_integration_test.go
- internal/integration/rls_integration_test.go
- internal/modules/ai/handler.go
- internal/modules/ai/orchestrator.go
- internal/modules/ai/retrieval.go
- internal/modules/ai/safety.go
- internal/modules/ai/safety_test.go
- internal/modules/ai/tag.go
- internal/modules/ai/vectorguard.go
- internal/modules/auth/dto.go
- internal/modules/auth/handler.go
- internal/modules/auth/helpers.go
- internal/modules/auth/service.go
- internal/modules/auth/service_users.go
- internal/modules/awards/handler.go
- internal/modules/awards/service.go
- internal/modules/commandcenter/dto.go
- internal/modules/commandcenter/handler.go
- internal/modules/commandcenter/service.go
- internal/modules/eeo/service.go
- internal/modules/governance/handler.go
- internal/modules/governance/service.go
- internal/modules/matching/convert.go
- internal/modules/matching/dto.go
- internal/modules/matching/engine/engine.go
- internal/modules/matching/engine/frozen_test.go
- internal/modules/matching/engine/types.go
- internal/modules/matching/handler.go
- internal/modules/matching/intel.go
- internal/modules/matching/intelligence/intelligence_test.go
- internal/modules/matching/missioncheck.go
- internal/modules/matching/service.go
- internal/modules/matching/service_test.go
- internal/modules/matching/skillmatcher.go
- internal/modules/matching/slate_service.go
- internal/modules/opportunities/handler.go
- internal/modules/opportunities/service.go
- internal/modules/opportunity_intelligence/service.go
- internal/modules/sourcing/service.go
- internal/modules/staffing/portfolio.go
- internal/modules/staffing/proactive.go
- internal/modules/staffing/service.go
- internal/modules/wages/handler.go
- internal/modules/wages/service.go
- internal/platform/audit/audit.go
- internal/platform/bls/bls_test.go
- internal/platform/bls/profile.go
- internal/platform/config/config.go
- internal/platform/database/database.go
- internal/platform/database/dbgen/candidates.sql.go
- internal/platform/database/dbgen/evaluations.sql.go
- internal/platform/database/dbgen/foundation.sql.go
- internal/platform/database/dbgen/models.go
- internal/platform/database/dbgen/opportunities.sql.go
- internal/platform/database/dbgen/opportunity_records.sql.go
- internal/platform/database/dbgen/querier.go
- internal/platform/database/dbgen/requirements.sql.go
- internal/platform/database/dbgen/sam.sql.go
- internal/platform/database/dbgen/skills.sql.go
- internal/platform/database/dbgen/slates.sql.go
- internal/platform/database/dbgen/staffing.sql.go
- internal/platform/database/dbgen/wages.sql.go
- internal/platform/directory/directory.go
- internal/platform/embeddings/embeddings.go
- internal/platform/embeddings/megamind.go
- internal/platform/inference/client.go
- internal/platform/inference/client_test.go
- internal/platform/scrub/scrub.go
- internal/platform/scrub/scrub_test.go
- internal/platform/security/csrf.go
- internal/platform/security/rbac.go
- internal/platform/security/rbac_middleware.go
- internal/platform/security/rbac_test.go
- internal/platform/sourcing/ingest.go
- internal/platform/tenant/routing_test.go
- internal/platform/tenant/tenant.go
- sqlc.yaml
Behavior & verification limits
Read-only source inspection. No native engine, generator, database, payment, or production service was executed.
Equations in this build
8 linked mathematical records. Each opens its notation, interpretation and source.
main · pageCap bounds a single NAICS pull (limit 1000 * 5
This relation defines pageCap bounds a single NAICS pull (limit 1000 * 5 in the source section “main · pageCap bounds a single NAICS pull (limit 1000 * 5”. It specifies the…
func TestPerfectScorePersistsViaService(t *testing.T)
This relation defines Requirement with nothing required in the source section “func TestPerfectScorePersistsViaService(t *testing.T)”. It specifies the displayed relationship…
service
This relation defines WCC composite weights (DISTINCT from the engine's per-candidate weights). Sum == 1.00 (tes in the source section “service”. It specifies the displayed…
engine
This relation defines Band cut points (CLAUDE.md): Green >= 90, Yellow 75–89.99, Red < 75. Inclusive lower bound in the source section “engine”. It specifies the displayed…
skillmatcher
This relation defines engine's threshold. Vectors from the provider are L2-normalized, so cosine == dot product. in the source section “skillmatcher”. It specifies the displayed…
func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)
This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…
querier
This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…
2. The one engine, three tools principle
This relation defines Match in the source section “2. The one engine, three tools principle”. It specifies the displayed relationship between the named quantities or parameters.…