feat: legacy import — packs, examples, lab, themes, docs, lineage
Import from agentic-semantic-web/ into restructured repo: - 7 packs (apache, caddy, flask, hugo, nginx, pandoc, python) - shared error pages (403-503) - 17 lab experiments (boilerplate, charts, misc) - 31 example pages (charts, components, content, layout, vault) - 2 themes (garden, trentuna stub) - 4 docs (llms.txt, vocabulary, philosophy, agent-directive) - lineage.md (Pico/Open Props/Charts.css history) - Hugo mounts for lab/ and examples/ All agentic.css references updated to asw.css. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e9895cf90d
commit
86464f3e21
100 changed files with 14700 additions and 4 deletions
53
examples/vault/redacted.html
Normal file
53
examples/vault/redacted.html
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!--#include virtual="/_include/head.html" -->
|
||||
<title>Redacted — ASW Examples</title>
|
||||
<meta name="description" content="data-redacted — privacy-aware
|
||||
content masking with reveal-on-hover">
|
||||
</head>
|
||||
<body>
|
||||
<!--#include virtual="/_include/nav.html" -->
|
||||
|
||||
<main>
|
||||
<header>
|
||||
<h1>Redacted</h1>
|
||||
<p data-text="lead">data-redacted — privacy-aware content masking
|
||||
with reveal-on-hover</p>
|
||||
</header>
|
||||
|
||||
<p><code>data-redacted</code> masks sensitive content visually while
|
||||
keeping it in the DOM. Three variants: block (default), inline, and
|
||||
label.</p>
|
||||
<h2 id="block-redaction">Block redaction</h2>
|
||||
<p>Full paragraphs or sections masked. Useful for credentials, keys,
|
||||
private notes.</p>
|
||||
<div data-redacted>
|
||||
This is a secret API key: sk-ant-api03-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
It should not be visible in a screenshot or casual glance.
|
||||
</div>
|
||||
|
||||
<h2 id="inline-redaction">Inline redaction</h2>
|
||||
<p>Mask a word or phrase within running text.</p>
|
||||
<p>The agent authenticated using token <span data-redacted="inline">ghp_abc123secrettoken</span> to push the commit.</p>
|
||||
|
||||
<p>Ludo's email is <span data-redacted="inline">ludo@trentuna.com</span> — hover to reveal.</p>
|
||||
|
||||
<h2 id="label-variant">Label variant</h2>
|
||||
<p>Replace content with a descriptive label. The label stays visible;
|
||||
content is hidden until hover.</p>
|
||||
<p>Password: <span data-redacted="label" data-label="credentials">hunter2</span></p>
|
||||
|
||||
<p>Private key: <span data-redacted="label" data-label="SSH key">-----BEGIN OPENSSH PRIVATE KEY-----</span></p>
|
||||
|
||||
<h2 id="agent-usage">Agent usage</h2>
|
||||
<p>An agent writing a session report can redact secrets inline without a
|
||||
post-processing step:</p>
|
||||
<div class="sourceCode" id="cb1"><pre
|
||||
class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dt"><</span><span class="kw">p</span><span class="dt">></span>Authenticated as <span class="dt"><</span><span class="kw">span</span> <span class="er">data-redacted</span><span class="ot">=</span><span class="st">"inline"</span><span class="dt">></span>vigilio-token-abc<span class="dt"></</span><span class="kw">span</span><span class="dt">></span>.<span class="dt"></</span><span class="kw">p</span><span class="dt">></span></span></code></pre></div>
|
||||
<p>No classes. No JavaScript. The CSS handles it.</p>
|
||||
</main>
|
||||
|
||||
<!--#include virtual="/_include/footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue