Brandon Schneider
c16f474865
test(infra): add Playwright E2E routing test suite
...
Tests the full traffic path against live researchstack.info infrastructure:
Edge Caddy (TLS) → Tailscale → Traefik Ingress → k3s services
Coverage:
- edge-tls-redirects: HTTPS reachability, cert validity, legacy subdomain
301s (status/dash/home/media/books/music/vault/pulse/apps), stable
subdomains (auth, mail), wildcard fallback
- path-routing: /apps/*, /server/*, /api/* routes; prefix stripping; SSO
redirect vs token-auth isolation
- auth-integration: Authentik login page, OIDC discovery, forward_auth
gating on protected paths, /api/* bypass
19/40 tests pass against current live infrastructure (pre-deploy). The 21
failures are "not yet deployed" signals, not design errors. Run after each
phase of the deployment plan to use as a regression gate.
Run: cd 4-Infrastructure/k3s-flake/tests && npm test
Generated with Devin (https://cli.devin.ai/docs )
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-26 21:03:27 -05:00
Allaun Silverfox
7c1d77a393
feat(mcp): route Lean-defined tools via external cmd map
2026-05-26 18:58:49 -05:00
Allaun Silverfox
a6f3dee6bd
feat(runtime): register mcp_surface_router module
2026-05-26 18:26:44 -05:00
Allaun Silverfox
838d11c210
feat(runtime): add generic Lean surface tool command router (CLAW_MCP_TOOL_CMD_MAP)
2026-05-26 18:25:03 -05:00
Allaun Silverfox
e9646b398f
feat(runtime): register ene_context_tools shim module
2026-05-26 18:12:56 -05:00
Allaun Silverfox
92c7307a08
feat(runtime): add ENE context tool dispatch shim (command-based)
2026-05-26 18:11:39 -05:00
Allaun Silverfox
7f8f183c21
docs(runtime): update Lean manifest cmd example to ENE surface toolsJson
2026-05-26 18:06:56 -05:00
Allaun Silverfox
67d396bc9e
feat(lean): define ENE context MCP surface (Lean-owned)
2026-05-26 18:06:00 -05:00
Allaun Silverfox
d52f2f568c
chore(pending): move python ENE ContextStream MCP surface into pending quarantine
2026-05-26 17:59:51 -05:00
Allaun Silverfox
70bb1221d1
chore(pending): move python Notion+Linear MCP server into pending quarantine
2026-05-26 17:59:40 -05:00
Allaun Silverfox
5744a1bfab
chore(pending): quarantine python ENE ContextStream MCP surface (Lean-first unification)
2026-05-26 17:59:30 -05:00
Allaun Silverfox
8bfdd9341b
chore(pending): quarantine python Notion+Linear MCP server (Lean-first unification)
2026-05-26 17:59:19 -05:00
Allaun Silverfox
d64b53c422
docs(pending): explain quarantine policy for non-Lean tool surfaces
2026-05-26 17:57:16 -05:00
Allaun Silverfox
31503f87c0
chore(pending): move python MCP server into pending quarantine
2026-05-26 17:56:57 -05:00
Allaun Silverfox
c12521bc32
chore(pending): quarantine python MCP server (Lean-first unification)
2026-05-26 17:56:25 -05:00
Allaun Silverfox
7a0fa2bd67
feat(runtime): register lean_mcp_manifest module
2026-05-26 17:50:05 -05:00
Allaun Silverfox
bf74174ab5
feat(runtime): source tools/list from Lean manifest env var when spec.tools empty
2026-05-26 17:49:55 -05:00
Allaun Silverfox
b56e226f1b
feat(runtime): load MCP tools list from Lean manifest JSON (shim-only)
2026-05-26 17:42:33 -05:00
Allaun Silverfox
ca330f695b
feat(lean): define MCP surface manifest schema for JsonL connector tools
2026-05-26 17:32:55 -05:00
Allaun Silverfox
c7aeb93aaa
docs: add Lean-first boundary contract (Lean vs shims, receipts, float ban)
2026-05-26 17:31:54 -05:00
Allaun Silverfox
8fb3a8763d
cleanup(ene): load node list from nodes.yaml instead of hardcoded hostnames
2026-05-26 17:16:02 -05:00
Allaun Silverfox
533ae756ee
cleanup(ene): use nodes.yaml inventory instead of hardcoded host resource map
2026-05-26 17:15:50 -05:00
Allaun Silverfox
97e85fe815
cleanup(ene): make obsidian shim provenance configurable and schema-complete
2026-05-26 16:54:12 -05:00
Allaun Silverfox
a7a6d51e36
cleanup(ene): make provenance node/tailscale configurable via env vars and CLI arg
2026-05-26 16:42:03 -05:00
Allaun Silverfox
c926bfefc2
cleanup(ene): make provenance node/tailscale configurable via env vars and CLI arg
2026-05-26 16:40:35 -05:00
Allaun Silverfox
2be5bd4113
cleanup(ene): make provenance node/lake_seed/tailscale_ip configurable via env vars
2026-05-26 16:39:43 -05:00
Allaun Silverfox
86587f5ba9
cleanup(ene): read canonical SQL schema file for chat tables; remove embedded DDL string
2026-05-26 16:34:23 -05:00
Allaun Silverfox
e6979af545
cleanup(ene): add canonical SQL schema for chat/session sync tables
2026-05-26 16:23:51 -05:00
Allaun Silverfox
470a401bc7
cleanup(ene): remove hardcoded schema path, drop inline schema fallback, add legacy shim strip receipt
2026-05-26 16:22:40 -05:00
Allaun Silverfox
850f01cf30
docs(shim): annotate alignment shim as legacy pending AVM port; add strip receipt metadata
2026-05-26 16:14:52 -05:00
Allaun Silverfox
ea8fd7bbeb
docs(shim): annotate as legacy shim pending AVM port; add strip receipt metadata
2026-05-26 16:13:43 -05:00
Allaun Silverfox
b8d8c2bd84
feat(avm): add Lean-only strict-typed ISA skeleton (v1)
2026-05-26 16:05:08 -05:00
Allaun Silverfox
e08b25c92c
docs(avm): strengthen float prohibition and documentation requirement
2026-05-26 16:02:05 -05:00
Allaun Silverfox
51d1fc56d8
docs(avm): add stripping policy and bad-code elimination rules
2026-05-26 15:59:41 -05:00
Allaun Silverfox
a8b3435c93
docs(avm): redefine AVM as Lean-only ISA with adapter shims/backends
2026-05-26 15:58:25 -05:00
Allaun Silverfox
ad67d84ed0
fix(pist): correct repo root + fail-on-raw-disagreement check
2026-05-26 15:50:29 -05:00
Allaun Silverfox
5133216e85
docs: add RRC PIST shape-alignment phase
2026-05-26 15:47:19 -05:00
Allaun Silverfox
3bcee0793b
feat(pist): add RRC PIST shape-alignment calibration pass
2026-05-26 15:43:45 -05:00
Allaun Silverfox
482b28e15e
archive: remove duplicate PISTMachine search-space copy
2026-05-26 15:42:48 -05:00
Allaun Silverfox
be9c38ec3a
feat(pist): add RRC PIST validation report cleaner
2026-05-26 15:38:07 -05:00
Allaun Silverfox
a7633b1238
fix(lean): remove stale PISTMachine sorries
2026-05-26 15:31:59 -05:00
Allaun Silverfox
467190b048
docs: add receipt-density verification sequence
2026-05-26 15:19:07 -05:00
Allaun Silverfox
47e7bdeb02
feat(pist): add receipt-density sidecar readback validator
2026-05-26 15:18:11 -05:00
Allaun Silverfox
67d79b8e85
test(pist): add receipt-density injector regression harness
2026-05-26 15:16:40 -05:00
Allaun Silverfox
6047de0f0f
feat(pist): use shared rds_connect for receipt-density writer
2026-05-26 15:13:35 -05:00
Brandon Schneider
7dd5a04597
chore: remove unused import subprocess from v14a (handled by rds_connect)
2026-05-26 15:11:11 -05:00
Brandon Schneider
465d572ec3
refactor(rds): consolidate 14 psycopg2 connect patterns into shared rds_connect module
...
Creates 4-Infrastructure/shim/rds_connect.py with a single connect_rds()
function that resolves connection parameters in priority order:
1. explicit kwargs
2. DATABASE_URL env var (postgres://user:pass@host:port/dbname?sslmode=...)
3. individual RDS_* env vars (RDS_HOST, RDS_PORT, RDS_USER, etc.)
4. built-in defaults
Auth resolution (when password is empty or RDS_IAM=1):
1. RDS_IAM_TOKEN env var (pre-computed)
2. boto3 SDK generate_db_auth_token (preferred)
3. subprocess aws rds generate-db-auth-token (fallback)
4. RDS_PASSWORD env var (non-IAM)
Replaces 8 connection pattern variants across 14 active shims:
- subprocess + RDS_IAM_TOKEN fallback: pist_trace_classify_mcp, joint_classifier,
pist_prove_and_classify, ingest_57_flexures
- boto3 SDK: ene_wiki_body_reingest, ene_migrate_and_tag, dataset_ingest_rds
- subprocess + RDS_PASSWORD: batch_embed_artifacts, sync_wiki_to_rds, seed_flexure_dataset
- RDS_IAM_AUTH: pist_classify
- bashrc parsed: credential_loader
v1.4a benchmark confirmed at 100% after refactor.
2026-05-26 15:09:34 -05:00
Allaun Silverfox
61c0091213
docs: add PIST receipt-density backfill guide
2026-05-26 14:46:55 -05:00
Allaun Silverfox
7f496dd62b
feat(pist): add RRC receipt-density backfill injector
2026-05-26 14:46:13 -05:00
Allaun Silverfox
10d566c565
wiki: link PIST route-repair receipt update from home
2026-05-26 14:38:39 -05:00