Add browser deploy recon backend with port scan, web crawl, and deploy lane recommendations.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

POST /api/v1/recon/scan probes fleet ports from the server host, crawls owned HTTP targets, maps findings to spread lanes, and records optional oath ledger rows.
This commit is contained in:
AetherForge
2026-06-07 11:23:10 -07:00
parent 483eafa9dd
commit f3e5a9a07d
40 changed files with 3091 additions and 4 deletions

View File

@@ -48,4 +48,43 @@ test.describe('Page smoke', () => {
await expect(page.getByRole('heading', { name: 'Quick Forge' })).toBeVisible();
await expect(page.locator('.forge-mode-toggle').getByRole('button', { name: 'Simple', exact: true }).first()).toBeVisible();
});
test('Deploy Recon renders scan form', async ({ page }) => {
await page.goto('/deploy-recon');
await expect(page.getByRole('heading', { level: 1, name: /Deploy Recon/i })).toBeVisible({
timeout: 10_000,
});
await expect(page.getByTestId('dr-scan-btn')).toBeVisible();
});
test('Emberwake Cloud Ecosystem panel expands', async ({ page }) => {
await page.goto('/emberwake');
await expect(page.getByRole('heading', { level: 1, name: /Emberwake/i })).toBeVisible({ timeout: 10_000 });
await page.getByText('Cloud ecosystem').click();
await expect(page.getByTestId('cloud-spread-panel')).toBeVisible({ timeout: 10_000 });
await expect(page.getByTestId('cloud-method-s3-cloudfront')).toBeVisible();
await expect(page.getByTestId('cloud-method-minio')).toBeVisible();
await expect(page.getByText('AWS ecosystem')).toBeVisible();
});
test('Seer page is read-only stream', async ({ page }) => {
await page.goto('/seer');
await expect(page.getByRole('heading', { name: /The Seer/i })).toBeVisible({ timeout: 10_000 });
await expect(page.getByText(/FLEET AI STREAM/i)).toBeVisible();
await expect(page.getByText(/SEER NOTES/i)).toBeVisible();
await expect(page.getByRole('link', { name: /Oath Ledger/i })).toBeVisible();
await expect(page.getByRole('textbox')).toHaveCount(0);
await expect(page.getByRole('searchbox')).toHaveCount(0);
});
test('Oath ledger renders accountability table', async ({ page }) => {
await page.goto('/oath');
await expect(page.getByRole('heading', { name: /Operator Oath Ledger/i })).toBeVisible({
timeout: 10_000,
});
await expect(page.getByRole('columnheader', { name: 'Time' })).toBeVisible();
await expect(page.getByRole('columnheader', { name: 'Action' })).toBeVisible();
await expect(page.getByRole('link', { name: /Seer reasoning/i })).toBeVisible();
await expect(page.getByText(/No oath rows yet|Loading…/)).toBeVisible({ timeout: 15_000 });
});
});