feat: Implement API V3 Testing Dashboard and Security Hardening

- Added comprehensive System Testing dashboard with live V3 trace tool.
- Implemented Section 2D 'Fail-Fast' protocol in get_object helper.
- Added reactive JWT synchronization in root layout to ensure V3 consistency.
- Resolved Tailwind 4 @apply compilation errors in testing page.
This commit is contained in:
Scott Idem
2026-01-19 15:37:45 -05:00
parent 0b2ed6ce08
commit f565857e20
3 changed files with 366 additions and 219 deletions

View File

@@ -169,6 +169,13 @@ export const get_object = async function get_object({
}
return null;
}
// FAIL FAST (Section 2D): Do not retry on Auth/Permission failures
if (response.status === 401 || response.status === 403) {
console.error(`API Auth Failure (${response.status}). Failing fast as per Section 2D protocol.`);
return false;
}
console.log('The response was not ok. Throwing an error!');
throw new Error(`HTTP error! status: ${response.status}`);
}