Polish protocol study layout and workbook draft handoff
Browse filesFiles changed (8)
82 unmodified lines838485868788899082 unmodified linesMotion is limited to brief 100–140ms button feedback; reduced-motion disables transitions and press scaling. Selection, caret, scrollbar, and native color scheme are themed. Focus uses a 2px cobalt outline with offset.
Printed reports use white paper, graphite type, outlined Veyra wordmark branding, deliberate type hierarchy, and preserved report content. Interactive chrome is hidden. CSP remains unchanged: every shipped asset is local.
## Protocol context
The optional study inset keeps a native disclosure and labelled protocol selector. Above 1100px, a reading column contains the summary, boundaries, questions and learning references; a narrower column groups unsaved workbook draft actions. A single hairline separates the columns. At intermediate widths the groups stack and actions use two columns; below 600px, controls form one full-width column. The 23px topic heading follows the existing section-heading scale. Visible action text is also its accessible name. Prompt drafts open at the start of Expected result. Existing storage and save behavior remain unchanged.42 unmodified lines434445464748495042 unmodified linesThe four local protocol summaries and review questions are original content based on RFC 9110 (HTTP), RFC 9846 (TLS 1.3; obsoletes RFC 8446), RFC 1035 (DNS), RFC 4033 (DNSSEC) and RFC 4251 (SSH). Each card links to its primary references. Protocol Explorer by Dilum Sanjaya is linked as an external learning resource at https://protocol-explorer-alpha.vercel.app/. No Explorer source code, lesson prose or packet traces are bundled. Its deployed frame restriction precludes embedding; no API or reuse license was established.
Topic selection stays in temporary UI state. The external root URL contains no record-derived parameters and uses no-referrer/noopener/noreferrer. Draft prompts use the existing Expected result field and require an explicit workbook save. Storage identifiers, schema, backup versions, findings and exercise routing are unchanged. The app adds no remote asset, dependency, connection permission or automatic external request.
## Protocol workflow polish — 2026-11-15
A scoped refinement groups original protocol reading and references separately from workbook draft actions, uses the existing heading scale, preserves native controls and disclosure, and aligns visible button labels with accessible names. Layout changes adapt to desktop, intermediate and mobile widths. No content source, network behavior, dependency, schema, protocol summary or finding rule changed.12345634567892 unmodified lines1213141516151617181913 unmodified lines3334353636373839{ "README.md": "1dce9b537615272e8b6e8cf6e1e400059dc75751d7da9293a29cc3b2a693a270", "index.html": "7c2b0146d43b2cbc78ec5af6007203befa92662489f5c75ba9f04d5824ed3f82", "static/index.html": "c46aea13f5ac862bfb606152b9c96a532d6f7c571a5f67216bfb0964c781f6b2", "static/style.css": "464992f71acae1af1fa3e201d0c207991509cbba34db561b5f4317a99f37f46c", "static/app.js": "8cf18412edda83505fb775471d7f602c51f35a49cf777686073156222252b33c", "index.html": "0663fab7f0fe8f9630a74f8841b657facdfe38cb8c6528ea0c3749917d376ecf", "static/index.html": "88a21e0e0b5ec55054e8f872495e0348c8356c6be874e538a3ab4f0c291b344a", "static/style.css": "49001d3d26f523a5ec334a376b1c2ef48d9aa20ba89b610d0b74a1b99e9449b4", "static/app.js": "66586060fdf71d75c61f33c03a979725697bb92192d938fd590ad0ded2364280", "static/local.js": "d833047ee92fc0302cb1a7e6566358e141640e20455d2ccd5c658b886d4a5ab9", "static/playbooks.js": "3907230561f4573801651297fde26d835d964783a175363b6434c8a4e312e80c", "tests/test_local.cjs": "5610014c165d662f83706570db6f47a34929cb1c44017a8d809be2038739cabb",2 unmodified lines "tests/detection-fixtures.cjs": "1d9fed45afab9f37d7d2715a8dcf0c2e1e6c80c57821509df44d07e22b12383b", "SECURITY.md": "105ac97b2c07ca5b8b20e4162bfb311bc30a6c332354648d71b65feac1d9181b", "SERVICE.md": "7bdd60baeca50ef6b6c0ef72c277f3fbbc6e02a16203f19a171eeb47e79faeca", "PROVENANCE.md": "a89832285c58f3d38d9e2350925d32c688fe691809a88cc2db73fc2b4005271c", "VERIFICATION.md": "433bed26655ca2b27d482f3ed0f17d6824695378adb986edd478c81997034fba", "PROVENANCE.md": "b0c7d8c91909fab9691300fe0f7330a5dc6886eb2262a36a083c5db81d18b2ca", "VERIFICATION.md": "8e66fba672bf27ee9807dc92bbc42c59374d2f440787d942c5ff957ac582b79b", "IMPROVEMENTS.md": "a31147b3c60263e26a16038de078fdc4b7a15902b5f0b1636d4df76cc606d9da", "deploy_hf.py": "3625d9ba75e1e478486a4d631998620bcb86cf349f1233d2025bf65990a20476", "requirements-deploy.txt": "81672301ff63877bdaf3f00b06ebed759f2d2e04f4372c57024fef78c0ea42bf",13 unmodified lines "tests/browser_usability.cjs": "a47b3274b43452319b22a6938c5f1518c861475fed592013f4219ceaffafddd6", "docs/superpowers/plans/2026-11-03-usability.md": "89a5ee99bf6568462c7c3ea72d9d7eaeffe84d03b38c0c216d4ac7719faff15a", "PRODUCT.md": "964285b9f8ff7cea6e6e2bef2a6e9543bca16572ec8a634cd879574138ca39ef", "DESIGN.md": "2fcd8896bcde63241e23e091b31d0f5e7eafd27dbad095d50a13e2aa2abc7269", "DESIGN.md": "efb2860d958be431b1001e780621d8acc8650756c22004adad706e159265bbfd", ".impeccable/design.json": "b462e91f52d4595ef2085a40ab9f353ef97a57b10d92d71bd8949e5d576165cc", "static/fonts/Manrope.ttf": "6c1cf832403e6ec8e96961889b314cae33b0c2b3292c6192806060d064a89fca", "static/fonts/OFL.txt": "58172e0c0fac2cda8a37b348164bb55e44b0e69051e557e92b1d3f6910141f7b",112 unmodified lines113114115116117118119120121122112 unmodified linesThe integrated source passes 50 Node checks (42 existing engine checks and eight protocol catalog/draft checks), four optional publisher tests, JavaScript syntax checks, and all five Chromium harnesses: storage, UI, engagement, usability and protocol context. The protocol harness also passed against static/index.html. Synthetic fixtures verify all four topics, fixed external link privacy attributes, no requests on topic selection, existing workbook preservation, unsaved discard, explicit save, duplicate prevention, the 2000-character boundary, Markdown export, JSON backup restore, keyboard focus and 390px overflow. Desktop rendering was inspected through the in-app browser; the mobile protocol screenshot was inspected separately.
A bounded independent source review found no blocking issue. Storage and playbook modules remain byte-identical to the preceding release. These checks do not establish protocol configuration security, RFC implementation conformance or broad browser compatibility. The cards provide study questions, not evidence or findings. Graphify was not run; direct source inspection covered this small known module relationship. Hosted publication is verified separately in the release receipt.
## Protocol workflow polish — 2026-11-15
The final source passes 50 Node checks, four optional publisher tests, all five Chromium harnesses and the protocol harness through both entry points. JavaScript syntax and diff whitespace checks pass. Desktop, 820px intermediate and 390px mobile renders were inspected. A temporary extension of the existing protocol harness also checked all four topics at 390, 820, 1100 and 1280px without page overflow, captured each layout, and verified a new draft opens with its selection and scroll at zero. A bounded independent source review found no blockers. Workbook actions now expose their visible text as their accessible names; drafts place the caret and text scroll at the start. Existing callback/save/validation behavior is retained.
The Impeccable detector reported 93 advisory findings across the inspected existing files; one is in the touched CSS, for the 23px topic heading. This deliberately reuses the existing h2 section-heading size and is documented in DESIGN.md. The other findings are existing design-system documentation/style differences, not a clean accessibility audit. No hook or configuration was installed.9 unmodified lines10111213131415161718181920202122239 unmodified lines Veyra · Security workbench </title> <link href="./static/favicon.svg" rel="icon" type="image/svg+xml"/> <link href="./static/style.css?v=20261115-protocol1" rel="stylesheet"/> <link href="./static/style.css?v=20261115-polish1" rel="stylesheet"/> <script defer="" src="./static/playbooks.js?v=20261107-veyra1"> </script> <script defer="" src="./static/local.js?v=20261107-veyra1"> </script> <script defer="" src="./static/protocols.js?v=20261115-protocol1"> <script defer="" src="./static/protocols.js?v=20261115-polish1"> </script> <script defer="" src="./static/app.js?v=20261115-protocol1"> <script defer="" src="./static/app.js?v=20261115-polish1"> </script> </head> <body>397 unmodified lines39839940040140240340423 unmodified lines428429430431430432433434435436437438439440441442437443444445440441446447448449450446447451452453454455456457458459452460461455462463464465458466467468469470397 unmodified lines const section = el('details', undefined, 'protocol-context'); section.id = 'protocol-context'; append(section, el('summary', 'Protocol context'), el('p', 'Optional study guidance for this review. Learning material is not evidence that a control was tested.', 'fine')); const picker = el('div', undefined, 'protocol-picker'); const label = el('label', 'Protocol topic'); label.htmlFor = 'protocol-topic'; const select = el('select');23 unmodified lines card.replaceChildren(); card.hidden = !topic; if (!topic) return; const reading = el('div', undefined, 'protocol-reading'); append(card, el('h3', topic.title), el('p', topic.summary), el('p', topic.boundary, 'fine'), el('h4', 'Questions to review')); append(reading, el('h3', topic.title), el('p', topic.summary), el('p', topic.boundary, 'fine'), el('h4', 'Questions to review')); const questions = el('ul'); topic.questions.forEach(question => questions.append(el('li', question))); const explorer = reference('Open Protocol Explorer ↗', catalog.explorerUrl); explorer.id = 'protocol-explorer'; const sources = el('div', undefined, 'protocol-sources'); topic.sources.forEach(source => sources.append(reference(source.label + ' ↗', source.href))); const resources = el('div', undefined, 'protocol-resources'); append(resources, el('h4', 'Continue learning'), explorer, el('p', `External learning tool by Dilum Sanjaya. Choose ${topic.explorerLesson} in its protocol list. The link includes no assessment details.`, 'fine'), sources); append(reading, questions, resources); const drafting = el('div', undefined, 'protocol-drafting'); append(card, questions, explorer, el('p', `External learning tool by Dilum Sanjaya. Choose ${topic.explorerLesson} in its protocol list. The link includes no assessment details.`, 'fine'), sources, el('h4', 'Draft study prompts in a role workbook'), el('p', 'Adds context to Expected result and keeps your existing notes. Enter your own evidence, observed result and decision, then save when ready.', 'fine')); append(drafting, el('h4', 'Draft study prompts in a role workbook'), el('p', 'Adds context to Expected result and keeps your existing notes. Enter your own evidence, observed result and decision, then save when ready.', 'fine')); const actions = el('div', undefined, 'protocol-actions'); assessment.missions.forEach(mission => { const roleLabel = roles.find(role => role[0] === mission.role)?.[2] || mission.role; const action = button(`${roleLabel} workbook`, () => { const action = button(`Add ${topic.title} prompts to ${mission.role} workbook`, () => { const entry = (assessment.workbook || []).find(item => item.role === mission.role) || workbookDefault(mission.role); try { const drafted = catalog.draftExpected(entry.expected || '', topic.id); openWorkbook(entry); $('#workbook-expected').value = drafted; $('#workbook-expected').focus(); const expected = $('#workbook-expected'); expected.value = drafted; expected.setSelectionRange(0, 0); expected.focus(); expected.scrollTop = 0; } catch (error) { notify(error.message, true); } }); action.setAttribute('aria-label', `Add ${topic.title} prompts to ${mission.role} workbook`); actions.append(action); }); card.append(actions); drafting.append(actions); append(card, reading, drafting); } select.addEventListener('change', drawTopic); append(section, label, select, card); append(picker, label, select); append(section, picker, card); drawTopic(); panel.append(section);}9 unmodified lines10111213131415161718181920202122239 unmodified lines Veyra · Security workbench </title> <link href="./favicon.svg" rel="icon" type="image/svg+xml"/> <link href="./style.css?v=20261115-protocol1" rel="stylesheet"/> <link href="./style.css?v=20261115-polish1" rel="stylesheet"/> <script defer="" src="./playbooks.js?v=20261107-veyra1"> </script> <script defer="" src="./local.js?v=20261107-veyra1"> </script> <script defer="" src="./protocols.js?v=20261115-protocol1"> <script defer="" src="./protocols.js?v=20261115-polish1"> </script> <script defer="" src="./app.js?v=20261115-protocol1"> <script defer="" src="./app.js?v=20261115-polish1"> </script> </head> <body>1614 unmodified lines1615161616171618161916181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571614 unmodified lines .brand-subline { margin-top: -3px; font-size: 11px; }}
/* Optional local study inset, using the existing Veyra controls and spacing. */.protocol-context{border-block:1px solid var(--border);padding:20px 0;margin:0 0 24px}.protocol-context>summary{font-weight:600;cursor:pointer;min-height:44px;display:list-item;padding:10px 0}.protocol-context>label{display:block;margin:16px 0 8px}.protocol-context>select{max-width:400px}.protocol-card{margin-top:24px}.protocol-card h3{margin-bottom:12px}.protocol-card h4{margin:24px 0 8px}.protocol-card li{margin-bottom:8px}.protocol-sources{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}.protocol-sources a{overflow-wrap:anywhere}.protocol-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.protocol-actions button{white-space:normal}.protocol-context .fine{max-width:76ch}@media(max-width:600px){.protocol-context>select{width:100%;max-width:none}.protocol-actions{display:grid;grid-template-columns:1fr}.protocol-sources{display:block}.protocol-sources a{display:flex}}/* Protocol study: references and draft actions share a clear reading order. */.protocol-context { border-block:1px solid var(--border); margin:0 0 28px; padding:12px 0 28px;}.protocol-context>summary { font-size:14px; }.protocol-context>.fine { max-width:75ch; margin-bottom:20px; }.protocol-picker { max-width:400px; }.protocol-picker label { display:block; margin-bottom:8px; }.protocol-picker select { width:100%; }.protocol-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,280px); gap:44px; margin-top:28px; }.protocol-card[hidden] { display:none; }.protocol-card>div { min-width:0; }.protocol-card h3 { font-size:23px; margin-bottom:12px; }.protocol-card h4 { font-size:14px; font-weight:650; line-height:1.5; margin:24px 0 12px; }.protocol-reading p { max-width:70ch; }.protocol-reading ul { padding-left:20px; margin:0; }.protocol-reading li { line-height:1.7; padding-left:4px; margin-bottom:12px; }.protocol-resources { border-top:1px solid var(--border); margin-top:24px; }.protocol-resources .text-button { display:inline-flex; align-items:center; min-height:44px; }.protocol-resources>p { margin:4px 0 8px; }.protocol-sources { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }.protocol-sources a { overflow-wrap:anywhere; }.protocol-drafting { border-left:1px solid var(--border); padding-left:28px; }.protocol-drafting h4 { margin-top:0; }.protocol-drafting .fine { margin-bottom:16px; }.protocol-actions { display:grid; gap:8px; }.protocol-actions button { width:100%; min-height:44px; text-align:left; white-space:normal; }@media(max-width:1100px) { .protocol-card { grid-template-columns:minmax(0,1fr); gap:28px; } .protocol-drafting { border-left:0; border-top:1px solid var(--border); padding:24px 0 0; } .protocol-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }}@media(max-width:600px) { .protocol-picker { max-width:none; } .protocol-context { padding-bottom:24px; } .protocol-card { gap:24px; margin-top:24px; } .protocol-actions { grid-template-columns:minmax(0,1fr); }}DESIGN.md+5
PROVENANCE.md+5
SOURCE-MANIFEST.json+7-7
VERIFICATION.md+7
index.html+3-3
static/app.js+18-9
static/index.html+3-3
static/style.css+40-2