Publish evidence-backed software and systems portfolio

This commit is contained in:
2026-10-11 22:35:20 -04:00
commit 1cb1d9f1f8
37 changed files with 924 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
* text=auto eol=lf
*.png binary
*.jpg binary
*.zip binary
+5
View File
@@ -0,0 +1,5 @@
__pycache__/
.local/
verification/
*.zip
*.tar.gz
+14
View File
@@ -0,0 +1,14 @@
# Attribution
- Portfolio presentation, architecture diagrams and case-study writing: Nicholas Quandt.
- Centra Tab image: native Windows acceptance fixture using synthetic clipboard entries, captured October 11, 2026. It shows the application interface, not a browser recreation.
- Gitea provides repository hosting and native repository views. Repo Relay is custom publishing infrastructure built around Gitea, Git and Gitleaks.
- Centra Tab uses Electron, Android APIs, SQLite, cryptographic primitives and existing libraries. Its application code has its own publication and licensing scope.
- Remoraid integrates upstream Hermes and operating-system automation facilities. Its custom device bridge and recovery work are described in the case study. No Pokémon-inspired artwork is distributed in this portfolio.
- NfcAuth is private source and a private preview. Its rewritten architecture summary does not publish application code or grant anyone rights to private releases.
- WindowsVolumeSteps integrates Windhawk and styling derived from m417z's Windows 11 Styler mods. Its repository retains its upstream attribution and license.
- ATS simulator work uses third-party game, telemetry and parsing components. No game assets or ROMs are distributed here. Consult that repository's third-party notices.
- GBH and LocalAI integrate existing models, emulators and inference/speech engines. The portfolio does not claim authorship of those upstream systems.
- NuBoard is a FUTO keyboard fork. References to it describe scoped contribution, not authorship of the entire keyboard.
Each linked project's license and release documentation remains authoritative for that project.
+24
View File
@@ -0,0 +1,24 @@
# Evidence and publication scope
Prepared October 11, 2026. This portfolio summarizes reviewed source and acceptance documents; it does not claim that every application test or physical-device check was rerun during portfolio preparation.
| Project | Evidence snapshot | Important boundary |
| --- | --- | --- |
| Centra Tab | Reviewed checkout `756141235cfecea434c41f3d2a23d97795c0ee6d`; October 6 cross-platform acceptance and October 11 Windows 0.8.5 follow-up. | Public Community installers and newer local Windows recovery work have different release states. WSLg and app restarts are identified as such. |
| Repo Relay | October 7 live UI/publishing verification; immutable-review, profile, security and attachment tests inspected. | The infrastructure workspace is not one source repository. Public endpoint checks in this delivery are new checks; older worker acceptance remains dated evidence. |
| Remoraid | October 7 build-99 performance report; reviewed HEAD `cb3858b20d5ff2aab898e11a24b58f5de01d4c13`. | Local uncommitted development exists. The measured transport results belong to the cited acceptance snapshot, exclude model inference and have a sample of 20 sequential requests. |
| NfcAuth | Preview.13 acceptance source `27a6db1`; reviewed checkout HEAD `d91715933ec023f60f52c0bf50603210990731e2`. | Later local development exists. Single-PC human-confirmed sign-in, installed recovery, cryptographic PIV proof and second-PC acceptance are separate claims. |
## How results are presented
- Identify the condition, date and revision of a measurement.
- Distinguish source fixtures, packaged application tests, installed checks and physical-device acceptance.
- Publish limits alongside results.
- Separate current public releases from later private or local development.
- Preserve upstream attribution and distinguish integrations from original implementation.
## Public contents
The public release contains rewritten case studies, portfolio presentation code, original architecture diagrams and one reviewed native UI screenshot with synthetic clipboard test entries. It contains no application credentials, enrollment records, private account mappings, live service configuration, clipboard histories, model weights or game ROMs.
The native screenshot is a fixture illustration, not evidence that the application is currently running in the visitor's browser. The recovery walkthroughs explain designs; they do not execute device commands or simulate proof of a live trial.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Nicholas Quandt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+53
View File
@@ -0,0 +1,53 @@
# Nicholas Quandt — Software & Systems Engineering
[Portfolio](https://code.knickqueue.win) · [Résumé](https://knickqueue.win/Resume_2026.pdf) · [LinkedIn](https://www.linkedin.com/in/nicholasquandt/) · [Contact](mailto:Nick1801@gmail.com)
I build desktop tools, device integrations and self-hosted platforms. My focus is reliable state, clear boundaries and recovery when something goes wrong.
## Selected work
| Project | Engineering story | Case study |
| --- | --- | --- |
| Centra Tab | Encrypted desktop/mobile clipboard synchronization, durable offline work and workspace-identity recovery. | [Illustrated](https://code.knickqueue.win/assets/portfolio/case-studies/centra-tab.html) · [Markdown](case-studies/centra-tab.md) |
| Repo Relay | Immutable export reviews, durable publishing jobs, separate public history and verified source/release delivery. | [Illustrated](https://code.knickqueue.win/assets/portfolio/case-studies/repo-relay.html) · [Markdown](case-studies/repo-relay.md) |
| Remoraid | Session-bound Android/computer actions, persistent result receipts and recovery without silent duplicate execution. | [Illustrated](https://code.knickqueue.win/assets/portfolio/case-studies/remoraid.html) · [Markdown](case-studies/remoraid.md) |
| NfcAuth | Windows authentication boundaries, signed grants, versioned installation and installed service/companion recovery. | [Illustrated](https://code.knickqueue.win/assets/portfolio/case-studies/nfcauth.html) · [Markdown](case-studies/nfcauth.md) |
Case studies distinguish implemented behavior, recorded acceptance, public release state and remaining limits. Private application source and operational data are not included in this repository. See [EVIDENCE.md](EVIDENCE.md) for the evidence policy and reviewed snapshots.
## Public tools and experiments
- [DeepSeek Primetime](https://code.knickqueue.win/publish-bot/DeepSeekPrimetime): Windows pricing/schedule dashboard with a signed policy feed and cache-freshness handling.
- [UniClik](https://code.knickqueue.win/publish-bot/UniClik): Windows context-menu interaction utility with isolated input and accessibility work.
- [WindowsVolumeSteps](https://code.knickqueue.win/publish-bot/WindowsVolumeSteps): native volume increments with a per-user installer. The public v0.1.1 release is distinct from newer Command Console development.
- [ATS native simulator controller](https://code.knickqueue.win/publish-bot/ats-native-fsd): experimental telemetry/geometry control and incident replay in a driving simulator.
- [Centra Tab Community installers](https://github.com/KnickQueue/Centra-Tab-Releases): public downloads; application source has a separate private release workflow.
## Build and preview
Python 3.10+ is sufficient for the build and content checks. No frontend dependency installation is required.
```sh
python tools/build.py
python tools/check.py
python tools/preview.py
```
Open `http://127.0.0.1:4387/`. The preview serves only `dist/`; it does not launch the featured applications or read their configuration. Its optional public-repository listing forwards an anonymous read to this Gitea instance.
`content.json` is the shared content source. `site/` contains isolated CSS and progressive JavaScript. The build produces:
- `dist/index.html`: standalone preview homepage.
- `dist/assets/portfolio/`: deployable case studies, styles, diagrams and images.
- `deploy/home.tmpl`: Gitea homepage template.
- `case-studies/*.md`: repository-readable case studies.
The featured work, evidence tables and source links are present without JavaScript. JavaScript adds illustrated walkthrough controls and optional public-repository discovery.
## Deploying on Gitea
Copy `deploy/home.tmpl` to the version-compatible Gitea custom templates directory and `dist/assets/portfolio/` to its custom public assets directory. Preserve a rollback copy, restart Gitea to load templates, and check both homepage and repository views. See [deployment/README.md](deployment/README.md).
## Attribution and license
Copyright 2026 Nicholas Quandt. Portfolio source code is available under [MIT](LICENSE). See [ATTRIBUTION.md](ATTRIBUTION.md) for visual and project attribution. The portfolio license does not relicense third-party applications, models, games, assets, or separately licensed project code.
Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect width="80" height="80" rx="18" fill="#0b141b"/><circle cx="40" cy="40" r="28" fill="none" stroke="#9ae4f0" stroke-width="2"/><text x="40" y="46" font-family="Segoe UI,Arial,sans-serif" font-size="20" text-anchor="middle" fill="#9ae4f0">NQ</text></svg>

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

+63
View File
@@ -0,0 +1,63 @@
# Centra Tab
**An encrypted clipboard that survives the disconnect.**
Clipboard history shared across desktop and Android clients, with encrypted storage and an optional always-on hub. The hard part is preserving the same workspace through outages, credential-store failures and upgrades.
Status: Released · Windows follow-up. Evidence reviewed 2026-10-11.
[Read the illustrated case study](https://code.knickqueue.win/assets/portfolio/case-studies/centra-tab.html)
## My contribution
Designed and implemented the desktop, synchronization and hub behavior, then worked through native capture, Android integration, packaging and recovery. The application uses established libraries and operating-system credential stores; its own protocol and lifecycle decisions connect those components.
## The problem
A shared clipboard is useful only if it preserves the user's history and identity. A temporary vault failure must not look like a new installation, and an offline device must not bring deleted history back when it reconnects.
Centra Tab captures text and images on desktop clients, encrypts content before upload and synchronizes through a hub. Desktop clients discover eligible peers on their Tailscale network. An Android client and keyboard integration extend the same workspace to a phone. The hub can run on a desktop or in a container for continuous availability.
## Engineering decisions
### Encrypt at the client boundary
AES-256-GCM protects clipboard payloads with authenticated metadata. The hub does not receive the workspace encryption key. A joining device receives credentials through an ephemeral X25519 exchange, rather than through discovery responses.
### Make offline state explicit
A durable SQLite outbox keeps pending work through restarts. Workspace generations distinguish current history from an older disconnected client. Synchronization uses bounded snapshots, deltas and indexed reads instead of loading every encrypted image into one response.
### Recover the existing identity
The saved connection has an atomic last-known-good encrypted backup. An unreadable existing profile stops or enters recovery instead of silently creating another workspace. Windows secure-store retries use serial backoff and validate that the protected snapshot and identity have not changed.
## A failure that shaped the design
An installed Windows client retained its server address but asked for its key again. Inspection found that the protected credentials still existed. The original transient failure was not reproduced, so the repair addressed observed startup and recovery gaps: retain the existing identity, distinguish locked credentials from missing credentials, retry safely and report durable save failures.
## Evidence and scope
- **Native delivery:** Recorded packaged clipboard and UI checks on Windows, physical Apple Silicon Macs and Linux under WSLg. Community installers are publicly available. Scope: October 6 stabilization record; WSLg is not a physical Linux-device test.
- **Windows recovery:** The October 11 follow-up records 91 passing host tests with three Linux-only skips. Native fixtures recover the same protected key after injected vault failures. Scope: Windows 0.8.5 follow-up; this is not a fresh cross-platform release.
- **Data recovery:** A real encrypted NAS backup restored into a separate database with ciphertexts and key identity preserved. Installed Windows 0.8.5 retained the original workspace through an application restart. Scope: An isolated restore and app restart; not a physical reboot or replacement of the live database.
These are reviewed recorded results, unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.
## Remaining limits
- Automatic hub failover is not part of the documented version.
- The public Community release and the newer local Windows repair have different release states. Physical reboot behavior and a new physical Linux installation were not established by the reviewed follow-up.
## Evidence references
- STABILIZATION.md — October 6 and October 11 acceptance records
- shared/crypto.cjs — authenticated payload encryption
- desktop/connection-file.cjs — identity and protected-profile recovery
- tests/sync.test.cjs — synchronization regressions
Revision: `756141235cfecea434c41f3d2a23d97795c0ee6d`
Application source is private; this portfolio publishes the engineering write-up. Public Community installers are maintained separately.
[Community installers](https://github.com/KnickQueue/Centra-Tab-Releases)
+61
View File
@@ -0,0 +1,61 @@
# NfcAuth
**Authentication across the Windows service and user-session boundary.**
A managed Windows sign-in integration with a credential provider, SYSTEM service, interactive companion and signed local grants. Recovery has to respect both privilege and user-session ownership.
Status: Private preview. Evidence reviewed 2026-10-11.
[Read the illustrated case study](https://code.knickqueue.win/assets/portfolio/case-studies/nfcauth.html)
## My contribution
Implemented the Windows client/service integration, companion supervision, grant handling, administration flow and release verification. This is a private preview with a public architecture case study. The work builds on Windows authentication and service facilities rather than replacing their underlying security model.
## The problem
A Windows authentication integration spans components with different authority and lifetimes. The credential provider participates in sign-in, a SYSTEM service handles trusted local policy, and the interactive companion belongs to the signed-in user's session. A crash, upgrade or deliberate maintenance stop needs a different response in each layer.
The server issues signed grants for approved local account mappings. The Windows service validates local authorization and communicates through protected pipes. DPAPI protects local state, and the interactive companion presents status and settings. NFC identifier-based convenience access and cryptographic PIV proof are distinct modes with different assurance.
## Engineering decisions
### Keep trust boundaries explicit
Server-signed grants carry authorization. Protected local pipes distinguish credential and control paths. Local account mappings and secrets remain local, and grant validation rejects an invalid or expired authorization rather than inventing an offline fallback.
### Own the correct companion
The service supervises the active console companion, distinguishes settings/debug helpers from the tray and serializes launches. Unexpected service failure uses SCM recovery. Intentional maintenance and uninstall suppress supervision instead of immediately relaunching the component.
### Verify installation before switching
Versioned payloads are staged and hash-checked before stopping the old service and companion. The installer retains the previous payload for recovery and preserves existing identities and mappings through an upgrade.
## A failure that shaped the design
The service knew an enrolled token's authorized role, but the status event serializer still emitted User. The repair propagated the actual role and tested changes, reconnects and duplicate suppression over a real disposable pipe. It demonstrated why a correct authority decision does not guarantee that every user-facing status path is correct.
## Evidence and scope
- **Sign-in:** The owner confirmed a live secure-desktop NFC unlock and later hands-free sign-in on the current PC. Scope: Human-confirmed single-PC acceptance. Identifier convenience access does not establish physical PIV proof.
- **Installed recovery:** Preview.13 records a replacement tray PID after 3.25 seconds and service recovery after 10.5 seconds. A deliberate maintenance stop suppressed companion relaunch. Scope: Recorded installed checks on one PC; these recovery checks did not repeat secure-desktop sign-in.
- **Release integrity:** The preview.13 build records 142 assertions and verification of 95 installed payload hashes. All five private release assets matched their authenticated download hashes and byte counts. Scope: Cited preview.13 source 27a6db1 and its release record, rather than a claim about later development.
These are reviewed recorded results, unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.
## Remaining limits
- Second-PC physical acceptance, physical PIV proof, real offline expiry, failed-upgrade recovery and full uninstall remain separate unverified gates in the reviewed record.
- The source and release assets remain private. This portfolio publishes a rewritten architecture and acceptance summary without enrollment data, account mappings or operational configuration.
## Evidence references
- README.md — private preview, PIV and identifier-convenience distinction
- docs/VALIDATION.md — human-confirmed sign-in and preview.13 installed recovery
- Preview.13 acceptance source: 27a6db1
- Reviewed checkout HEAD: d91715933ec023f60f52c0bf50603210990731e2; later development is not included in the cited measurements
Revision: `27a6db1 — preview.13 acceptance snapshot`
Private source and private preview releases. Public architecture and validation summary only.
+62
View File
@@ -0,0 +1,62 @@
# Remoraid
**Reliable device control starts with knowing what happened.**
Android, desktop hosts and a relay cooperate on device actions. Sessions, receipts and recovery rules prevent a lost response from becoming a silently repeated action.
Status: Personal prototype. Evidence reviewed 2026-10-11.
[Read the illustrated case study](https://code.knickqueue.win/assets/portfolio/case-studies/remoraid.html)
## My contribution
Built the Android client, relay protocol, cross-platform host integration and recovery fixtures. The project integrates existing operating-system automation APIs and the upstream Hermes agent framework. Its custom contribution is the device bridge, session ownership, result journal, interface and lifecycle behavior.
## The problem
A command can succeed even when its response is lost. Retrying a read is often harmless; repeating a click, typed message or file mutation may not be. Reconnection therefore needs a record of identity and outcome, not just another request.
Remoraid connects an Android client with native computer hosts and a relay. Commands are authenticated and bound to an active target session. The local USB path uses authorized ADB reverse; remote relay paths have separate credentials and leases. Capabilities are explicit so a limited target does not inherit general desktop or shell access.
## Engineering decisions
### Bind actions to a current session
Heartbeats maintain short leases. Session changes, disconnection or expiry invalidate stale queued commands. Desktop input checks the expected foreground window; Android coordinate input can reject a changed screen instead of sending a stale gesture.
### Separate execution from delivery
Android persists encrypted response receipts separately from executing the action. Recovery can retransmit a known result without invoking the action again. An interrupted mutation whose outcome cannot be proved remains uncertain rather than being automatically retried.
### Bound background work
Network reads, screenshot work and status refreshes have explicit limits. Slow read-only providers have a bounded worker allowance. The interface can show cached state and a disconnection while one refresh is blocked, then resume polling automatically.
## A failure that shaped the design
The important failure fixture accepts a prompt and then loses its response. After a relay restart, recovery keeps the original submission identity and looks up that original run. Mismatched receipts and unavailable ownership checks hold the operation instead of creating a second submission.
## Evidence and scope
- **Phone transport:** A recorded 20-request live phone.info sample measured 100.24 ms p95 round-trip time, compared with 237.98 ms for an earlier polling candidate. Scope: October 7, build 99; sequential transport requests, excluding model inference. Not a general task-completion benchmark.
- **Physical Android controls:** The installed Fold7 candidate passed a temporary app's click, Unicode text, submit, long press, scroll, capture, tap, swipe and held-drag checks. Scope: A controlled live fixture, not arbitrary-app compatibility.
- **Recovery:** Recorded fixtures cover lost responses, relay restart, original submission identity, process restart, failed acknowledgments and corrupted receipt state. Scope: Implementation and recorded acceptance reviewed; not rerun during portfolio preparation.
These are reviewed recorded results, unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.
## Remaining limits
- An unavailable result cannot prove whether a mutation happened. The system preserves that uncertainty.
- Provider/model time, target-app responsiveness and OS permissions still affect completion. Physical Mac/Linux reconnection and desktop authorization were not repeated in the cited acceptance.
## Evidence references
- protocol.md — leases, session-bound actions and signed-update rollback
- PERFORMANCE.md — October 7 build-99 measurements and limitations
- android/.../ResultJournal.java — persistent response receipts
- tools/test_performance_recovery.py — lost-response and restart fixtures
- tools/test_phone_delivery.py — receipt and acknowledgment persistence
Revision: `cb3858b20d5ff2aab898e11a24b58f5de01d4c13`
Private development prototype. This write-up describes the cited acceptance snapshot; later local changes are not presented as part of those measured results.
+64
View File
@@ -0,0 +1,64 @@
# Repo Relay
**A deliberate boundary between private work and public code.**
A self-hosted publishing console that prepares immutable source reviews, scans the exported files, publishes fresh public history and verifies the destination. It powers this public code gallery.
Status: Deployed. Evidence reviewed 2026-10-11.
[Read the illustrated case study](https://code.knickqueue.win/assets/portfolio/case-studies/repo-relay.html)
## My contribution
Built the publishing console, persistent worker, release profiles, attachment synchronization and public Gitea presentation. Gitea, Git and Gitleaks provide the underlying repository and scanning capabilities; Repo Relay defines the review, transfer and verification workflow around them.
## The problem
Private development repositories contain operational configuration, experiments and history that should not automatically become public. A source mirror also does not establish that release attachments are safe or that their public downloads match the approved bytes.
Repo Relay exports a pinned branch snapshot into separate staging, applies a reviewed release profile and produces an immutable file review. A persistent worker publishes approved files with separate public history. The console shows actual job stages and keeps enough durable state to reconnect after a browser refresh.
## Engineering decisions
### Tie approval to the reviewed bytes
A review records the source revision, exported manifest and profile digest. Changes to the snapshot or release policy invalidate approval. Exact-hash scanner exceptions require a specific file and reason; changed bytes cannot reuse that exception.
### Keep work durable and observable
The web process and worker share persistent job records in SQLite. Progress separates snapshot download, checks, Git upload and verification. Unknown totals remain unknown, and completing an upload does not imply the destination has passed verification.
### Verify the public artifact
The first destination is created privately. The worker checks the pushed revision before exposing it and performs an anonymous clone check. Release tags point to sanitized public commits, while approved attachments are verified by SHA-256 after upload. Existing unrelated public history is not force-pushed.
## A failure that shaped the design
Release synchronization worked against a fresh schema but encountered an older deployed database missing a source-revision column. The repair added a migration and a regression fixture using the earlier schema. This is why upgrade testing must include existing state, not only a new empty installation.
## Evidence and scope
- **Live publishing:** The October 7 deployment record describes a reviewed update on the real worker followed by successful anonymous clone verification. Scope: Recorded live disposable-repository acceptance.
- **Regression coverage:** Source tests cover changed review bytes, changed profiles, saved exclusions, stale approvals, attachment hashes and migration from an older release schema. Scope: Inspected test definitions and recorded results; the suite was not rerun for this portfolio.
- **Public access:** This gallery and its public repositories were checked anonymously during the portfolio build. Scope: Current public-access verification; detailed release receipts accompany portfolio delivery.
These are reviewed recorded results, unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.
## Remaining limits
- A secret scanner reduces exposure risk but does not replace review of content, licenses or opaque binary attachments.
- Transfer estimates depend on measurable stage counters. The overall progress indicator is a workflow estimate, not a total-byte percentage.
## Evidence references
- repo-publisher/README.md — review and release workflow
- publisher.py — immutable reviews, durable jobs and clone verification
- tests/test_publisher_security.py — approval and exclusion regressions
- tests/test_release_sync.py — attachment integrity and existing-schema migration
- ui-verification/2026-10-07/verification.md — recorded live acceptance
Revision: `Deployment evidence dated 2026-10-07; this workspace is not one Git checkout.`
The publishing-service implementation remains private. The portfolio source, diagrams and case studies are public.
[Browse public repositories](https://code.knickqueue.win/explore/repos)
+169
View File
@@ -0,0 +1,169 @@
{
"name": "Nicholas Quandt",
"title": "Software & Systems Engineer",
"reviewed": "2026-10-11",
"email": "Nick1801@gmail.com",
"resume": "https://knickqueue.win/Resume_2026.pdf",
"linkedin": "https://www.linkedin.com/in/nicholasquandt/",
"github": "https://github.com/KnickQueue",
"projects": [
{
"id": "centra-tab",
"name": "Centra Tab",
"category": "Distributed desktop software",
"status": "Released · Windows follow-up",
"headline": "An encrypted clipboard that survives the disconnect.",
"summary": "Clipboard history shared across desktop and Android clients, with encrypted storage and an optional always-on hub. The hard part is preserving the same workspace through outages, credential-store failures and upgrades.",
"technologies": ["Electron", "JavaScript", "Android", "SQLite", "AES-GCM"],
"diagram": "centra-tab.svg",
"contribution": "Designed and implemented the desktop, synchronization and hub behavior, then worked through native capture, Android integration, packaging and recovery. The application uses established libraries and operating-system credential stores; its own protocol and lifecycle decisions connect those components.",
"problem": [
"A shared clipboard is useful only if it preserves the user's history and identity. A temporary vault failure must not look like a new installation, and an offline device must not bring deleted history back when it reconnects.",
"Centra Tab captures text and images on desktop clients, encrypts content before upload and synchronizes through a hub. Desktop clients discover eligible peers on their Tailscale network. An Android client and keyboard integration extend the same workspace to a phone. The hub can run on a desktop or in a container for continuous availability."
],
"decisions": [
{"title": "Encrypt at the client boundary", "text": "AES-256-GCM protects clipboard payloads with authenticated metadata. The hub does not receive the workspace encryption key. A joining device receives credentials through an ephemeral X25519 exchange, rather than through discovery responses."},
{"title": "Make offline state explicit", "text": "A durable SQLite outbox keeps pending work through restarts. Workspace generations distinguish current history from an older disconnected client. Synchronization uses bounded snapshots, deltas and indexed reads instead of loading every encrypted image into one response."},
{"title": "Recover the existing identity", "text": "The saved connection has an atomic last-known-good encrypted backup. An unreadable existing profile stops or enters recovery instead of silently creating another workspace. Windows secure-store retries use serial backoff and validate that the protected snapshot and identity have not changed."}
],
"failure": "An installed Windows client retained its server address but asked for its key again. Inspection found that the protected credentials still existed. The original transient failure was not reproduced, so the repair addressed observed startup and recovery gaps: retain the existing identity, distinguish locked credentials from missing credentials, retry safely and report durable save failures.",
"evidence": [
{"label": "Native delivery", "result": "Recorded packaged clipboard and UI checks on Windows, physical Apple Silicon Macs and Linux under WSLg. Community installers are publicly available.", "scope": "October 6 stabilization record; WSLg is not a physical Linux-device test."},
{"label": "Windows recovery", "result": "The October 11 follow-up records 91 passing host tests with three Linux-only skips. Native fixtures recover the same protected key after injected vault failures.", "scope": "Windows 0.8.5 follow-up; this is not a fresh cross-platform release."},
{"label": "Data recovery", "result": "A real encrypted NAS backup restored into a separate database with ciphertexts and key identity preserved. Installed Windows 0.8.5 retained the original workspace through an application restart.", "scope": "An isolated restore and app restart; not a physical reboot or replacement of the live database."}
],
"limits": ["Automatic hub failover is not part of the documented version.", "The public Community release and the newer local Windows repair have different release states. Physical reboot behavior and a new physical Linux installation were not established by the reviewed follow-up."],
"walkthrough": [
{"title": "Capture", "text": "The client records a synthetic clipboard item and encrypts its payload locally."},
{"title": "Queue", "text": "The hub is unavailable. The pending operation stays in the durable outbox."},
{"title": "Recover", "text": "The client reconnects using its saved identity and checks the workspace generation."},
{"title": "Reconcile", "text": "Current work is synchronized; an older generation cannot silently restore cleared history."}
],
"references": ["STABILIZATION.md — October 6 and October 11 acceptance records", "shared/crypto.cjs — authenticated payload encryption", "desktop/connection-file.cjs — identity and protected-profile recovery", "tests/sync.test.cjs — synchronization regressions"],
"revision": "756141235cfecea434c41f3d2a23d97795c0ee6d",
"sourceStatus": "Application source is private; this portfolio publishes the engineering write-up. Public Community installers are maintained separately.",
"links": [{"label": "Community installers", "url": "https://github.com/KnickQueue/Centra-Tab-Releases"}]
},
{
"id": "repo-relay",
"name": "Repo Relay",
"category": "Release infrastructure",
"status": "Deployed",
"headline": "A deliberate boundary between private work and public code.",
"summary": "A self-hosted publishing console that prepares immutable source reviews, scans the exported files, publishes fresh public history and verifies the destination. It powers this public code gallery.",
"technologies": ["Python", "Flask", "SQLite", "Git", "Docker"],
"diagram": "repo-relay.svg",
"contribution": "Built the publishing console, persistent worker, release profiles, attachment synchronization and public Gitea presentation. Gitea, Git and Gitleaks provide the underlying repository and scanning capabilities; Repo Relay defines the review, transfer and verification workflow around them.",
"problem": [
"Private development repositories contain operational configuration, experiments and history that should not automatically become public. A source mirror also does not establish that release attachments are safe or that their public downloads match the approved bytes.",
"Repo Relay exports a pinned branch snapshot into separate staging, applies a reviewed release profile and produces an immutable file review. A persistent worker publishes approved files with separate public history. The console shows actual job stages and keeps enough durable state to reconnect after a browser refresh."
],
"decisions": [
{"title": "Tie approval to the reviewed bytes", "text": "A review records the source revision, exported manifest and profile digest. Changes to the snapshot or release policy invalidate approval. Exact-hash scanner exceptions require a specific file and reason; changed bytes cannot reuse that exception."},
{"title": "Keep work durable and observable", "text": "The web process and worker share persistent job records in SQLite. Progress separates snapshot download, checks, Git upload and verification. Unknown totals remain unknown, and completing an upload does not imply the destination has passed verification."},
{"title": "Verify the public artifact", "text": "The first destination is created privately. The worker checks the pushed revision before exposing it and performs an anonymous clone check. Release tags point to sanitized public commits, while approved attachments are verified by SHA-256 after upload. Existing unrelated public history is not force-pushed."}
],
"failure": "Release synchronization worked against a fresh schema but encountered an older deployed database missing a source-revision column. The repair added a migration and a regression fixture using the earlier schema. This is why upgrade testing must include existing state, not only a new empty installation.",
"evidence": [
{"label": "Live publishing", "result": "The October 7 deployment record describes a reviewed update on the real worker followed by successful anonymous clone verification.", "scope": "Recorded live disposable-repository acceptance."},
{"label": "Regression coverage", "result": "Source tests cover changed review bytes, changed profiles, saved exclusions, stale approvals, attachment hashes and migration from an older release schema.", "scope": "Inspected test definitions and recorded results; the suite was not rerun for this portfolio."},
{"label": "Public access", "result": "This gallery and its public repositories were checked anonymously during the portfolio build.", "scope": "Current public-access verification; detailed release receipts accompany portfolio delivery."}
],
"limits": ["A secret scanner reduces exposure risk but does not replace review of content, licenses or opaque binary attachments.", "Transfer estimates depend on measurable stage counters. The overall progress indicator is a workflow estimate, not a total-byte percentage."],
"walkthrough": [
{"title": "Pin", "text": "Download the chosen source revision into isolated staging."},
{"title": "Review", "text": "Apply the release profile, scan the export and bind approval to the exact manifest."},
{"title": "Publish", "text": "Append a sanitized public commit and publish the approved release assets."},
{"title": "Verify", "text": "Check the public revision, anonymous clone and attachment hashes before recording success."}
],
"references": ["repo-publisher/README.md — review and release workflow", "publisher.py — immutable reviews, durable jobs and clone verification", "tests/test_publisher_security.py — approval and exclusion regressions", "tests/test_release_sync.py — attachment integrity and existing-schema migration", "ui-verification/2026-10-07/verification.md — recorded live acceptance"],
"revision": "Deployment evidence dated 2026-10-07; this workspace is not one Git checkout.",
"sourceStatus": "The publishing-service implementation remains private. The portfolio source, diagrams and case studies are public.",
"links": [{"label": "Browse public repositories", "url": "https://code.knickqueue.win/explore/repos"}]
},
{
"id": "remoraid",
"name": "Remoraid",
"category": "Device integration",
"status": "Personal prototype",
"headline": "Reliable device control starts with knowing what happened.",
"summary": "Android, desktop hosts and a relay cooperate on device actions. Sessions, receipts and recovery rules prevent a lost response from becoming a silently repeated action.",
"technologies": ["Android / Java", "Go", "Python", "Authenticated protocols"],
"diagram": "remoraid.svg",
"contribution": "Built the Android client, relay protocol, cross-platform host integration and recovery fixtures. The project integrates existing operating-system automation APIs and the upstream Hermes agent framework. Its custom contribution is the device bridge, session ownership, result journal, interface and lifecycle behavior.",
"problem": [
"A command can succeed even when its response is lost. Retrying a read is often harmless; repeating a click, typed message or file mutation may not be. Reconnection therefore needs a record of identity and outcome, not just another request.",
"Remoraid connects an Android client with native computer hosts and a relay. Commands are authenticated and bound to an active target session. The local USB path uses authorized ADB reverse; remote relay paths have separate credentials and leases. Capabilities are explicit so a limited target does not inherit general desktop or shell access."
],
"decisions": [
{"title": "Bind actions to a current session", "text": "Heartbeats maintain short leases. Session changes, disconnection or expiry invalidate stale queued commands. Desktop input checks the expected foreground window; Android coordinate input can reject a changed screen instead of sending a stale gesture."},
{"title": "Separate execution from delivery", "text": "Android persists encrypted response receipts separately from executing the action. Recovery can retransmit a known result without invoking the action again. An interrupted mutation whose outcome cannot be proved remains uncertain rather than being automatically retried."},
{"title": "Bound background work", "text": "Network reads, screenshot work and status refreshes have explicit limits. Slow read-only providers have a bounded worker allowance. The interface can show cached state and a disconnection while one refresh is blocked, then resume polling automatically."}
],
"failure": "The important failure fixture accepts a prompt and then loses its response. After a relay restart, recovery keeps the original submission identity and looks up that original run. Mismatched receipts and unavailable ownership checks hold the operation instead of creating a second submission.",
"evidence": [
{"label": "Phone transport", "result": "A recorded 20-request live phone.info sample measured 100.24 ms p95 round-trip time, compared with 237.98 ms for an earlier polling candidate.", "scope": "October 7, build 99; sequential transport requests, excluding model inference. Not a general task-completion benchmark."},
{"label": "Physical Android controls", "result": "The installed Fold7 candidate passed a temporary app's click, Unicode text, submit, long press, scroll, capture, tap, swipe and held-drag checks.", "scope": "A controlled live fixture, not arbitrary-app compatibility."},
{"label": "Recovery", "result": "Recorded fixtures cover lost responses, relay restart, original submission identity, process restart, failed acknowledgments and corrupted receipt state.", "scope": "Implementation and recorded acceptance reviewed; not rerun during portfolio preparation."}
],
"limits": ["An unavailable result cannot prove whether a mutation happened. The system preserves that uncertainty.", "Provider/model time, target-app responsiveness and OS permissions still affect completion. Physical Mac/Linux reconnection and desktop authorization were not repeated in the cited acceptance."],
"walkthrough": [
{"title": "Authorize", "text": "Bind the request ID and intended target to the current authenticated session."},
{"title": "Execute", "text": "Check foreground or screen state, then perform the action once."},
{"title": "Persist", "text": "Store the response receipt. Delivery may still fail after execution."},
{"title": "Recover", "text": "Return the recorded result, or report uncertainty when the original outcome cannot be established."}
],
"references": ["protocol.md — leases, session-bound actions and signed-update rollback", "PERFORMANCE.md — October 7 build-99 measurements and limitations", "android/.../ResultJournal.java — persistent response receipts", "tools/test_performance_recovery.py — lost-response and restart fixtures", "tools/test_phone_delivery.py — receipt and acknowledgment persistence"],
"revision": "cb3858b20d5ff2aab898e11a24b58f5de01d4c13",
"sourceStatus": "Private development prototype. This write-up describes the cited acceptance snapshot; later local changes are not presented as part of those measured results.",
"links": []
},
{
"id": "nfcauth",
"name": "NfcAuth",
"category": "Windows authentication",
"status": "Private preview",
"headline": "Authentication across the Windows service and user-session boundary.",
"summary": "A managed Windows sign-in integration with a credential provider, SYSTEM service, interactive companion and signed local grants. Recovery has to respect both privilege and user-session ownership.",
"technologies": ["C# / .NET", "Windows services", "Credential provider", "DPAPI"],
"diagram": "nfcauth.svg",
"contribution": "Implemented the Windows client/service integration, companion supervision, grant handling, administration flow and release verification. This is a private preview with a public architecture case study. The work builds on Windows authentication and service facilities rather than replacing their underlying security model.",
"problem": [
"A Windows authentication integration spans components with different authority and lifetimes. The credential provider participates in sign-in, a SYSTEM service handles trusted local policy, and the interactive companion belongs to the signed-in user's session. A crash, upgrade or deliberate maintenance stop needs a different response in each layer.",
"The server issues signed grants for approved local account mappings. The Windows service validates local authorization and communicates through protected pipes. DPAPI protects local state, and the interactive companion presents status and settings. NFC identifier-based convenience access and cryptographic PIV proof are distinct modes with different assurance."
],
"decisions": [
{"title": "Keep trust boundaries explicit", "text": "Server-signed grants carry authorization. Protected local pipes distinguish credential and control paths. Local account mappings and secrets remain local, and grant validation rejects an invalid or expired authorization rather than inventing an offline fallback."},
{"title": "Own the correct companion", "text": "The service supervises the active console companion, distinguishes settings/debug helpers from the tray and serializes launches. Unexpected service failure uses SCM recovery. Intentional maintenance and uninstall suppress supervision instead of immediately relaunching the component."},
{"title": "Verify installation before switching", "text": "Versioned payloads are staged and hash-checked before stopping the old service and companion. The installer retains the previous payload for recovery and preserves existing identities and mappings through an upgrade."}
],
"failure": "The service knew an enrolled token's authorized role, but the status event serializer still emitted User. The repair propagated the actual role and tested changes, reconnects and duplicate suppression over a real disposable pipe. It demonstrated why a correct authority decision does not guarantee that every user-facing status path is correct.",
"evidence": [
{"label": "Sign-in", "result": "The owner confirmed a live secure-desktop NFC unlock and later hands-free sign-in on the current PC.", "scope": "Human-confirmed single-PC acceptance. Identifier convenience access does not establish physical PIV proof."},
{"label": "Installed recovery", "result": "Preview.13 records a replacement tray PID after 3.25 seconds and service recovery after 10.5 seconds. A deliberate maintenance stop suppressed companion relaunch.", "scope": "Recorded installed checks on one PC; these recovery checks did not repeat secure-desktop sign-in."},
{"label": "Release integrity", "result": "The preview.13 build records 142 assertions and verification of 95 installed payload hashes. All five private release assets matched their authenticated download hashes and byte counts.", "scope": "Cited preview.13 source 27a6db1 and its release record, rather than a claim about later development."}
],
"limits": ["Second-PC physical acceptance, physical PIV proof, real offline expiry, failed-upgrade recovery and full uninstall remain separate unverified gates in the reviewed record.", "The source and release assets remain private. This portfolio publishes a rewritten architecture and acceptance summary without enrollment data, account mappings or operational configuration."],
"walkthrough": [
{"title": "Authorize", "text": "Validate a server-signed grant against the approved local mapping and current policy."},
{"title": "Separate", "text": "The SYSTEM service owns policy; the interactive companion owns user-session presentation."},
{"title": "Observe", "text": "Detect an unexpected component exit while distinguishing deliberate maintenance."},
{"title": "Recover", "text": "SCM restarts the service and service supervision restores one correctly owned companion."}
],
"references": ["README.md — private preview, PIV and identifier-convenience distinction", "docs/VALIDATION.md — human-confirmed sign-in and preview.13 installed recovery", "Preview.13 acceptance source: 27a6db1", "Reviewed checkout HEAD: d91715933ec023f60f52c0bf50603210990731e2; later development is not included in the cited measurements"],
"revision": "27a6db1 — preview.13 acceptance snapshot",
"sourceStatus": "Private source and private preview releases. Public architecture and validation summary only.",
"links": []
}
],
"tools": [
{"name": "DeepSeek Primetime", "status": "Released · v0.2.0", "description": "A Windows tray utility for pricing and schedule visibility, with a signed policy feed, atomic cache and explicit stale-data behavior.", "url": "https://code.knickqueue.win/publish-bot/DeepSeekPrimetime", "tag": "C# · Python · signed policy"},
{"name": "UniClik", "status": "Preview · v0.1.0", "description": "Hold, hover and release for Windows context menus. Input hooks and accessibility probing run separately so slow providers do not block input.", "url": "https://code.knickqueue.win/publish-bot/UniClik", "tag": "C# · Win32 · UI Automation"},
{"name": "WindowsVolumeSteps", "status": "Public release · v0.1.1", "description": "Two-point snapping for native Windows volume controls, packaged with a per-user installer. Newer Command Console development has a separate release state.", "url": "https://code.knickqueue.win/publish-bot/WindowsVolumeSteps", "tag": "C++ · Windhawk integration"}
],
"lab": [
{"name": "ATS native simulator controller", "status": "Experimental · public source", "description": "Native lane geometry, telemetry, isolated workers and incident replay in a driving simulator. Reproducible regression evidence is distinct from proving collision avoidance.", "url": "https://code.knickqueue.win/publish-bot/ats-native-fsd"},
{"name": "GBH embodied-agent runtime", "status": "Experimental · private source", "description": "Source-bound observations, bounded actions and persistent game/agent state around third-party models and an emulator. The accepted trials demonstrate specific transitions, not broad autonomous game completion."},
{"name": "LocalAI runtime tooling", "status": "Personal systems work", "description": "Windows process ownership, GPU memory admission, speech/inference coexistence and atomic model export around established inference engines and models."}
]
}
+5
View File
File diff suppressed because one or more lines are too long
+17
View File
@@ -0,0 +1,17 @@
# Gitea deployment
The portfolio extends the existing Gitea homepage. It has no application backend or browser credentials.
1. Build and check the source with `python tools/build.py` and `python tools/check.py`.
2. Back up the installed homepage, related custom metadata, and public portfolio assets.
3. Copy `deploy/home.tmpl` into `$GITEA_CUSTOM/templates/home.tmpl`.
4. Copy `dist/assets/portfolio/` into `$GITEA_CUSTOM/public/assets/portfolio/`.
5. Add an appropriate homepage title/description and sharing image. Preserve Gitea's contextual repository/profile metadata.
6. Restart Gitea and check its health, homepage, all four illustrated case studies, public repository views and anonymous clone access.
7. Restore the prior template/assets if those checks fail.
Custom templates should match the installed Gitea release. The stylesheet is scoped to `.portfolio` and does not replace the native repository theme. Static case pages are served under `/assets/portfolio/case-studies/` through Gitea's documented custom-asset mechanism.
The source repository and displayed project links do not require authentication. The featured content and initial public-source list are server-rendered HTML; repository discovery is optional progressive enhancement.
Official reference: [Customizing Gitea](https://docs.gitea.com/administration/customizing-gitea/).
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="365" viewBox="0 0 600 365" role="img" aria-labelledby="title desc"><title id="title">Encrypted cross-device clipboard</title><desc id="desc">Desktop / Android → Encrypted outbox → Private hub → Peer history. Workspace keys stay on clients · stable identity through recovery</desc><rect width="600" height="365" fill="#13202a"/><g font-family="Segoe UI,Arial,sans-serif"><text x="25" y="31" fill="#9ae4f0" font-size="10" letter-spacing="2">SYSTEM OVERVIEW</text><text x="25" y="61" fill="#edf4f8" font-size="20">Encrypted cross-device clipboard</text><rect x="25" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="113" fill="#9ae4f0" font-size="12">01</text><text x="40" y="141" fill="#edf4f8" font-size="18">Desktop / Android</text><text x="40" y="166" fill="#a2b1bc" font-size="13">Capture locally</text><rect x="320" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="113" fill="#9ae4f0" font-size="12">02</text><text x="335" y="141" fill="#edf4f8" font-size="18">Encrypted outbox</text><text x="335" y="166" fill="#a2b1bc" font-size="13">Persist through outages</text><rect x="320" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="228" fill="#9ae4f0" font-size="12">03</text><text x="335" y="256" fill="#edf4f8" font-size="18">Private hub</text><text x="335" y="281" fill="#a2b1bc" font-size="13">Store ciphertext</text><rect x="25" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="228" fill="#9ae4f0" font-size="12">04</text><text x="40" y="256" fill="#edf4f8" font-size="18">Peer history</text><text x="40" y="281" fill="#a2b1bc" font-size="13">Reconcile generations</text><path d="M286 137h25m-6-6 6 6-6 6M447 191v8m-5-5 5 5 5-5M311 252h-25m6-6-6 6 6 6" stroke="#9ae4f0" stroke-width="2" fill="none"/><text x="25" y="328" fill="#a2b1bc" font-size="12">Workspace keys stay on clients · stable identity through recovery</text></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="365" viewBox="0 0 600 365" role="img" aria-labelledby="title desc"><title id="title">Windows authentication and recovery boundaries</title><desc id="desc">Signed authority → SYSTEM service → Credential provider → User companion. Protected local communication · SCM and companion supervision</desc><rect width="600" height="365" fill="#13202a"/><g font-family="Segoe UI,Arial,sans-serif"><text x="25" y="31" fill="#9ae4f0" font-size="10" letter-spacing="2">SYSTEM OVERVIEW</text><text x="25" y="61" fill="#edf4f8" font-size="20">Windows authentication and recovery boundaries</text><rect x="25" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="113" fill="#9ae4f0" font-size="12">01</text><text x="40" y="141" fill="#edf4f8" font-size="18">Signed authority</text><text x="40" y="166" fill="#a2b1bc" font-size="13">Issue approved grants</text><rect x="320" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="113" fill="#9ae4f0" font-size="12">02</text><text x="335" y="141" fill="#edf4f8" font-size="18">SYSTEM service</text><text x="335" y="166" fill="#a2b1bc" font-size="13">Validate local policy</text><rect x="320" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="228" fill="#9ae4f0" font-size="12">03</text><text x="335" y="256" fill="#edf4f8" font-size="18">Credential provider</text><text x="335" y="281" fill="#a2b1bc" font-size="13">Windows sign-in boundary</text><rect x="25" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="228" fill="#9ae4f0" font-size="12">04</text><text x="40" y="256" fill="#edf4f8" font-size="18">User companion</text><text x="40" y="281" fill="#a2b1bc" font-size="13">Interactive session status</text><path d="M286 137h25m-6-6 6 6-6 6M447 191v8m-5-5 5 5 5-5M311 252h-25m6-6-6 6 6 6" stroke="#9ae4f0" stroke-width="2" fill="none"/><text x="25" y="328" fill="#a2b1bc" font-size="12">Protected local communication · SCM and companion supervision</text></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="365" viewBox="0 0 600 365" role="img" aria-labelledby="title desc"><title id="title">Session-bound actions and response receipts</title><desc id="desc">Authenticated client → Session / relay → Target action → Result journal. Lost delivery ≠ permission to repeat a mutation</desc><rect width="600" height="365" fill="#13202a"/><g font-family="Segoe UI,Arial,sans-serif"><text x="25" y="31" fill="#9ae4f0" font-size="10" letter-spacing="2">SYSTEM OVERVIEW</text><text x="25" y="61" fill="#edf4f8" font-size="20">Session-bound actions and response receipts</text><rect x="25" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="113" fill="#9ae4f0" font-size="12">01</text><text x="40" y="141" fill="#edf4f8" font-size="18">Authenticated client</text><text x="40" y="166" fill="#a2b1bc" font-size="13">Request identity</text><rect x="320" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="113" fill="#9ae4f0" font-size="12">02</text><text x="335" y="141" fill="#edf4f8" font-size="18">Session / relay</text><text x="335" y="166" fill="#a2b1bc" font-size="13">Lease + capability checks</text><rect x="320" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="228" fill="#9ae4f0" font-size="12">03</text><text x="335" y="256" fill="#edf4f8" font-size="18">Target action</text><text x="335" y="281" fill="#a2b1bc" font-size="13">Fresh foreground / screen</text><rect x="25" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="228" fill="#9ae4f0" font-size="12">04</text><text x="40" y="256" fill="#edf4f8" font-size="18">Result journal</text><text x="40" y="281" fill="#a2b1bc" font-size="13">Persist before delivery</text><path d="M286 137h25m-6-6 6 6-6 6M447 191v8m-5-5 5 5 5-5M311 252h-25m6-6-6 6 6 6" stroke="#9ae4f0" stroke-width="2" fill="none"/><text x="25" y="328" fill="#a2b1bc" font-size="12">Lost delivery ≠ permission to repeat a mutation</text></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="365" viewBox="0 0 600 365" role="img" aria-labelledby="title desc"><title id="title">Reviewed publication boundary</title><desc id="desc">Private snapshot → Immutable review → Public commit → Verified release. Approval expires when bytes or policy change · durable worker state</desc><rect width="600" height="365" fill="#13202a"/><g font-family="Segoe UI,Arial,sans-serif"><text x="25" y="31" fill="#9ae4f0" font-size="10" letter-spacing="2">SYSTEM OVERVIEW</text><text x="25" y="61" fill="#edf4f8" font-size="20">Reviewed publication boundary</text><rect x="25" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="113" fill="#9ae4f0" font-size="12">01</text><text x="40" y="141" fill="#edf4f8" font-size="18">Private snapshot</text><text x="40" y="166" fill="#a2b1bc" font-size="13">Pinned source revision</text><rect x="320" y="90" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="113" fill="#9ae4f0" font-size="12">02</text><text x="335" y="141" fill="#edf4f8" font-size="18">Immutable review</text><text x="335" y="166" fill="#a2b1bc" font-size="13">Profile + file hashes</text><rect x="320" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="335" y="228" fill="#9ae4f0" font-size="12">03</text><text x="335" y="256" fill="#edf4f8" font-size="18">Public commit</text><text x="335" y="281" fill="#a2b1bc" font-size="13">Separate public history</text><rect x="25" y="205" width="255" height="95" rx="7" fill="#1a2b36" stroke="#55717d"/><text x="40" y="228" fill="#9ae4f0" font-size="12">04</text><text x="40" y="256" fill="#edf4f8" font-size="18">Verified release</text><text x="40" y="281" fill="#a2b1bc" font-size="13">Anonymous clone + hashes</text><path d="M286 137h25m-6-6 6 6-6 6M447 191v8m-5-5 5 5 5-5M311 252h-25m6-6-6 6 6 6" stroke="#9ae4f0" stroke-width="2" fill="none"/><text x="25" y="328" fill="#a2b1bc" font-size="12">Approval expires when bytes or policy change · durable worker state</text></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect width="80" height="80" rx="18" fill="#0b141b"/><circle cx="40" cy="40" r="28" fill="none" stroke="#9ae4f0" stroke-width="2"/><text x="40" y="46" font-family="Segoe UI,Arial,sans-serif" font-size="20" text-anchor="middle" fill="#9ae4f0">NQ</text></svg>

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

File diff suppressed because one or more lines are too long
+46
View File
@@ -0,0 +1,46 @@
(() => {
"use strict";
document.querySelectorAll("[data-walkthrough]").forEach(panel => {
const steps = [...panel.querySelectorAll("li")];
const button = panel.querySelector("button");
const status = panel.querySelector("[role=status]");
let current = -1;
button.hidden = false;
button.addEventListener("click", () => {
current = (current + 1) % steps.length;
steps.forEach((step, index) => step.classList.toggle("is-active", index === current));
status.textContent = `Step ${current + 1} of ${steps.length}: ${steps[current].querySelector("h3").textContent}. ${steps[current].querySelector("p").textContent}`;
button.textContent = current === steps.length - 1 ? "Restart walkthrough ↺" : "Next step →";
});
});
const list = document.querySelector("[data-public-source]");
if (!list) return;
// The featured projects and source links are already HTML. This is optional enrichment.
const sameOriginUrl = value => {
try { const url = new URL(value, location.origin); return url.origin === location.origin && url.protocol === "https:" ? url.href : null; }
catch { return null; }
};
const controller = new AbortController();
const timeout = setTimeout(() => controller.abort(), 8000);
fetch("/api/v1/users/publish-bot/repos?limit=50&sort=updated", {credentials:"omit",headers:{Accept:"application/json"},signal:controller.signal})
.then(response => { if (!response.ok) throw new Error("Public listing unavailable"); return response.json(); })
.then(repos => {
if (!Array.isArray(repos)) return;
const known = new Set([...list.querySelectorAll("a")].map(a => a.dataset.repo));
for (const repo of repos) {
if (repo.private !== false || repo.empty || repo.name === "repo-relay-test" || known.has(repo.name)) continue;
const url = sameOriginUrl(repo.html_url);
if (!url) continue;
const link = document.createElement("a");
link.href = url;
link.dataset.repo = repo.name;
link.append(document.createTextNode(repo.name));
const meta = document.createElement("span");
meta.textContent = repo.language || "Public repository";
link.append(meta);
list.append(link);
}
})
.catch(() => { /* Existing source links remain useful when the API is unavailable. */ })
.finally(() => clearTimeout(timeout));
})();
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+46
View File
@@ -0,0 +1,46 @@
(() => {
"use strict";
document.querySelectorAll("[data-walkthrough]").forEach(panel => {
const steps = [...panel.querySelectorAll("li")];
const button = panel.querySelector("button");
const status = panel.querySelector("[role=status]");
let current = -1;
button.hidden = false;
button.addEventListener("click", () => {
current = (current + 1) % steps.length;
steps.forEach((step, index) => step.classList.toggle("is-active", index === current));
status.textContent = `Step ${current + 1} of ${steps.length}: ${steps[current].querySelector("h3").textContent}. ${steps[current].querySelector("p").textContent}`;
button.textContent = current === steps.length - 1 ? "Restart walkthrough ↺" : "Next step →";
});
});
const list = document.querySelector("[data-public-source]");
if (!list) return;
// The featured projects and source links are already HTML. This is optional enrichment.
const sameOriginUrl = value => {
try { const url = new URL(value, location.origin); return url.origin === location.origin && url.protocol === "https:" ? url.href : null; }
catch { return null; }
};
const controller = new AbortController();
const timeout = setTimeout(() => controller.abort(), 8000);
fetch("/api/v1/users/publish-bot/repos?limit=50&sort=updated", {credentials:"omit",headers:{Accept:"application/json"},signal:controller.signal})
.then(response => { if (!response.ok) throw new Error("Public listing unavailable"); return response.json(); })
.then(repos => {
if (!Array.isArray(repos)) return;
const known = new Set([...list.querySelectorAll("a")].map(a => a.dataset.repo));
for (const repo of repos) {
if (repo.private !== false || repo.empty || repo.name === "repo-relay-test" || known.has(repo.name)) continue;
const url = sameOriginUrl(repo.html_url);
if (!url) continue;
const link = document.createElement("a");
link.href = url;
link.dataset.repo = repo.name;
link.append(document.createTextNode(repo.name));
const meta = document.createElement("span");
meta.textContent = repo.language || "Public repository";
link.append(meta);
list.append(link);
}
})
.catch(() => { /* Existing source links remain useful when the API is unavailable. */ })
.finally(() => clearTimeout(timeout));
})();
+29
View File
@@ -0,0 +1,29 @@
"""Optional Pillow helper to render original social-sharing artwork.
The generated PNG is checked in; a normal portfolio build needs no Pillow.
"""
from pathlib import Path
from PIL import Image, ImageDraw, ImageFont
import os
ROOT=Path(__file__).resolve().parents[1]
image=Image.new('RGB',(1200,630),'#0b141b')
draw=ImageDraw.Draw(image)
font_folder=Path(os.environ.get('WINDIR','C:/Windows'))/'Fonts'
def font(size,bold=False):
name='segoeuib.ttf' if bold else 'segoeui.ttf'
path=font_folder/name
if path.is_file(): return ImageFont.truetype(str(path),size)
return ImageFont.load_default(size=size)
draw.rounded_rectangle((58,54,130,126),radius=36,outline='#9ae4f0',width=2)
draw.text((74,76),'NQ',font=font(24),fill='#9ae4f0')
draw.text((153,64),'NICHOLAS QUANDT',font=font(22,True),fill='#edf4f8')
draw.text((153,95),'Software & systems engineering',font=font(17),fill='#a2b1bc')
draw.text((60,175),'Desktop software.',font=font(64,True),fill='#edf4f8')
draw.text((60,252),'Connected devices.',font=font(64,True),fill='#edf4f8')
draw.text((60,329),'Resilient systems.',font=font(64,True),fill='#9ae4f0')
draw.line((60,454,1140,454),fill='#2b3b46',width=2)
draw.text((60,485),'Centra Tab / Repo Relay / Remoraid / NfcAuth',font=font(24),fill='#a2b1bc')
draw.text((60,550),'code.knickqueue.win',font=font(20),fill='#9ae4f0')
image.save(ROOT/'assets/images/social.png',optimize=True)
print('Rendered original 1200x630 sharing artwork.')
+90
View File
File diff suppressed because one or more lines are too long
+54
View File
@@ -0,0 +1,54 @@
"""Check publication links, rendered structure and status consistency."""
from html.parser import HTMLParser
from pathlib import Path
from urllib.parse import urlsplit, unquote
import json
import re
import subprocess
ROOT = Path(__file__).resolve().parents[1]
OUT = ROOT / 'dist'
data = json.loads((ROOT/'content.json').read_text(encoding='utf-8'))
class Page(HTMLParser):
def __init__(self):
super().__init__()
self.ids=[]; self.targets=[]; self.assets=[]; self.h1=0; self.title=False
def handle_starttag(self,tag,attrs):
attrs=dict(attrs)
if attrs.get('id'): self.ids.append(attrs['id'])
if tag=='h1': self.h1+=1
if tag=='title': self.title=True
if tag=='img':
assert attrs.get('alt'), 'Image requires useful alt text'
assert attrs.get('width') and attrs.get('height'), 'Image must reserve its layout size'
for name in ('href','src'):
if attrs.get(name):
url=attrs[name]
if url.startswith('#'): self.targets.append(url[1:])
if url.startswith('/assets/portfolio/'): self.assets.append(urlsplit(url).path)
pages=[OUT/'index.html']+list((OUT/'assets/portfolio/case-studies').glob('*.html'))
assert len(pages)==5, 'Expected homepage and four case studies'
for path in pages:
source=path.read_text(encoding='utf-8')
page=Page(); page.feed(source)
assert page.h1==1 and page.title, f'Page semantics: {path.name}'
assert len(page.ids)==len(set(page.ids)), f'Duplicate IDs: {path.name}'
assert set(page.targets).issubset(page.ids), f'Broken page anchor: {path.name}'
for asset in page.assets:
assert (OUT/unquote(asset.lstrip('/'))).is_file(), f'Missing asset: {asset}'
assert not re.search(r'https://(?:git\.|connect\.)', source), 'Private service route in public page'
assert 'mailto:Nick1801@gmail.com' in source
assert '2026-10-11' in source or path.name=='index.html'
if path.name!='index.html':
assert 'Application tests and physical-device checks were not rerun' in source
assert 'not a live application' in source
for project in data['projects']:
md=(ROOT/'case-studies'/f"{project['id']}.md").read_text(encoding='utf-8')
assert project['revision'] in md
assert project['sourceStatus'] in md
assert 'v0.1.1' in (OUT/'index.html').read_text(encoding='utf-8')
assert not list(OUT.rglob('*.map'))
subprocess.run(['node','--check',str(ROOT/'site/portfolio.js')],check=True)
print('PASS: 5 rendered pages, unique IDs, anchors, assets, image accessibility, evidence scope, release status and JavaScript syntax.')
+32
View File
@@ -0,0 +1,32 @@
"""Package the clean, reviewed portfolio checkout for publication."""
from pathlib import Path
import hashlib
import json
import subprocess
import zipfile
ROOT=Path(__file__).resolve().parents[1]
OUT=ROOT/'.local'
OUT.mkdir(exist_ok=True)
def git(*args): return subprocess.check_output(['git','-C',str(ROOT),*args],text=True).strip()
if git('status','--porcelain'):
raise SystemExit('Commit the reviewed source before packaging.')
commit=git('rev-parse','HEAD')
files=git('ls-files').splitlines()
assert files and not any(name.startswith(('.local/','verification/')) for name in files)
manifest={name:hashlib.sha256((ROOT/name).read_bytes()).hexdigest() for name in files}
subprocess.run(['git','-C',str(ROOT),'archive','--format=tar','-o',str(OUT/'source.tar'),'HEAD'],check=True)
subprocess.run(['git','-C',str(ROOT),'bundle','create',str(OUT/'source.bundle'),'HEAD'],check=True)
source=OUT/'portfolio-v1.0.0-source.zip'
subprocess.run(['git','-C',str(ROOT),'archive','--format=zip','--prefix=portfolio/','-o',str(source),'HEAD'],check=True)
site=OUT/'portfolio-v1.0.0-site.zip'
with zipfile.ZipFile(site,'w',zipfile.ZIP_DEFLATED) as archive:
for path in sorted((ROOT/'dist').rglob('*')):
if path.is_file(): archive.write(path,path.relative_to(ROOT/'dist').as_posix())
packages={path.name:{'sha256':hashlib.sha256(path.read_bytes()).hexdigest(),'bytes':path.stat().st_size} for path in (source,site)}
checksums=OUT/'SHA256SUMS.txt'
checksums.write_text(''.join(f"{values['sha256']} {name}\n" for name,values in packages.items()),encoding='ascii')
packages[checksums.name]={'sha256':hashlib.sha256(checksums.read_bytes()).hexdigest(),'bytes':checksums.stat().st_size}
receipt={'commit':commit,'files':manifest,'assets':packages}
(OUT/'package.json').write_text(json.dumps(receipt,indent=2)+'\n',encoding='utf-8')
print(json.dumps({'commit':commit,'files':len(files),'assets':packages},indent=2))
+34
View File
@@ -0,0 +1,34 @@
"""Serve the built static portfolio locally, without application access."""
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
from pathlib import Path
from urllib.request import Request, urlopen
from urllib.error import URLError
import json
ROOT = Path(__file__).resolve().parents[1] / "dist"
class Handler(SimpleHTTPRequestHandler):
def __init__(self, *args, **kwargs):
super().__init__(*args, directory=str(ROOT), **kwargs)
def do_GET(self):
if self.path.startswith('/api/'):
if self.path != '/api/v1/users/publish-bot/repos?limit=50&sort=updated':
self.send_error(404)
return
try:
request = Request('https://code.knickqueue.win'+self.path, headers={'Accept':'application/json','User-Agent':'Portfolio-local-preview'})
with urlopen(request, timeout=8) as response:
data = response.read(512_000)
if not isinstance(json.loads(data), list): raise ValueError('Invalid public listing')
self.send_response(200)
self.send_header('Content-Type','application/json')
self.send_header('Content-Length',str(len(data)))
self.end_headers()
self.wfile.write(data)
except (URLError, ValueError, TimeoutError):
self.send_error(503, 'Public listing unavailable')
return
super().do_GET()
if __name__ == '__main__':
print('Portfolio preview: http://127.0.0.1:4387/', flush=True)
ThreadingHTTPServer(('127.0.0.1',4387),Handler).serve_forever()