more audit work
This commit is contained in:
@@ -17,6 +17,8 @@ BEGIN;
|
||||
-- SECTION 1: Schema Creation
|
||||
-- ============================================================================
|
||||
|
||||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS vex;
|
||||
CREATE SCHEMA IF NOT EXISTS vex_app;
|
||||
CREATE SCHEMA IF NOT EXISTS excititor;
|
||||
@@ -45,7 +47,7 @@ BEGIN
|
||||
v_tenant := current_setting('app.tenant_id', true);
|
||||
IF v_tenant IS NULL OR v_tenant = '' THEN
|
||||
RAISE EXCEPTION 'app.tenant_id session variable not set'
|
||||
USING HINT = 'Set via: SELECT set_config(''app.tenant_id'', ''<tenant>'', false)',
|
||||
USING HINT = 'Set via: SELECT set_config(app.tenant_id, <tenant>, false)',
|
||||
ERRCODE = 'P0001';
|
||||
END IF;
|
||||
RETURN v_tenant;
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
# Excititor Plugin Tests Charter
|
||||
|
||||
## Mission
|
||||
Validate plugin catalog behavior and VEX connector registration with deterministic tests.
|
||||
|
||||
## Responsibilities
|
||||
- Maintain `StellaOps.Excititor.Plugin.Tests`.
|
||||
- Keep tests deterministic and offline-friendly.
|
||||
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
|
||||
|
||||
## Key Paths
|
||||
- `PluginCatalogTests.cs`
|
||||
- `VexConnectorRegistrationTests.cs`
|
||||
|
||||
## Coordination
|
||||
- Excititor connector owners.
|
||||
|
||||
## Required Reading
|
||||
- `docs/modules/excititor/architecture.md`
|
||||
- `docs/modules/excititor/attestation-plan.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
|
||||
|
||||
## Working Agreement
|
||||
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
|
||||
- 2. Keep tests deterministic (stable ordering, timestamps, IDs).
|
||||
- 3. Avoid network in tests; use in-memory or fixtures.
|
||||
- 4. Log any cross-module edits in the sprint Execution Log.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Excititor Plugin Tests Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0752-M | DONE | Revalidated 2026-01-07 (test project). |
|
||||
| AUDIT-0752-T | DONE | Revalidated 2026-01-07. |
|
||||
| AUDIT-0752-A | DONE | Waived (test project; revalidated 2026-01-07). |
|
||||
Reference in New Issue
Block a user