You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One page, total clarity. Every top-level folder and key file is labeled so you
always know what it is and where to find it. Nothing is junk-by-default —
anything not active is parked (not deleted) in a labeled holding folder.
Claude Code control folder details → .claude/README.md
docs/ · plus ROADMAP.mdBACKLOG.mdDECISIONS.mdDESIGN.md
Sprint queue / lessons
tasks/todo.md · tasks/lessons.md (read first each session)
Brain AI knowledge data
brain/
Deploy config
compliance-firewall-agent/vercel.json (crons). Vercel's Root Directory setting points at compliance-firewall-agent/; there is deliberately no repo-root vercel.json — see docs/DEPLOYMENT-MIDDLEWARE.md.
Why the app sits in a subfolder: Vercel's Root Directory is set to
compliance-firewall-agent/, so it builds that package only. The repo root is a control/meta
layer (agents, skills, commands, docs, .claude/). Reorganizing root folders
therefore cannot break the production build — proven by the Vercel preview on
every PR.
🟢 The actual product (this is the app)
Path
What it is
compliance-firewall-agent/
The Next.js 15 app — houndshield.com. Pages, API routes, Brain AI, classifier, gateway. The shipping product; Vercel builds this subdir.
proxy/
The HTTPS intercept proxy (Mode B / self-hosted). server.ts, scanner.ts, patterns/. Never replace pattern regex — extend only.
browser-extension/
Browser extension client.
supabase/
DB migrations (001–004).
public/
Static assets served by the app.
🤖 AI control & automation
Path
What it is
.claude/
Claude Code control folder — fully labeled in .claude/README.md. Canonical layout above.
.claude/workflows/
Dynamic workflows — fan work across many subagents in one session. Start from _template.dynamic-workflow.js; see .claude/workflows/README.md.
tools/agent-harness/
AgentHarness (git submodule → github.com/ApodexAI/AgentHarness) — the Apodex-1.0 deep-research ReAct eval harness. Materialize with git submodule update --init --recursive tools/agent-harness.
AgentHarness agent bridges — Claude Code subagents that drive the harness (deep-research, keep5, gateway-benchmark, brain-smoke-eval). Index: agents/agentharness/README.md.
.claire/ · .playwright-mcp/
Other AI-tool / Playwright-MCP working data.
agent.yaml · gemini-extension.json
Agent + Gemini extension manifests.
📚 Reusable libraries (kept for future use — NOT deleted)
Large starter/template collections — not wired into the app, a grab-bag to pull
from. Active, curated copies live under .claude/.
Path
Count
What it is
agents/
63 files (+ agentharness/)
Template subagent library (root). Active agents → .claude/agents/.
skills/
~400 files
Template skill library (root). Active skills → .claude/skills/.
commands/
~80 files
Template slash-command library (root). Active → .claude/commands/.
rules/
—
Template rules library (root). Active → .claude/rules/.
plugins/
—
Plugin bundles.
integrations/
—
AI-integration configs/snippets.
examples/
—
Example code/snippets.
legacy/ · legacy-command-shims/
—
Old code + back-compat shims (each has its own README).
⚙️ Build / tooling config
Path
What it is
package.json (root)
Workspace marker + verify:structure script. App deps live in compliance-firewall-agent/.
vercel.json
Deleted. Its legacy builds/routes keys put the deployment into the pre-framework builder pipeline, where middleware compiles into the output and is never invoked. Vercel's Root Directory setting replaces it. scripts/verify-structure.mjs fails if it returns.
todo.md (sprint queue) + lessons.md (correction log) — read first each session
brain/
Brain AI knowledge data (BrainData.md)
🗄️ Holding folders (removed in PR #146)
The former holding buckets (OldVersions/, FutureUse/, FutureApp/,
FUTUREPARK/, archive/, files/) were intentionally deleted in the PR #146
repo cleanup (−7,363 files). Their contents live in git history; recover with
git log --all -- <path> + git checkout <sha> -- <path> if ever needed.
🧪 Tests
Path
What it is
scripts/verify-structure.mjs
Structure test — asserts this map (npm run verify:structure, exit non-zero on drift; also runs in CI as the Repo Structure Guard).
compliance-firewall-agent/
App tests (vitest) live with the app; CI runs tsc + lint + tests + build.
proxy/
Proxy tests (vitest) live with the proxy; CI runs tsc + tests + build (Proxy Build & Test job).
Maintenance rules
Git history is the archive. Superseded material is deleted, not parked —
the old holding folders were removed in PR #146; recover anything via git history.
Reference-safety before any move or delete — grep -rIl the path first.
App code (compliance-firewall-agent/, proxy/) never gets bulk-moved.
Keep this map true — after structural changes, run npm run verify:structure
and update the tables here. The two are meant to agree.
Active vs library — wire things into .claude/ to make them active; leave the
root agents/ skills/ commands/ rules/ supersets as the library.