Plan — repository hygiene, and deploying the Cogneris audience sites
Status: PLAN, for approval before execution. Written 2026-08-04 by Claude
Opus 5 (Claude Code) after assessing ~/MyProjects on CoreArivant (192.168.50.95)
following the laptop migration.
Two separable workstreams. Part 2 can ship today; Part 1 needs decisions.
Part 0 — the hard gate, before anything is committed
A .env was migrated into ~/MyProjects/.env, and several projects have never
been under version control. Committing 28 uninitialised projects without a
secrets sweep is the fastest way to publish a credential.
| ID | Gate | Why |
|---|---|---|
| G-1 | Secret sweep before any git init — scan for .env, *.pem, id_rsa, credentials.json, tokens and keys | Once pushed, a secret is compromised even if deleted next commit |
| G-2 | A .gitignore lands before the first git add — node_modules, dist (where reproducible), .env*, .DS_Store, build caches | 8,394 dirty files in old_AscentGRC is what happens without one |
| G-3 | Decide public vs private per repo before creating remotes | Several of these are commercial |
| G-4 | No repo is created for a directory that is a copy of another | See the duplicate register below |
Part 1 — repository assessment
1.1 What is there
45 top-level entries. 17 are git repositories; 28 are not.
1.2 Classification
Class A — repo, remote, clean. Nothing to do.
Ascent-GRC · Brilliantz_Platform · bookmarks · marker-pdf2md (a vendored
third-party fork) · rivetly-current
Class B — repo with a remote, uncommitted work. Review and commit.
| Project | Remote | Dirty | Last commit |
|---|---|---|---|
TurboCivics | NeoRivets/TurboCivics | 112 | 2026-02-16 |
AscentAutoGovernance | NeoRivets/AscentAutoGovernance | 28 | 2026-02-24 |
Foreman | MyProjects/Foreman | 23 | 2026-08-04 |
VEP — Verifiable Event Protocol | NeoRivets/VEP | 16 | 2026-02-16 |
Brilliantz__web_v2 | incogneris/brilliantz | 14 | 2026-07-10 |
SideHustles | NeoRivets/ordinance | 9 | 2026-02-05 |
AscentGRC | NeoRivets/AscentGRC | 6 | 2026-02-20 |
CognerisDocs | Cogneris/Cogneris-Docs | 6 | 2026-08-04 |
Rivetly | Cogneris/rivetly | 3 | 2026-07-15 |
CognerisDocs-IP | Cogneris/IP-Docs | 2 | 2026-07-25 |
Class C — repo, NO remote. Create the remote and push.
Cogneris_Sites (1 dirty) · rivetly-api (clean) · fryandfledge (13 dirty, and
no commits at all — an initialised repo that was never used)
Class D — no repo, and it is real work. Needs git init + remote.
Ascent-SR&ED · Brilliantz__code_v2 · Brilliantz_demos ·
CanadaPostStrategicPivot · Chatham-Kent Mayor Darrin Canneff ·
CognerisPresentationStudio · Environmental-Audit-Demo · GHL-Implementtons ·
InnerStrengthCommunication · PrivateClaudeCode · ProjectRegistry ·
Royal_Oak_Tax_Services · Sequents · Sequentz-Code ·
VentureCapitalDevelopment · VideoDesktopKit · cogneris-docs-vault ·
esg-plan-work · ghl-knowledge-mcp · podcasts · Project Template
Class E — do NOT create a repo. Duplicate, derived, or scratch.
| Directory | Why not |
|---|---|
old_AscentGRC | Same remote as AscentGRC, 8,394 dirty files. A stale duplicate — archive or delete, do not commit |
rivetly-worktrees, foreman-self-worktrees | git worktrees of other repos; committing them corrupts the parent |
MyDemos | A container of projects, not a project. Each child decides for itself |
_salvage, archived_projects | Scratch/archive by name. Confirm, then delete or cold-store |
Cogneris_Sites/archive/** | Archived site iterations — versioned inside Cogneris_Sites, not separately |
1.3 Sequence
- G-1 secret sweep across all 45 (report only, no writes)
- Class E decisions — delete/archive, so nothing downstream wastes effort
- Class C — three remotes, three pushes. Smallest real win
- Class B — per repo: review the diff, commit or discard.
TurboCivicsat 112 files needs eyes, not a bulkgit add -A - Class D —
.gitignorefirst, then init/commit/push, most valuable first
I will not bulk-commit. A dirty file is not automatically wanted work, and
git add -A across 21 uninitialised projects is how build output and secrets get
published.
Part 2 — the Cogneris audience sites
2.1 What exists
~/MyProjects/Cogneris_Sites — a git repo with no remote (Class C).
site/— the current public cogneris.com holding page: static HTML, no build step, 4 pages (index, products, solutions, industries)web/— a Next.js app (cogneris-web) with anout/exportarchive/2026-07-15/— ten audience-specific site variants, most sharing the "Cogneris-Sequents — The System of Trust" branding
| Variant | Audience / purpose | dist/ prebuilt | Size |
|---|---|---|---|
Cogneris_Institutional | institutional cut | ✅ | 55 M |
Cogneris_Investors | investor cut | ✅ | 55 M |
Cogneris_Partners | partner cut | ✅ | 55 M |
Cogneris_Compass | Compass product cut | ✅ | 55 M |
Cogneris_Access | Access product cut | ✅ | 55 M |
InvestorsAdvisors_website_v2 | investors / advisors, v2 | ✅ | 55 M |
Cogneris_Portal | cogneris-portal app shell | ✅ | 600 K |
Cogneris_Console | cogneris-console app shell | ✅ | 596 K |
informational_website | earlier informational site + content specs | ❌ no build | 1.6 M |
sequents_investor_demo | Sequents investor demo | ❌ pkg only | 264 K |
Eight of ten have a committed dist/, so they can be deployed without building
anything. That is the whole reason this is a today job rather than a project.
2.2 Deployment target — a recommendation
Recommend Workers static assets, not Pages.
| Workers static assets | Cloudflare Pages | |
|---|---|---|
| Auth on this machine | already working (esg-web deploys today) | separate project setup |
| URL | <name>.sequents.workers.dev | <name>.pages.dev |
| Custom domain later | yes | yes |
| Consistency | same tooling, one wrangler deploy per site | a second deployment model to maintain |
The deciding argument is operational: wrangler is authenticated and proven on
this box today, and one deployment model is cheaper to keep alive than two. Pages
is not wrong — it is simply a second thing to own.
2.3 Naming
| Site | Proposed worker | URL |
|---|---|---|
| Institutional | cogneris-institutional | cogneris-institutional.sequents.workers.dev |
| Investors | cogneris-investors | … |
| Partners | cogneris-partners | … |
| Compass | cogneris-compass | … |
| Access | cogneris-access | … |
| Investors/Advisors v2 | cogneris-investors-v2 | … |
| Portal shell | cogneris-portal | … |
| Console shell | cogneris-console | … |
| The index | cogneris-sites | cogneris-sites.sequents.workers.dev |
Each is ~15 lines of wrangler.jsonc pointing assets.directory at its existing
dist/. No build, no framework adapter.
2.4 The portal
One small worker at cogneris-sites.sequents.workers.dev: a single on-brand page
listing every deployed site with its audience, its URL, its provenance
(archived 2026-07-15) and its live status.
Two properties it must have, learned from the ESG console:
- It states what each site is FOR, not just its name. "Investor cut" is the useful label;
Cogneris_Investorsis not - It says these are archived iterations, dated. Presenting a July archive as the current position is how a prospect is shown something that is no longer true
2.5 The unresolved question
The archive README records that which variant was actually live on cogneris.com could not be confirmed — the domain was behind Cloudflare Access. Deploying all ten resolves that by inspection: they become viewable side by side, and you can decide which is current.
Part 3 — the laptop, and clearing up
| Item | State | Action |
|---|---|---|
~/MyProjects from .253 | migrated + verified | done |
| 616 differing files | .95 is authoritative — laptop HEAD is the ancestor on every repo, 0 unique commits | no action; decision recorded R11 |
~/MyProjects-from-laptop/ | retained as the undo | delete once Part 1 step 1 confirms nothing unique |
~/Desktop/CognerisDocs-IP_BACKUP/ | a git repo, never in scope | pull, compare to CognerisDocs-IP, then decide |
~/DevCache, ~/SynologyDrive, ~/nasmount, ~/Google Drive, ~/Documents | unexamined | sweep for project-shaped content |
Decisions needed from Pete
| ID | Question | Blocks |
|---|---|---|
| RP-1 | Workers static assets, or Pages? (recommend Workers) | Part 2 |
| RP-2 | Public or private for the Class C/D remotes — per repo, or one default? | Part 1 steps 3–5 |
| RP-3 | Which GitHub org — Cogneris, NeoRivets, incogneris? Three are in use today | Part 1 |
| RP-4 | old_AscentGRC, _salvage, archived_projects — delete, or cold-store? | Part 1 step 2 |
| RP-5 | Deploy all ten site variants, or only the audience cuts you still stand behind? | Part 2 |
| RP-6 | Is Cogneris_Sites/archive/ committed as-is (330 M) or moved to cold storage first? | Part 2 |