unni-portfolio
What we built, and what it took
A living portfolio of Unni projects: the plan, the research, the difficulty, the challenges, the phases and the alternatives that were considered. Difficulty is an estimate and says why; facts come from each project's own evidence.
project plans
research notes
phases
alternatives
assets
Last updated 2026-12-05.
Building
Unni Web
One brand, one shared layout, independent deploys.
Moderate 3/5
The code is plain HTML, CSS and Node with no dependencies. The difficulty is coordination: several deploys, shared navigation, cross-subdomain SEO and a $0 budget.
A single repo for the Unni sites: shared design tokens, header, footer and build, with each site supplying only its content and a scoped override. Every site deploys to its own Cloudflare Pages project.
Phases
-
done
Foundation
Repo layout, shared builder, five sites that build independently.
-
done
Shared layout
Header, nav and footer come from sites.json; the current site is highlighted.
-
done
Deployment
GitHub repo plus Pages projects wired to main. The games site stays in its old repo.
-
done
Analytics
One Cloudflare Web Analytics entry per hostname; the shared layout injects each site's beacon.
-
planned
Hardening
Secret scrub in CI and the license page.
-
planned
Custom domain
Buy the domain, attach apex/www and each subdomain, add one Search Console Domain property.
Challenges
-
unni-home.pages.dev was already taken
Cloudflare Pages subdomains are global. The hub was renamed to unni-root, which was free.
-
Subdomains split SEO authority
Search engines treat subdomains as separate sites. The plan compensates with heavy cross-linking, shared tag pages on research and a single Domain property.
-
A push rebuilds every site
Cloudflare's native GitHub integration ignored the configured watch paths, so a docs-only commit rebuilt all projects. Correct, but not selective.
-
Placeholders that look like facts
Social links and analytics tokens were unknown. The real Ko-fi handle was found in the games repo, and analytics entries were created per hostname instead of guessing a token.
Alternatives considered
-
One repo per site
Keeps deploys isolated, but the shared nav and design tokens would have to be copied or synced between repos. The monorepo won; unni-games stays separate for now.
-
Subfolders instead of subdomains
Simpler SEO, but weaker separation of identities and deploys. The plan chose subdomains and pays for it with cross-linking.
-
GitHub Actions instead of native Pages integration
Actions gives per-folder filtering but needs a Cloudflare API token secret. Native integration is simpler and free; it was chosen for now.
-
Quartz for the Library
Quartz brings a graph and backlinks out of the box, at the cost of a framework. The shell stays dependency-free; the research engine decision is still open.
Research notes
- Pages subdomains are global, and a taken name silently gets a suffix.
- A Direct Uploads project cannot be converted to a GitHub source; it has to be recreated.
- Web Analytics is per hostname, and its beacon token is public, not a secret.
- Cloudflare's GitHub integration did not honour watch paths on production pushes in this setup.
A static games portal: plain HTML, CSS and vanilla JavaScript, no build step, no accounts, no runtime network requests. The catalog is generated from verified manifests rather than hand-written cards.
Phases
-
done
Catalog
One authoritative catalog.json generated from verified game manifests, with catalog.js as a file:// friendly wrapper.
-
done
Product pages
One page per game regenerated from verified manifests, alongside the playable offline copy.
-
done
Discovery
Combined filters, sort, favourites, recently played, Surprise Me and a local recommender.
-
done
Real-browser verification
Screenshots and interaction checks at 320, 375, 820 and 1280px.
-
done
Publishing prep
Announcement and Ko-fi text generated locally; a human posts it.
-
building
Hub migration
Source is migrated byte-for-byte into sites/games. Production still deploys from the old Pages project until the Cloudflare deploy token is added.
Challenges
-
No invented metadata
Unknown session lengths, art and dates stay null or empty. Anything ambiguous goes to metadata-review.json for a person.
-
Must work from file://
fetch() fails on local files, so the catalog is also emitted as a byte-equivalent JavaScript wrapper.
-
Age-restricted titles
Restricted games are hidden by default behind an explicit opt-in. There is no in-game age gate, and that gap is documented rather than papered over.
-
Artwork that does not exist
The hero and game cards use clearly labelled placeholders instead of presenting invented art as official.
Alternatives considered
-
A framework and a build step
Would make components easier, but breaks the open-from-disk promise. Vanilla HTML/CSS/JS won.
-
fetch(catalog.json) only
Cleaner single source, but fails on file://. The generated JS wrapper keeps both paths byte-equivalent.
-
Infer theme and age from the id
Fast and wrong: it mislabelled 36 games. Verified manifest fields replaced it.
Research notes
- A catalog is only trustworthy if unknown values stay unknown.
- Offline-first means every fetch needs a fallback.
- Accessibility checks are cheaper in a real browser at real viewports.
Shipping (0.7.x)
Unni
A Windows-first studio where AI agents plan, build and test products.
Very hard 5/5
It combines long-running plans, unreliable external agents, Windows UI automation, device pairing and remote actions, and safety rules that have to be enforced in code.
A WPF desktop app with a restartable plan engine, a free-first agent router, a device fleet and a workspace that can pause, resume, rewind and fork a run.
Phases
-
done
Shell and workspace
Theme, window modes, movable cards and saved layouts.
-
done
Plan engine
plan.json state machine, checkpoints, resume, rewind, fork and crash recovery.
-
done
Agents
Bridges, routing with fallback, model switching, files and sessions.
-
done
Devices
Discovery, pairing, monitoring, governed availability and audited remote actions.
-
done
Teach an agent
Discovery, model listing, connection test, file and memory checks.
-
done
Evidence and decisions
Receipts, scorecards, decision files and a project viewer.
-
planned
Install and update
Software install and update, with administrator rights and their own tests.
-
planned
Desktop and web bridges
Drive ChatGPT and similar apps that have no command line.
Challenges
-
Agents fail in different ways
A blank reply counts as a failure, never a result. The router retries, cools down repeated failures and records receipts instead of inventing success.
-
Long prompts become attachments
Chromium-style apps turn long text into a file chip. Unni accepts a chip only from the exact draft and checks the composer with UI Automation before submitting.
-
Remote actions are dangerous
The operation list is fixed, pairing compares fingerprints, power actions show a cancellable banner and every remote request is logged on the target PC.
-
Trusting generated products
Build and test run in a throwaway worktree with a scrubbed environment and an allowlisted test runner; Safety reapproves anything that changed.
Alternatives considered
-
One agent instead of a router
Simpler, but a single broken tool stops the plan. The router falls back and keeps per-agent limits.
-
Pass the prompt as an argument
Works for some tools, but cmd.exe reinterprets characters for .cmd files. stdin is the default; file and arg are used only when proven.
-
A general command runner for remote work
Powerful and unacceptable: there is no run-this-command on a paired device, only a fixed list of audited operations.
Research notes
- A blank answer is a failure, not a result.
- Permissions belong in code paths, not only in prompts.
- Evidence beats a rating: scorecards are computed from receipts.
How to, why is, how does, fix, concept and project-log pages. Every page is a complete answer with front matter, Related, Used in and Backlinks, plus a local graph of its neighbourhood.
Phases
-
done
Engine choice
Astro was chosen for content collections, the shared layout and room for Notes. The graph and backlinks are a small build-time script.
-
planned
Six page templates
How to, why is, how does, fix, concept and project log, each with fixed sections.
-
planned
Cross-site tags
Tag pages fed by a shared catalog that spans games, addons, tools and articles.
-
planned
First learning path
Build your first WoW addon, eight steps.
-
planned
Publish pipeline
Every project output becomes a Library draft, a changelog line and a social draft for review.
Challenges
-
Subdomains do not pool authority
Cross-link every addon, tool and game to its article and back, share tag pages and verify everything under one Domain property.
-
Graphs can be unreadable
Fixed templates and standalone answers keep each page useful without the graph.
-
Content supply
The Publish stage turns plans, fixes and sister notes into drafts, so the Library grows with the work instead of competing with it.
Alternatives considered
-
Astro (chosen)
Content collections, a real component model and easy tag, RSS and sitemap routes. The graph and backlinks are a small build-time script instead of a built-in feature.
-
Quartz
Graph and backlinks are built in and content is Markdown/Obsidian-friendly. It brings a framework and a build step.
-
Eleventy or Astro
Familiar and flexible, but the graph, backlinks and tag pages would be custom work.
-
Extend the custom zero-dependency builder
Full control and no framework, but every Library feature becomes our maintenance.
Research notes
- Every page needs Related, Used in, Backlinks and a local graph.
- Tags are shared across sections, not just inside the Library.
- Search engines need one Domain property to see the whole family.
- Content stays Markdown with front matter, so the engine can be replaced later.
A data-driven showcase. Each entry records what the project is, how hard it was and why, which phases are done, what went wrong and which alternatives were rejected. Planned links stay visibly planned instead of becoming broken links.
Phases
-
done
Schema and renderer
Projects are rendered from data/projects.json through the shared builder.
-
done
First entries
Unni Web, Unni Games, Unni, Unni Research and this site.
-
done
Assets links
unni-assets is live and linked from the project entries.
Challenges
-
Difficulty is subjective
Every rating explains why it got that score and is labelled an estimate, not a measurement.
-
Every link has to resolve
unni-assets started as a disabled planned chip. When the site shipped, the chip became a real link in one data edit.
Research notes
- A portfolio is only useful if it says what was hard and what was rejected.