Skip to content

Develop - #80

Merged
Nexus-ABC merged 16 commits into
mainfrom
develop
Jul 7, 2026
Merged

Develop#80
Nexus-ABC merged 16 commits into
mainfrom
develop

Conversation

@Nexus-ABC

Copy link
Copy Markdown
Contributor

What this change does

Why

Pre-edit reading (3-doc rule)

  • I read the architecture doc(s) listed in docs/developers/architecture/README.md for the area I changedwhich doc(s)?:
  • I read the matching feature doc under docs/users/features/ if this change touches a user-visible surface — which doc?:
  • I read docs/developers/workflow/conventions.md (code style).

If a row for your edit area didn't exist in the trigger map, that itself is a signal — either an undocumented subsystem or a new one that needs its own arch doc.

Workflow

  • Plan + Todo were live before code (Cursor TodoWrite or Claude Code TaskCreate).
  • No code-level TODO / FIXME / XXX / unimplemented / not implemented / stub / mock strings in production code (test mocks are fine).
  • English only for committed text (docs, comments, commit messages, READMEs, config-doc strings).
  • All my commits use explicit pathspec so no other session's WIP got swept in.

High-blast-radius surfaces — check if your change touches any

  • macOS NE provider (packages/agent/platform/darwin/NexusAgent/NexusAgentExtension/**) — I respected the fail-open invariants listed in CLAUDE.md.
  • Admin API endpoint / sidebar / route changes — I ran the IAM impact review and updated seed.ts + iam/managed.go if I introduced a new resource.
  • Provider adapter / format translator — my change conforms to the 7-rule contract in docs/developers/architecture/services/ai-gateway/provider-adapter-architecture.md §3a (run /adapter-conformance-check if uncertain).
  • packages/shared/** — additive-only public API change.
  • Prisma migration — the timestamp prefix is unique (no two folders share YYYYMMDDHHMMSS).

Tests + CI

  • go test -race -count=1 passes for every module I touched.
  • Each new Go package has ≥95% statement coverage (or an entry in scripts/.coverage-allowlist with a category rationale).
  • npm run check:all passes (i18n parity + design tokens + arch-doc triggers + jobs-catalogue lockstep + …).
  • If I added a new architecture doc, I also added the matching row to docs/developers/architecture/README.md (pre-commit lockstep guard checks).

Commit hygiene

  • Commit message follows the repo's <type>(<scope>): <summary> pattern (feat / fix / refactor / docs / chore / test).
  • No co-author trailers from prior sessions accidentally carried over.

Nexus-ABC and others added 16 commits June 30, 2026 21:42
…nc 9)

Bring repository-level docs, schema, and lint/config assets up to date with internal main (TLS-bump streaming-compliance + provider-adapter cycle).

- Architecture docs: SSE streaming-compliance, provider-adapter,
  normalization, hook, cost-estimation, audit-pipeline
- API + feature docs: control-plane providers OpenAPI; CP-UI
  ai-gateway-routing + overview
- Tooling: scripts/doc-lockstep.config.mjs
- Schema: tools/db-migrate providers.prisma + traffic.prisma
- README, CHANGELOG
…ain (sync 9)

Backend service implementations and shared Go libraries (TLS-bump streaming-compliance + provider-adapter cycle):

- packages/ai-gateway: provider adapters, normalization, SSE streaming
  compliance, cost estimation
- packages/shared: transport (normalize/codecs), policy, audit
- packages/control-plane: provider store wiring
- packages/nexus-hub: hub service
- packages/compliance-proxy: pipeline
- go.work: workspace member set

Runtime artifacts (logs/, dev-certs/) intentionally excluded.
…c 9)

Frontend code and tests (TLS-bump streaming-compliance + provider-adapter cycle):

- control-plane-ui: provider form + API service/types, traffic audit-drawer
  HookTimeline, new ProviderForm test
- i18n: en/es/zh pages.json parity

Package-internal Go tests ship with PR2.
chore(repo): sync docs, tooling, and CI config from internal main (sync 9)
feat(services): sync backend services and shared libs from internal main (sync 9)
feat(ui): sync control-plane UI, shared UI components, and tests (sync 9)
…nc 10)

Bring repository-level assets up to date.

- Docs: virtual-keys architecture + OpenAPI (personal VK duplicate-name
  handling), AI-gateway routing feature doc, .env.example
- Tooling: new scripts/check-no-benchmark-env.sh guard
- DB: tools/db-migrate schema-extras.sql + gateway.prisma
- README: fix CI badge URLs to github.com/AlphaBitCore/nexus-gateway

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ain (sync 10)

Backend service implementations and shared Go libraries:

- ai-gateway: pure-forward wiring, ingress perf flags + stage accounting,
  audit body-pool, Anthropic codec, routing strategy-node JSON
- control-plane: virtual-keys handlers (personal VK duplicate-name),
  SAML/OIDC display-name + federated-store test fixtures

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…c 10)

Frontend code and repository-level test suites:

- Personal VK create + duplicate-name-check hook, FormInput
- AI-gateway routing rule create/detail wizards + shared config
- Compliance rule-packs form
- i18n locale bundles (en/es/zh)
- Vitest suites for the above

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
chore(repo): sync docs, tooling, and CI config from internal main (sync 10)
feat(services): sync backend services and shared libs from internal main (sync 10)
feat(ui): sync control-plane UI, shared UI components, and tests (sync 10)
…nc 11)

Bring repository-level docs and config up to date with internal main.

- CHANGELOG.md: overload → retryable 429s (in-flight admission gate);
  hook-config reload-stampede fix; audit memory-budget entries.
- .env.example: new AI_GATEWAY_AUDIT_MEM_MAX_BYTES (in-memory audit byte
  budget) and AI_GATEWAY_MAX_INFLIGHT (in-flight admission cap); revised
  AI_GATEWAY_AUDIT_MAX_QUEUED_RECORDS semantics.
- README.md: doc refresh.
- Architecture docs: audit-pipeline-architecture.md,
  ai-gateway/hook-architecture.md, provider-adapter-architecture.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ain (sync 11)

Backend service implementations and shared Go libraries.

Dominant theme: AI Gateway overload-resilience.
- packages/ai-gateway (75): in-flight admission gate (retryable 429 +
  Retry-After under overload), audit memory-budget accounting
  (AI_GATEWAY_AUDIT_MEM_MAX_BYTES), push-driven hook-config freshness
  (reload-stampede fix), admission/back-pressure metrics.
- packages/shared (19): audit queue byte-budget + supporting transport,
  storage, and traffic helpers.
- packages/compliance-proxy (2), packages/control-plane (2),
  packages/agent (1): companion updates.

Runtime artifacts (logs/, dev-certs/) intentionally excluded.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
chore(repo): sync docs, tooling, and CI config from internal main (sync 11)
feat(services): sync backend services and shared libs from internal main (sync 11)
@Nexus-ABC
Nexus-ABC merged commit 2003f47 into main Jul 7, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant