Polish complete Cyber Command workbench flows
Browse filesRefine register and assessment hierarchy, disclosures, tables, mobile navigation and keyboard tabs. Fix stale navigation responses, export scope labels, restore preview feedback and print content lifecycle. Preserve browser-local evidence safeguards. Verified 42 local tests, 4 deployment-helper tests and all six tabs at four widths. Native print pagination remains untested. No runtime dependencies or paid service added.
Files changed (9)
44 unmodified lines4546474849505152535444 unmodified lines5. Continue engagement atomically creates a fresh linked record while preserving the source history and frozen reports, even at the 200-event limit. Current evidence/tracking/workbooks/delivery copy; old history and snapshots remain in the source.6. Delivery stores an analyst-written executive summary, business impact and prioritized recommendations. Client remediation filters confirmed records across local assessments by client, owner, state and overdue UTC date, with 50 rows per page. Continuations can repeat source findings; inspect lineage before combining counts.7. Workspace status shows counts, approximate serialized bytes and optional browser-origin usage/quota estimates. Unknown metadata is shown as unavailable. Warnings flag approaching record/history/size/report limits. Recovery guide and last backup export initiated time improve operator visibility without claiming a file was saved.
## Full workbench polish · 2026-11-07
Saved-work guidance folds into a disclosure once records exist. Assessment instructions, exports/maintenance and record capacity use labeled disclosures, preserving visible review progress and capacity warnings. Tables, empty-result recovery, mobile navigation and touch targets are clearer. Tabs retain keyboard focus and horizontal visibility. Workflow input descriptions are programmatically associated.
Asynchronous page reads discard obsolete navigation results; export names and backup notices retain their starting scope. Restore previews clear stale errors and announce validation. Print content clears after printing and navigation, and manual browser Print receives safe guidance when no report is prepared. Report headings wrap. The existing browser-only security model, evidence requirements and conflict safeguards are unchanged.123456345678910111112131415161716171819209 unmodified lines30313233333435{ "README.md": "958c9baaf99fe604332b902b7a8e94fa0713a6dde66cd0c1fc0217255300bc8f", "index.html": "f2d602f3c51a97434b109656a89a2504bdc4d29e72939449047af59a64d39179", "static/index.html": "0c0181b8234dbcd0747aeb1d18a6561f6d11d8781c248f6a7ddbdeacf1355c63", "static/style.css": "11ced599ffd165983f06c044f7176763d48d92ca47505a1efadadf4d519beb14", "static/app.js": "aebe9b22e8129af18a7b650ed74fbb130b03c397054a23bf4f62f5953acc1827", "index.html": "99cc5133147160bda3d9588f98b618bde9cfbe45eec2f735a7e1ffdd4d9fccb0", "static/index.html": "f6880755b9b1ab9df487968bc4ce2c0859309b518ae4fd932e9136d1e86f901a", "static/style.css": "517293478a5365f1e277a37992aafafe14454f7df799d24a933ed2df2db75cea", "static/app.js": "000a8b9959cb37a69d4fa2dd4755eee8b90f78e535b0e35793774f6fb6b0acb7", "static/local.js": "a341a64d2a4671bc80e104e52877d9bcad7b0d572839e4c3d614532e8d85f0d3", "static/playbooks.js": "3907230561f4573801651297fde26d835d964783a175363b6434c8a4e312e80c", "tests/test_local.cjs": "5610014c165d662f83706570db6f47a34929cb1c44017a8d809be2038739cabb", "tests/browser_storage.cjs": "fe7327875e08c4cc51f5f0ca32f25b2365362634180cac02af907e115344aa40", "tests/browser_ui.cjs": "d6fe9ca16dfe59bed97f4a8d800fcf7eb863a3fe7b19b53d49a53e40be80e9fc", "tests/browser_ui.cjs": "a4039b4ade6554cfe19d4c287b8273ac8378778125cc776199286f3f3e41e1b0", "tests/detection-fixtures.cjs": "1d9fed45afab9f37d7d2715a8dcf0c2e1e6c80c57821509df44d07e22b12383b", "SECURITY.md": "105ac97b2c07ca5b8b20e4162bfb311bc30a6c332354648d71b65feac1d9181b", "SERVICE.md": "7bdd60baeca50ef6b6c0ef72c277f3fbbc6e02a16203f19a171eeb47e79faeca", "PROVENANCE.md": "4f2e3bdc539df09f79e091086d5bd2bb855c34bc18acb712281e51c4d504c9a1", "VERIFICATION.md": "82c76282c7f7a85b3b93dfa62dbefb725ab9e0e9ee738dd9168951d54534c068", "IMPROVEMENTS.md": "eb26380eb8cb9bcf6964acd002ab8c1cb3d16de8109c89d832aa9578235eb673", "VERIFICATION.md": "8918113edfed34225e0e167684ea33bf895d414811e779f8c301c82f38afc7db", "IMPROVEMENTS.md": "a31147b3c60263e26a16038de078fdc4b7a15902b5f0b1636d4df76cc606d9da", "deploy_hf.py": "82440fd36b692d785fc9bfd17d3e65bbee18cd83694978c09b223057ee1405dc", "requirements-deploy.txt": "81672301ff63877bdaf3f00b06ebed759f2d2e04f4372c57024fef78c0ea42bf", "tests/test_deploy.py": "95fcbd4f01ade35dd55f35c589fce3c6043f8c95197ab23d84aea032a0321416",9 unmodified lines "docs/superpowers/plans/2026-11-02-engagement-workflows.md": "edb546e22a04106ac1aa5fec9b0964983ab5aa6554f6d69c455e5dfae274251b", "docs/superpowers/specs/2026-11-02-engagement-workflows-design.md": "3b78b277df3cf59001cbf7b0a69d515143b057a4914bd53946bfcd565eb1d4dd", "CONTRACT.md": "7eaaab92c8af7bfe7817a62417a2ec2830893f84921dda5caf9948a066dcf23b", "tests/browser_usability.cjs": "bd7a2e02a85363795c763be34724ed25b544a9414f3b7f90ded60290ba45ff53", "tests/browser_usability.cjs": "a47b3274b43452319b22a6938c5f1518c861475fed592013f4219ceaffafddd6", "docs/superpowers/plans/2026-11-03-usability.md": "89a5ee99bf6568462c7c3ea72d9d7eaeffe84d03b38c0c216d4ac7719faff15a"}86 unmodified lines8788899091929394959686 unmodified linesBrowser suites needed unsandboxed local Chromium launch and a loopback server. Existing tests were updated to open the new disclosures before interacting with their controls. The mechanical design detector emitted heuristic warnings (including inferred white backgrounds on the dark theme); these do not represent a clean accessibility certification. Actual dark palette and visible focus were inspected.
Graphify did not run; bounded direct source inspection was sufficient. Live release verification is recorded separately after publishing.
## 2026-11-07 polish evidence
The local Node suite passed 42/42 tests and deploy-helper tests passed 4/4. Syntax checked the three runtime scripts and touched browser scripts. Browser acceptance used an isolated loopback origin with fictional code, alert and exercise samples: creation/authorization, rejected decision persistence, frozen report creation, role-task navigation, all six tabs, refresh focus, search recovery, backup download and additive-restore preview. All 24 combinations of six tabs and widths 320/390/768/1440 kept the document within viewport and selected tabs visible. Native print pagination, physical touch devices, other engines and screen-reader hardware remain untested. Navigation races and export scope captures received source review; delayed storage was not browser-injected.
The existing browser script checklists were updated for the new disclosures; those Playwright scripts were syntax checked rather than launched. Host browser automation provided acceptance evidence. The regex design detector returned no findings; it did not run parsed-page contrast rules. Graphify was not run; targeted reads and specialist source reviews were used. No live stored assessment was changed by QA.9 unmodified lines10111213141314151616171818192021153 unmodified lines1751761771781781791801819 unmodified lines Napolean · Cyber Command </title> <link href="./static/favicon.svg" rel="icon" type="image/svg+xml"/> <link href="./static/style.css?v=20261103-usability" rel="stylesheet"/> <script defer="" src="./static/playbooks.js?v=20261103-usability"> <link href="./static/style.css?v=20261107-polish3" rel="stylesheet"/> <script defer="" src="./static/playbooks.js?v=20261107-polish3"> </script> <script defer="" src="./static/local.js?v=20261103-usability"> <script defer="" src="./static/local.js?v=20261107-polish3"> </script> <script defer="" src="./static/app.js?v=20261103-usability"> <script defer="" src="./static/app.js?v=20261107-polish3"> </script> </head> <body>153 unmodified lines Use sample input ↙ </button> </div> <textarea id="content" maxlength="64000" name="content" required="" rows="9" spellcheck="false"></textarea> <textarea aria-describedby="input-help" id="content" maxlength="64000" name="content" required="" rows="9" spellcheck="false"></textarea> <p class="fine" id="input-help"> Paste a Python snippet for limited text-pattern checks. This is not a Python parser or data-flow analysis. Input is never executed. </p>123456125 unmodified lines1321331341351361371381391401381411421431441451461471481491501517 unmodified lines15916016115516216316416516656 unmodified lines2232242252182262272282292302312322332342352262362372382392402412422432442452462472482492502512522532542552562572582592 unmodified lines26226326424826526626726826927027127210 unmodified lines2832842852862872652882892902912923 unmodified lines29629729829930027530130230330416 unmodified lines32132232332432532632716 unmodified lines34434534634734834935035135235331 unmodified lines38538638735738838939039135 unmodified lines42742842939943043143243327 unmodified lines46146246346443346546646746846943847047147247377 unmodified lines55155255355455555655755855956056156288 unmodified lines65165265365462065565665762365865966066111 unmodified lines6736746756766776786796806816825 unmodified lines688689690654691692693694695696697444 unmodified lines1142114311441145114611471148114911501151115211531154115541 unmodified lines11971198119912001157120112021203120412051206120712081209'use strict';const $ = (selector, root = document) => root.querySelector(selector);let navigationSequence = 0;const state = { assessments: [], assessment: null, finding: null, tab: 'ledger', client: '', ledgerSearch: '', verdict: '', severity: '', restoreText: '', originalReview: ''};125 unmodified lines}async function loadOverview() { if (!allowDeliveryDiscard()) return; const navigation = ++navigationSequence; $('#print-report').replaceChildren(); activate(); state.assessment = null; $('#view').replaceChildren(el('p', 'Opening browser storage…', 'muted')); try { state.assessments = (await api('/api/assessments')).assessments; const result = await api('/api/assessments'); if (navigation !== navigationSequence) return; state.assessments = result.assessments; renderOverview(); $('#main').focus({ preventScroll: true }); } catch (error) { if (navigation !== navigationSequence) return; $('#view').replaceChildren(empty('Browser storage is unavailable', `${error.message} Enable site storage and retry. Records belong to this browser and origin; this app has no server backup.`, button('Try again', loadOverview))); notify(error.message, true); }7 unmodified lines if (state.client && !state.assessments.some(a => (a.client || 'Unassigned') === state.client)) state.client = ''; view.replaceChildren(); append(view, heading('WORKSPACE', 'Security reviews, step by step.', 'Review Python code, review alert logs, or plan a team exercise. Keep the evidence and decisions together.', button('+ New assessment', openCreate, 'primary'))); const intro = el('section', undefined, 'quick-start'); const intro = el(state.assessments.length ? 'details' : 'section', undefined, 'quick-start'); if (state.assessments.length) intro.append(el('summary', 'Review guide and sample')); append(intro, el('h2', 'How a review works'), el('p', 'You make the decisions. Suggested issues need human review and supporting evidence; this workbench does not certify that a system is secure.')); const steps = el('ol'); ['Choose a review type and describe the scope you are authorized to assess.', 'Inspect each suggested issue, add evidence, and save a review decision.', 'Track confirmed fixes and prepare a report or client summary.'].forEach(text => steps.append(el('li', text)));56 unmodified lines }); table.append(body); wrap.replaceChildren(table); if (!matches.length) wrap.append(el('p', 'No matching assessments.', 'muted')); if (!matches.length) wrap.append(empty('No matching assessments.', 'Broaden the search or client filter to see saved work.', button('Clear filters', () => { search.value = ''; clients.value = state.client = ''; draw(); search.focus(); }))); } search.addEventListener('input', draw); draw();}async function openAssessment(id) { const navigation = ++navigationSequence; $('#print-report').replaceChildren(); $('#view').replaceChildren(el('p', 'Loading evidence…', 'muted')); try { state.assessment = (await api(`/api/assessments/${encodeURIComponent(id)}`)).assessment; const result = await api(`/api/assessments/${encodeURIComponent(id)}`); if (navigation !== navigationSequence) return; state.assessment = result.assessment; state.externalChange = false; state.tab = 'ledger'; state.ledgerSearch = state.verdict = state.severity = ''; renderAssessment(); $('#main').focus({ preventScroll: true }); } catch (error) { if (navigation !== navigationSequence) return; notify(error.message, true); await loadOverview(); }}function renderAssessment() { $('#print-report').replaceChildren(); activate(); const a = state.assessment; const tabScroll = $('.tabs')?.scrollLeft || 0; const toolsOpen = $('.assessment-tools')?.open || false; const view = $('#view'); view.replaceChildren(button('← Assessment register', loadOverview, 'text-button back')); append(view, heading(`${workflows[a.workflow] || a.workflow} / ${date(a.created_at)}`, a.name, `${a.client || 'Unassigned'} / ${a.scope}`));2 unmodified lines view.append(assignedPerspectives); const actions = el('div', undefined, 'detail-actions'); append(actions, button('↓ Export JSON', () => download('json')), button('↓ Export Markdown', () => download('markdown')), button('Print executive report', printCurrentReport), button('Add analyst finding', openManual), button('Refresh saved assessment', refreshAssessment, 'refresh-assessment'), button('Continue engagement', continueEngagement, 'continue-engagement'), button('Record handoff', openHandoff), button('Delete assessment', () => $('#delete-dialog').showModal(), 'text-button')); view.append(actions); const assessmentTools = el('details', undefined, 'assessment-tools'); assessmentTools.open = toolsOpen; append(assessmentTools, el('summary', 'Assessment tools and exports'), actions); view.append(button('Add analyst finding', openManual), assessmentTools); [...actions.querySelectorAll('button')].find(node => node.textContent === 'Add analyst finding').remove(); $('.refresh-assessment', actions).id = 'refresh-assessment'; $('.continue-engagement', actions).id = 'continue-engagement'; const changeHint = el('p', '', 'change-hint fine');10 unmodified lines }); append(view, stats, el('p', a.summary, 'muted')); const recordBytes = new TextEncoder().encode(JSON.stringify(a)).length; const recordDetails = el('details', undefined, 'record-details'); recordDetails.append(el('summary', 'Record capacity and retention')); view.append(el('p', `Record limits: ${(a.activity || []).length} / 200 events · ${(a.snapshots || []).length} / 3 report snapshots · approximately ${recordBytes.toLocaleString()} serialized bytes. Continue the engagement to start fresh event/report capacity; export backups before retention changes.`, 'fine')); recordDetails.append(el('p', `Record limits: ${(a.activity || []).length} / 200 events · ${(a.snapshots || []).length} / 3 report snapshots · approximately ${recordBytes.toLocaleString()} serialized bytes. Continue the engagement to start fresh event/report capacity; export backups before retention changes.`, 'fine')); assessmentTools.append(recordDetails); if ((a.activity || []).length >= 180 || (a.snapshots || []).length >= 3 || recordBytes >= 4 * 1024 * 1024) view.append(el('p', 'This engagement is nearing an event, frozen-report, or backup-size limit. Export a backup and continue the engagement for fresh history/report capacity.', 'fine')); const guide = el('section', undefined, 'review-guide'); guide.setAttribute('aria-label', 'Assessment review guide');3 unmodified lines guide.append(el('p', a.findings.length ? `${reviewed} of ${a.findings.length} issues have a saved decision. ${unresolved.length} await review.` : 'No issues were suggested. Complete the assigned role tasks and record what you checked; this does not establish that the scope is secure.')); const guideSteps = el('ol'); ['Review: open an issue and inspect its location, impact, and limitations.', 'Evidence: check the supporting material and record your review notes.', 'Decision: save a verdict. Confirmed issues require evidence and a review method.', 'Report: check the saved decisions, track confirmed fixes, and prepare the report.'].forEach(text => guideSteps.append(el('li', text))); const guideDetails = el('details'); append(guideDetails, el('summary', 'Review steps'), guideSteps); guide.append(guideSteps); guide.append(guideDetails); const nextTab = key => { if (!allowDeliveryDiscard()) return; state.tab = key;16 unmodified lines if (!allowDeliveryDiscard()) return; state.tab = key; renderAssessment(); $(`#tab-${key}`).focus({ preventScroll: true }); }, `tab${state.tab === key ? ' active' : ''}`); node.id = `tab-${key}`; node.setAttribute('role', 'tab');16 unmodified lines tab.tabIndex = tab.getAttribute('aria-selected') === 'true' ? 0 : -1; }); append(view, tabs, panel); tabs.scrollLeft = tabScroll; const selectedTab = $(`#tab-${state.tab}`, tabs); if (selectedTab.offsetLeft < tabs.scrollLeft) tabs.scrollLeft = selectedTab.offsetLeft; else if (selectedTab.offsetLeft + selectedTab.offsetWidth > tabs.scrollLeft + tabs.clientWidth) tabs.scrollLeft = selectedTab.offsetLeft + selectedTab.offsetWidth - tabs.clientWidth; if (state.tab === 'ledger') renderLedger(panel, a); if (state.tab === 'queue') renderQueue(panel, a); if (state.tab === 'reports') renderReports(panel, a);31 unmodified lines append(title, el('h2', 'Candidate findings'), el('span', 'ANALYST VERDICT REQUIRED', 'count')); panel.append(title); if (!a.findings.length) { panel.append(empty('No possible issues from this input.', 'This result covers only the limited checks listed under Checks and history. Open Role tasks to continue the review.')); panel.append(empty('No possible issues from this input.', 'This result covers only the limited checks listed under Checks and history. Open Role tasks to continue the review.', button('Review assigned tasks', () => $('#tab-missions').click()))); return; } const toolbar = el('div', undefined, 'toolbar');35 unmodified lines }); table.append(body); wrap.replaceChildren(table); if (!matches.length) wrap.append(el('p', 'No matching findings.', 'muted')); if (!matches.length) wrap.append(empty('No matching findings.', 'Broaden the search or decision and severity filters.', button('Clear filters', () => { search.value = state.ledgerSearch = ''; verdictFilter.value = state.verdict = ''; severityFilter.value = state.severity = ''; draw(); search.focus(); }))); } search.addEventListener('input', draw); draw();27 unmodified lines}async function download(format) { try { const assessmentId = state.assessment.id; const text = await CyberLocal.exportText(state.assessment.id, format); const text = await CyberLocal.exportText(assessmentId, format); const blob = new Blob([text], { type: format === 'json' ? 'application/json;charset=utf-8' : 'text/markdown;charset=utf-8' }); const url = URL.createObjectURL(blob); const link = el('a'); link.href = url; link.download = `assessment-${state.assessment.id}.${format === 'json' ? 'json' : 'md'}`; link.download = `assessment-${assessmentId}.${format === 'json' ? 'json' : 'md'}`; document.body.append(link); link.click(); link.remove();77 unmodified lines $('#input-label').textContent = help.code[0]; $('#input-help').textContent = help.code[1]; $('#create-dialog').close(); ++navigationSequence; state.assessment = result.assessment; state.tab = 'ledger'; state.ledgerSearch = state.verdict = state.severity = ''; renderAssessment(); $('#main').focus({ preventScroll: true }); notify('Assessment created. Candidates await analyst review.'); });});88 unmodified lines}async function backupWorkspace() { try { const client = state.client; const text = await CyberLocal.backupText(state.client || undefined); const text = await CyberLocal.backupText(client || undefined); saveText(text, `napolean-backup-${new Date().toISOString().slice(0, 10)}.json`); recordBackupInitiated(); notify(`Backup export initiated for ${state.client || 'all clients'}. This app cannot confirm that the file was saved.`); notify(`Backup export initiated for ${client || 'all clients'}. This app cannot confirm that the file was saved.`); } catch (error) { notify(error.message, true); }}function openRestore() {11 unmodified lines $('#restore-submit').disabled = true; $('#restore-confirm').checked = false; $('#restore-preview').textContent = ''; $('#restore-form .error-inline').hidden = true; const file = $('#restore-file').files[0]; if (!file) return; $('#restore-preview').textContent = 'Validating backup…'; try { if (file.size > 5 * 1024 * 1024) throw new Error('Backup exceeds the 5 MB file limit.'); const text = await file.text();5 unmodified lines $('#restore-form .error-inline').hidden = true; $('#restore-submit').disabled = false; } catch (error) { if (sequence === previewSequence) formError($('#restore-form'), error.message); if (sequence === previewSequence) { $('#restore-preview').textContent = ''; formError($('#restore-form'), error.message); } }});$('#restore-form').addEventListener('submit', event => {444 unmodified lines}async function openClientRemediation() { if (!allowDeliveryDiscard()) return; const navigation = ++navigationSequence; $('#print-report').replaceChildren(); $('#view').replaceChildren(el('p', 'Loading saved remediation across local assessments…', 'muted')); try { const summaries = (await api('/api/assessments')).assessments; const records = []; for (const summary of summaries) records.push((await api(`/api/assessments/${summary.id}`)).assessment); if (navigation !== navigationSequence) return; const view = $('#view'); view.replaceChildren(button('← Assessment register', loadOverview, 'text-button back')); const panel = el('section'); panel.id = 'client-remediation'; append(panel, heading('BROWSER WORKSPACE / CONFIRMED ONLY', 'Client remediation', 'Client labels organize this browser; they do not provide access control or tenant isolation.'));41 unmodified lines draw(); }); [owners, statuses, late].forEach(control => control.addEventListener('change', () => { queuePage = 0; draw(); })); draw(); $('#main').focus({ preventScroll: true }); } catch (error) { notify(error.message, true); await loadOverview(); } } catch (error) { if (navigation !== navigationSequence) return; notify(error.message, true); await loadOverview(); }}loadOverview();
window.addEventListener('afterprint', () => $('#print-report').replaceChildren());window.addEventListener('beforeprint', () => { const report = $('#print-report'); if (!report.childElementCount) report.append(el('h1', 'No report prepared'), el('p', 'Open an assessment and choose Print executive report, or print a frozen report from Reports.'));});9 unmodified lines10111213141314151616171818192021153 unmodified lines1751761771781781791801819 unmodified lines Napolean · Cyber Command </title> <link href="./favicon.svg" rel="icon" type="image/svg+xml"/> <link href="./style.css?v=20261103-usability" rel="stylesheet"/> <script defer="" src="./playbooks.js?v=20261103-usability"> <link href="./style.css?v=20261107-polish3" rel="stylesheet"/> <script defer="" src="./playbooks.js?v=20261107-polish3"> </script> <script defer="" src="./local.js?v=20261103-usability"> <script defer="" src="./local.js?v=20261107-polish3"> </script> <script defer="" src="./app.js?v=20261103-usability"> <script defer="" src="./app.js?v=20261107-polish3"> </script> </head> <body>153 unmodified lines Use sample input ↙ </button> </div> <textarea id="content" maxlength="64000" name="content" required="" rows="9" spellcheck="false"></textarea> <textarea aria-describedby="input-help" id="content" maxlength="64000" name="content" required="" rows="9" spellcheck="false"></textarea> <p class="fine" id="input-help"> Paste a Python snippet for limited text-pattern checks. This is not a Python parser or data-flow analysis. Input is never executed. </p>362 unmodified lines36336436536636636736836977 unmodified lines447448449450450451452453197 unmodified lines651652653654654655656657106 unmodified lines76476576676776776876977093 unmodified lines86486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790856 unmodified lines9659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090362 unmodified lines text-underline-offset:5px}.subline { font-size:10px; font-size:11px; color:var(--muted); display:block; margin-top:6px77 unmodified lines color:white}.tag { font-size:10px; font-size:11px; color:#cbcad0}.mission {197 unmodified lines padding:18px 12px } .hat p { font-size:10px font-size:11px }}@media(max-width:700px) {106 unmodified lines gap:8px } .detail-actions button { font-size:10px font-size:12px } .empty { padding:40px 15px93 unmodified lines .tabs { gap: 20px; } .tab { font-size: 11px; }}/* Keep the assessment's working tabs in reach; expanded guidance grows naturally. */#view:has(> .review-guide) > .back { margin-top: 12px; }#view:has(> .review-guide) > .page-heading { padding: 22px 0 16px; }#view:has(> .review-guide) > .page-heading .eyebrow { margin-bottom: 10px; }#view:has(> .review-guide) > .perspective-help { margin: 0 0 10px; }#view:has(> .review-guide) > .assessment-tools { margin: 10px 0 0; }#view:has(> .review-guide) > .record-details { margin: 10px 0 0; }#view:has(> .review-guide) > .stats { margin: 14px 0 16px; padding: 14px 0; }#view:has(> .review-guide) > .stats .stat strong { margin: 5px 0 0; }#view:has(> .review-guide) > .muted { margin-bottom: 12px; }#view:has(> .review-guide) > .tabs { margin-top: 18px; }#view > .review-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; row-gap: 6px; margin: 8px 0 12px; padding: 16px 0; align-items: start;}#view > .review-guide > h2 { grid-column: 1; margin: 0; line-height: 1.35; }#view > .review-guide > p { grid-column: 1; margin: 0; }#view > .review-guide > details { grid-column: 1; margin: 0; }#view > .review-guide > details > summary { padding: 8px 0; }#view > .review-guide > button { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; max-width: 240px;}@media (max-width: 700px) { #view:has(> .review-guide) > .back { margin-top: 8px; } #view:has(> .review-guide) > .page-heading { padding: 16px 0; } #view > .review-guide { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; } #view > .review-guide > button { grid-column: 1; grid-row: auto; max-width: none; } #view:has(> .review-guide) > .stats { padding: 12px 0; }}
@media print { :root { color-scheme: light; color: #111; background: #fff; font-size: 11pt; } body > * { display: none !important; }56 unmodified lines .quick-start h2, .review-guide h2 { font-size: 19px; line-height: 1.4; } .quick-start button, .review-guide > button { width: 100%; min-height: 44px; }}
/* Shared workbench polish: quiet surfaces, clear tasks, native disclosure. */::selection { background: #315d91; color: #fff; }input, textarea { caret-color: #85b9f4; }html { scrollbar-color: #62616b var(--ground); }h1, h2, h3, legend, summary { overflow-wrap: anywhere; }h1 { letter-spacing: -.03em; }button { line-height: 1.4; }button:disabled { cursor: default; }.page-heading > .primary { flex-shrink: 0; }.page-heading .muted { max-width: 72ch; }.topline, footer { line-height: 1.6; }.local-notice strong { display: block; line-height: 1.6; color: #d4d5da; }.local-notice summary { color: var(--muted); font-size: 12px; }.nav.active { color: #85b9f4; }.nav.active span { text-decoration-thickness: 2px; }
summary { color: #d4d5da; font-weight: 500; }summary::marker { color: #85b9f4; font-size: .85em; }details[open] > summary { color: #fff; }details > summary + * { margin-top: 8px; }.assessment-tools, .record-details, details.quick-start { border-block: 1px solid var(--border); margin: 16px 0;}details.quick-start { max-width: none; }details.quick-start > :not(summary) { max-width: 72ch; }details.quick-start > :last-child { margin-bottom: 20px; }.assessment-tools .detail-actions { margin: 4px 0 18px; }.record-details { color: var(--muted); font-size: 12px; }.record-details p { max-width: 78ch; overflow-wrap: anywhere; }.record-details summary { font-size: 12px; }.review-guide { padding: 20px 0; }.review-guide h2 { margin-bottom: 10px; }.review-guide > p { margin-bottom: 12px; }.review-guide details { margin: 8px 0 16px; max-width: 72ch; }.review-guide details > ol { margin-top: 8px; margin-bottom: 12px; }.review-guide > button { min-height: 42px; }.detail-actions { align-items: center; }.detail-actions button { font-size: 12px; }.detail-actions .text-button { padding-inline: 8px; }.section-title .count { white-space: normal; text-align: right; line-height: 1.6; }.toolbar { gap: 12px; }.toolbar input { flex: 1 1 220px; }.toolbar select { flex: 0 1 auto; }th { letter-spacing: .04em; }td { line-height: 1.6; }.row-button { font-weight: 500; line-height: 1.5; }.subline { line-height: 1.6; }.table-wrap tbody tr:hover { background: #1e1e23; }.table-wrap tbody tr:focus-within { background: #20232a; }td.tag { color: #d4d5da; line-height: 1.6; }.table-wrap > .muted { padding: 24px 0; border-bottom: 1px solid var(--border); }.tabs { position: relative; gap: 24px; scrollbar-width: thin; scrollbar-color: #62616b var(--ground); }.tab { min-height: 46px; padding-inline: 2px; border-bottom: 2px solid transparent; }.tab.active { border-bottom: 2px solid #78aef0; }.tab:hover { background: transparent; color: #fff; }.tab:focus-visible { outline-offset: -3px; }#assessment-panel { min-width: 0; }#assessment-panel > .page-heading h1 { font-size: 26px; letter-spacing: -.02em; }#assessment-panel > .page-heading { padding-top: 30px; }.empty { border: 1px solid var(--border); }.empty h2 { line-height: 1.35; }.empty button { min-height: 42px; }.dialog-head h2 { line-height: 1.35; }.close { min-width: 38px; min-height: 38px; flex-shrink: 0; }.role-checks { flex-wrap: wrap; justify-content: flex-start; gap: 6px 24px; }.role-checks label { flex: 1 1 175px; }.record-section h3 { line-height: 1.6; margin-bottom: 8px; }.record-section p { max-width: 85ch; line-height: 1.7; }.error-inline, .fine { overflow-wrap: anywhere; }
@media (max-width: 700px) { aside { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 18px 8px; } aside nav { gap: 8px; flex-wrap: wrap; min-width: 0; } aside .nav { width: auto; gap: 0; padding: 10px 12px; min-height: 44px; } aside .nav:first-child { padding-left: 0; } aside .nav span { font-size: 13px; } aside .nav.active span { text-underline-offset: 9px; } button, .text-button, .row-button, .close { min-height: 44px; } .close { min-width: 44px; } .page-heading { gap: 16px; } .page-heading h1 { line-height: 1.25; } .topline { font-size: 9px; } .detail-actions { align-items: stretch; } .detail-actions button { flex: 1 1 145px; padding: 10px 12px; } .detail-actions .text-button { text-align: center; } .toolbar input { flex-basis: 100%; } .toolbar select { flex-basis: 100%; } .table-wrap td::before { font-size: 11px; } .table-wrap td:first-child .row-button { display: block; width: 100%; } .table-wrap td:first-child .subline { margin-top: 2px; } .table-wrap tr { padding-block: 16px; } .stat span { font-size: 11px; line-height: 1.5; display: block; } .stats { gap: 8px; } .stat { padding-left: 12px; } .tabs { gap: 20px; } .tab { min-height: 48px; font-size: 12px; } .dialog-actions button, .empty button { min-height: 44px; } .empty button { width: 100%; } dialog { padding: 20px; max-height: calc(100dvh - 24px); } .role-checks { gap: 4px 16px; } .role-checks label { min-height: 44px; align-items: center; margin: 2px 0; } .attestation { min-height: 44px; padding-block: 8px; } .input-heading { align-items: flex-end; flex-wrap: wrap; gap: 0 12px; } .input-heading .text-button { font-size: 12px; } #assessment-panel > .page-heading h1 { font-size: 23px; }}
@media (max-width: 380px) { main { padding-inline: 16px; } .stats { grid-template-columns: 1fr; gap: 0; padding-block: 6px; } .stat, .stat:first-child { border-left: 0; padding: 10px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .stat + .stat { border-top: 1px solid var(--border); } .stat strong { margin: 0; } .section-title { align-items: flex-start; } .table-wrap td, .table-wrap td:last-child { grid-template-columns: 90px minmax(0, 1fr); }}
@media print { #print-report h1, #print-report h2, #print-report h3 { overflow-wrap: anywhere; line-height: 1.25; } #print-report .snapshot-hash { overflow-wrap: anywhere; }}111 unmodified lines11211311411511611711872 unmodified lines191192193194195196197111 unmodified lines await page.locator('#next-unresolved').click(); assert.match(await page.locator('#finding-title').innerText(),/dynamic Python/); await page.getByRole('button',{name:'Close finding',exact:true}).click(); await page.locator('.assessment-tools > summary').click(); await page.getByRole('button',{name:'Record handoff',exact:true}).click(); await page.locator('#handoff-note').fill('Blue team: verify detection for the bounded shell invocation scenario.'); await assertProtectedDraft('#handoff-dialog');72 unmodified lines await page.getByRole('combobox',{name:'Filter by client'}).selectOption('Fictional retailer'); for(let index=0;index<2;index++) { await page.getByRole('button',{name:'Synthetic retailer review',exact:true}).first().click(); if (!(await page.getByRole('button',{name:'Delete assessment',exact:true}).isVisible())) await page.locator('.assessment-tools > summary').click(); await page.getByRole('button',{name:'Delete assessment',exact:true}).click(); await page.locator('#confirm-delete').click(); await page.locator('#delete-dialog').waitFor({state:'hidden'});27 unmodified lines2829303132333427 unmodified lines assert.equal(await page.locator('#tab-reports').getAttribute('aria-selected'), 'true'); console.log('PASS sample authorization, conditional evidence fields and saved-decision report path'); await page.locator('#nav-overview').click(); await page.locator('details.quick-start > summary').click(); await page.getByRole('button', {name: 'Try a sample review', exact: true}).click(); page.once('dialog', dialog => dialog.accept()); await page.locator('#workflow').selectOption('exercise');IMPROVEMENTS.md+7
SOURCE-MANIFEST.json+8-8
VERIFICATION.md+7
index.html+5-5
static/app.js+65-15
static/index.html+5-5
static/style.css+166-4
tests/browser_ui.cjs+2
tests/browser_usability.cjs+1