Skip to content
All showcase projects
Founder build · Local demoRecorded ARGV outcome: succeeded · unverified

Atlas Client Hub: From Project Knowledge to working code.

A developer needed a tenant-scoped client directory in an existing multi-tenant app, without weakening tenant isolation. ARGV turned the project’s recorded knowledge into a scoped Task Pack, Codex implemented it through the ARGV CLI, and the result was checked separately in the running local app.

A local demonstration, not a customer project or production deployment. ARGV recorded the run as succeeded · unverified; the checks on this page were run separately. Read the evidence and limits

Atlas Client Hub, start to finish 1:26

A silent, captioned edit of original ARGV screens, a condensed CLI transcript and live clips of the local Atlas app.

Silent video. Everything shown is captioned on screen and summarized here.

What the video shows
  1. Title
  2. Eight Project Knowledge entries recorded before the task
  3. The selected Skill: Implement tenant isolation
  4. Task Pack R2, with a note on its accidental approval
  5. The seven-step workflow plan
  6. One Execution queued, then claimed by the ARGV CLI running Codex
  7. Excerpt from the original CLI transcript
  8. Live local Atlas: sign-in, creating a client, listing it after reload
  9. A duplicate external reference rejected within the tenant
  10. Checks run separately from ARGV
  11. ARGV’s own outcome: succeeded · unverified
  12. What the demonstration does not show

New to ARGV? Watch the 90-second introduction

Starting point
Existing Next.js, .NET 10 API and PostgreSQL starter
ARGV context
8 Project Knowledge entries · 1 Skill
Task Pack
R2 · seven-step plan · 13 success criteria
Execution
ARGV CLI with Codex · 4 min 37 s
Code changes
4 files modified · 8 created
Independent checks
15/15 .NET · 9/9 UI · 15/15 live API

01 · Challenge

Add a client directory without weakening tenant isolation.

Atlas Client Hub is a founder-built demonstration app: a tenant-aware workspace for client teams. It already had a starter architecture before any ARGV work. A Next.js App Router front end with a server-side BFF, an ASP.NET Core .NET 10 API that owns the OIDC cookie session, and tenant memberships in PostgreSQL. That baseline was committed and verified before ARGV was involved.

The task was its first client-directory slice. Signed-in users list and create clients within a tenant. Owner, Admin and Member may create; Viewer may only read. No second authentication authority, no browser database access, and no way to see or change another tenant’s data.

02 · Knowledge & Skill

What the project already knew.

Before the task, eight typed Project Knowledge entries were recorded in ARGV, each at revision R1. One Skill, Implement tenant isolation, was imported from ARGV’s Skill catalog. ARGV selected all eight entries and the Skill for the run.

  • Architecture: Next.js handles presentation and a server-side BFF; the .NET API owns sessions, authorization and versioned /api/v1 contracts; PostgreSQL is reached only through the API.
  • Client API contract (decision): a paged GET and a POST under /api/v1/tenants/{tenantId}/clients. The route’s tenant is the requested scope, never the authority.
  • Engineering rules: every tenant-owned row carries tenant_id; inaccessible records return the same 404 as missing ones; Viewer reads only.
  • Constraints: no EF Core, Prisma, second auth authority, client-side secrets or direct browser database access.
  • Also recorded: the client-directory requirement, validation expectations, the product goal and important context.
ARGV Project Context tab for Atlas Client Hub listing eight active Project Knowledge entries: Client API contract, Tenant-owned client directory, Constraints, Engineering rules, Validation expectations, Product goal, Architecture and Important context.
Original ARGV screen: the eight Project Knowledge entries, before the first generation.
ARGV run details: Selected Skills shows Implement tenant isolation, and Knowledge Used lists eight selected entries.
Original ARGV screen from the first generation: one Skill and eight Knowledge entries selected.

03 · Task Pack R2

A scoped specification, refined once.

The first generation produced Task Pack R1. One targeted refinement produced R2, using ARGV’s Engineering Contract v1, with the same eight Knowledge entries and Skill. R2 carries a seven-step workflow plan, 13 success criteria and explicit scope: list and create only, with detail, update, contacts and billing left for later.

R2 contained no executable validation rules. That is why ARGV could not verify the result automatically later.

Excerpt from Task Pack R2
## Objective
Implement the first tenant-scoped client-directory slice in the separate Atlas starter
repository so signed-in users can list and create clients with server-enforced tenant
isolation, deterministic pagination, role-aware authorization, and a small Next.js UI that
surfaces success and error states correctly.

## Success criteria (3 of 13)
- Owner, Admin, and Member may list and create clients; Viewer may list only.
- Cross-tenant read and write attempts return the same external 404 shape as missing records.
- Duplicate `external_reference` values are rejected only within the same tenant.
ARGV pre-execution setup for Task Pack R2 with Task Pack, Environment and Workspace complete, and the start of the R2 Task Pack objective.
Original ARGV screen: pre-execution setup for R2. Its “Approved” label comes from the accidental approval described in the limits below.
Steps 2 to 4 of the R2 workflow plan: tenant-scoped client persistence, the client list and create API, and Dapper queries, each citing the Implement tenant isolation Skill.
Original ARGV screen: steps 2–4 of the seven-step plan.

04 · CLI & Codex execution

One Execution, handed to the developer’s own machine.

After a preflight check, the developer separately authorized a single Execution of R2. It was queued in ARGV. The ARGV CLI, connected to the Atlas repository on the developer’s machine, claimed it, confirmed the workspace binding and a clean baseline, and ran Codex.

Codex worked for 4 minutes 37 seconds, modified 4 files and created 8. Its own attempt to run the .NET tests was blocked by its sandbox, so it reported those tests as unverified.

Excerpt from the original CLI transcript (Execution ID shortened, usage figures omitted)
✓ Execution claimed exe_cb5e06cc…
  Build tenant-scoped client directory
✓ Workspace binding verified
✓ Repository verified
  HEAD       5e0873158ec5
  State      clean
✓ Codex turn completed
  4 modified · 8 created · 0 deleted
  Duration   4m 37s
⚠ No executable validation rules configured
⚠ Execution succeeded · Unverified
ARGV Execution page in the Running state: the connected environment claimed the Execution and Codex is working; R2 with the Codex runner.
Original ARGV screen while Codex was running.

05 · Result

A working client directory in the local app.

The change stayed inside the existing boundary: browser, Next.js server BFF, .NET API, PostgreSQL. It introduced no new authentication authority, no ORM and no browser database access.

After the migration was applied to the local demo database, a browser signed into Atlas through a real Google OIDC flow created a client through the form, listed it after a reload, and showed a duplicate reference being rejected.

  • A V002 migration adds atlas.clients with a (tenant_id, client_id) primary key, a tenant foreign key, a tenant-scoped unique index on the external reference and a tenant-prefixed paging index.
  • Dapper/Npgsql persistence for tenant-filtered inserts and deterministic paged lists.
  • List and create API routes that recheck the caller’s current tenant membership and role before any SQL.
  • A Next.js client-directory page and form with clear validation, forbidden and duplicate-reference errors.
  • Eight new API integration cases, nine UI/helper tests and a document mapping how tenant identity is enforced.
Local Atlas Client Hub home page after sign-in, showing one tenant, Atlas Demo Workspace, with the Owner role.
Live local Atlas after Google OIDC sign-in.
Atlas client directory listing Harbor Demo Logistics, reference HARBOR-001, with the message Created Harbor Demo Logistics.
A client created through the form.
Atlas client directory showing the error: This external reference is already used by a client in this tenant.
Duplicate reference rejected. The two extra rows were created by the role checks.

06 · Verification & limits

What was checked, and what was not.

ARGV recorded the Execution as completed but could not verify it: its outcome is succeeded · unverified. Every check below was run separately from ARGV and is not ARGV’s automatic validation.

ARGV Execution record: Completed — verification required. Codex completed; validation was not run by ARGV; automated task outcome Unverified.
Original ARGV screen: the Execution’s own outcome.
Evidence
CheckResultHow it was checked
ARGV Execution outcomeSucceeded · unverifiedR2 had no executable validation rules, so ARGV did not validate the change.
.NET tests15 / 15 passedIncluding eight new client-directory cases against a disposable PostgreSQL instance.
UI and helper tests9 / 9 passedRendered states with mocked API responses, not browser end-to-end.
TypeScript and Next.js buildPassedRun after the Execution.
Live browserPassedReal Google OIDC sign-in; create, list after reload, and the duplicate error (captured on a focused retry).
Live API checks15 / 15 passedAnonymous 401, Viewer create 403, cross-tenant read and write 404 identical to a missing tenant, blank name 400, duplicate 409, Admin and Member create 201.
PostgreSQL isolationPassedDemo tenant held 3 rows, a separate tenant 1. Denied, invalid, duplicate and anonymous writes created none.
MigrationApplied onceV002 on the local demo database only, recorded in migration history; keys and indexes checked.

Limits and caveats

  • Local demonstration only. Atlas ran on the developer’s machine. Nothing was deployed and no production readiness is claimed.
  • Task Pack R2 was approved by accident: a broad automation selector clicked “Approve R2” during a recording. That approval was not treated as permission to run. The developer separately authorized the single Execution after a preflight check.
  • ARGV’s own outcome was succeeded · unverified. The tests and checks on this page were run independently of ARGV.
  • Role checks used one real Google OIDC identity whose local Atlas role was changed in a controlled fixture (Viewer, Admin, Member) and then restored to Owner. They did not use four separate accounts.
  • The effective Codex model and the Execution’s monetary cost were not recorded.
  • Codex’s own .NET test run was blocked by its sandbox. The passing run was a separate, correctly configured run outside the agent.
  • The first automated browser capture marked the duplicate check as failed because of a timing race; a focused retry captured the actual error. Both records are kept.

Deeper evidence

The technical walkthrough.

For readers who want the detail: the longer original edit, with the plan, the implementation path and the live permission checks.

Technical walkthrough 3:31

The original technical evidence edit from 23 November 2026, published unchanged: plan detail, implementation path, database and test gates, and the live permission checks.

Unedited since recording: screenshot text is small and development-mode overlays are visible.

What the video shows
  1. Introduction
  2. Selected Skill and eight Knowledge entries
  3. Task Pack R2
  4. The seven-step plan in detail
  5. Execution queued and running
  6. Original CLI/Codex transcript summary
  7. Implementation path: browser to Next.js BFF to .NET API to PostgreSQL
  8. Database and test gates
  9. Live Atlas: sign-in, create and list
  10. Live permission and isolation checks
  11. Duplicate reference error and ARGV outcome
  12. Evidence and limits

Prepare work your coding agents can follow.

Start with a Free Trial: a personal workspace and 10 ARGV-sponsored generations to prepare Task Packs for the coding agent you already use.