Files
Pulse/internal/api
pulse-triage[bot] ad2c2654dc Pin anomalies admission across nil tenant-monitor reloads (#3877)
**Pin anomalies admission across nil tenant-monitor reloads**

Exercise the registered HTTP route with enabled tenant and default
Patrol services, colliding baselines, the supported reload setter and
restored ownership. Distinguish a reachable default fallback from the
real tenant guard's explicit unavailable response without assuming a
private-data exploit.

Contract-Neutral: Adds regression proof for existing tenant admission,
monitoring isolation and reload behaviour; no runtime, route, schema or
grant changes.

**Give the denied-organisation control a provisioned subject**

Tenant selection rejects an unknown organisation before checking token
grants. Provision the synthetic ungranted organisation so the existing
403 assertion exercises actual authorization rather than the earlier 400
guard. The in-flight earlier source remains separately identified; no
runtime or assertion is weakened.

Contract-Neutral: Corrects only a synthetic routed authorization
fixture; no runtime, route, schema or grant changes.

**Keep canonical node keys distinct from fixture names**

The first actual route proof returns the correct org-a node with its
canonical opaque key and human-readable name. Assert those separate
identities rather than expecting the name to equal the key. Keep the
failed expectation and original terminal receipt; no runtime or
isolation requirement changes.

Contract-Neutral: Corrects only a positive fixture's node-name
expectation; no runtime, route, schema or grant changes.

**Seed reload proof through its persisted baseline owner**

The completed request checks prove the nil-manager 503 gate, but
restoration initializes its real saved baseline store rather than
preserving an injected temporary store. Seed per-organisation JSON with
the normal sample threshold and stop the resulting fixture
workers/stores explicitly. Preserve the failed restoration assertion and
earned admission observations.

Contract-Neutral: Corrects only saved-state fixture ownership and
cleanup for existing reload behaviour; no production route, schema,
runtime or grant changes.

**Bind reload witnesses to each monitor's native state**

The reload setter correctly republishes from owned monitor state, not
the shared route rig's injected read adapters. Give both synthetic
monitors their org IDs, native snapshots and scoped config ownership.
Retain both unsuccessful restoration attempts; do not weaken the
positive anomaly or nil-manager denial checks.

Contract-Neutral: Corrects only native ownership in the reload fixture;
no production runtime, route, schema or grant changes.

---
Fleet candidate `20261103T075313Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `ef16a31a897e6e357c9bf3257e8e9764f78dd0f0` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-04 11:59:40 +00:00
..
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-08-31 19:47:01 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-04-26 17:26:16 +01:00
2026-01-22 00:30:15 +00:00
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-09-01 01:02:17 +01:00
2026-03-18 16:06:30 +00:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.