Integrator: AWS gate fixes and doc counts after cloud landing.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Apply SwarmMagnet, uiHelp, AccessDepthPanel, Seer, miningsurgery, and path-tracer test fixes; add agent cloud telemetry fields and main strings import; refresh tests/README and PROBLEMS AWS operator notes.
This commit is contained in:
AetherForge
2026-06-07 10:52:38 -07:00
parent f691270279
commit 35c3271f20
19 changed files with 1090 additions and 146 deletions

View File

@@ -242,8 +242,9 @@ describe('AccessDepthPanel', () => {
graft_source_strain: '#aabbcc',
}),
);
expect(await screen.findByText(/genealogy graft pending/i)).toBeInTheDocument();
expect(screen.getByText(/winrm/)).toBeInTheDocument();
const graftNote = await screen.findByText(/genealogy graft pending/i);
expect(graftNote).toBeInTheDocument();
expect(graftNote.textContent).toMatch(/tier winrm · strain #aabbcc/i);
});
it('renders lineage strain card with play control', async () => {

View File

@@ -45,7 +45,9 @@ function operatorDeckId(pathname: string): string {
return 'dashboard';
}
const NAV_BASE = [
type NavItem = { readonly to: string; readonly label: string; readonly icon: string; readonly glow?: boolean };
const NAV_BASE: readonly NavItem[] = [
{ to: '/dashboard', label: 'Command Deck', icon: 'deck' },
{ to: '/crucible', label: 'Crucible', icon: 'crucible' },
{ to: '/activity', label: 'Activity Feed', icon: 'activity' },
@@ -57,15 +59,15 @@ const NAV_BASE = [
{ to: '/builds', label: 'Builds', icon: 'builds' },
{ to: '/emberwake', label: 'Emberwake', icon: 'ember' },
{ to: '/settings', label: 'Calibrate', icon: 'gear' },
] as const;
];
const SEER_NAV = { to: '/seer', label: 'Seer', icon: 'seer' } as const;
const SEER_NAV: NavItem = { to: '/seer', label: 'Seer', icon: 'seer' };
function buildNav(aiControlEnabled: boolean) {
function buildNav(aiControlEnabled: boolean): NavItem[] {
if (!aiControlEnabled) {
return [...NAV_BASE];
}
const items = [...NAV_BASE];
const items: NavItem[] = [...NAV_BASE];
const calibrateIdx = items.findIndex((i) => i.to === '/settings');
items.splice(calibrateIdx, 0, SEER_NAV);
return items;

View File

@@ -64,9 +64,11 @@ describe('UI_HELP', () => {
'fm_encrypt_path',
'pt_path_tracer',
'pt_agent_chain',
'pt_subnet_autopsy',
'fleet_runtime_policy',
'fleet_runtime_modules',
'spread_funnel_widget',
'subnet_immune_autopsy',
'md_overview',
'md_operation_chip',
'md_spread_profile',

View File

@@ -107,11 +107,12 @@ export default function SeerPage() {
}
if (latestMessage.type === 'seer_notes_updated') {
const p = latestMessage.payload as { note?: string; agent_id?: string; source?: string };
if (p?.note) {
const noteText = p?.note?.trim();
if (noteText) {
setNotes((prev) => [
{
id: Date.now(),
note: p.note,
note: noteText,
agent_id: p.agent_id,
source: p.source,
ts: new Date().toISOString(),