2.2 KiB
2.2 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level | ||
|---|---|---|---|---|---|---|---|---|---|
| architecture/spec-update-napi | Update napi-and-pubsub.md — add reload API and call protocol references | completed |
|
narrow | low | component | implementation |
Description
Update docs/architecture/napi-and-pubsub.md to add the NAPI reload API (reloadAuth, reloadForwarding, reloadAll) and references to the call protocol integration.
The current spec is reviewed and stable. Changes are additive:
- Add
reloadAuth(),reloadForwarding(),reloadAll()methods toAlknetServerinterface - Add note about call protocol integration: NAPI consumers can register operation handlers
- Add note about irpc service creation for NAPI consumers (behind feature flag)
- Reference configuration.md and services.md for details
What stays the same: Everything else. The NAPI wrapper, pubsub adapter, connect vs serve semantics, stream handling, constraints — all unchanged.
Acceptance Criteria
AlknetServerinterface in NAPI section updated with reloadAuth(), reloadForwarding(), reloadAll()- TypeScript interface signature for reload methods matches research/configuration.md NAPI section
- Note added: call protocol integration — NAPI consumers can register operation handlers
- Note added: irpc service creation available for NAPI consumers (feature-gated)
- References to configuration.md and services.md added
last_updatedin YAML frontmatter updated- Existing content unchanged except where additions are made
- ADR references remain correct
References
- docs/architecture/napi-and-pubsub.md — current content
- docs/research/configuration.md — NAPI Reload API section
- docs/research/integration-plan.md — Phase 3.4 (NAPI layer updates)
Notes
Added reload API (reloadAuth, reloadForwarding, reloadAll with ForwardingPolicyConfig and ForwardingRuleConfig interfaces), call protocol integration note, irpc service creation note (Phase 2+), ADR-030 reference, and references to configuration.md, services.md, call-protocol.md.
Summary
NAPI spec updated with dynamic config reload API per ADR-030. All acceptance criteria met.