feat: Register-First module with standalone mode - #5
Open
Egonso wants to merge 3 commits into
Open
Conversation
Implements the complete Register-First system including:
- EUKI Use-Case Pass Standard v1.0/v1.1 with Zod schemas, status flow,
ID generation, proof packs, and verify links
- Standalone Register Service with user-scoped registers
(users/{userId}/registers/{registerId}/useCases)
- Public Index for secure verify lookup (publicUseCases/{hash})
with minimal data exposure
- Shared business logic (use-case-builder.ts) used by both
legacy Dashboard service and standalone Register service
- Register settings with Firestore persistence + sessionStorage cache
- Feature flags with standaloneMode support
- UI components: CaptureForm, RegisterBoard, StatusBadge,
UseCasePassCard, HybridEntryLauncher
- Verify pass route for public use-case verification
- Smoke tests for service, v1.1 schema, and tool registry
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
❌ Deploy Preview for studio-egonso failed.
|
- Add Firestore security rules for registers and publicUseCases - Create standalone routes: /capture and /my-register with onboarding - Parametrize CaptureForm (onSubmit prop) and RegisterBoard (mode prop) - Update verify pass page to render PublicUseCaseIndexEntry directly - Add standalone href builders to entry-links - Update hybrid-entry-launcher for standalone mode routing - Fix duplicate exports in barrel index.ts - Fix missing standaloneMode in service-v11 smoke test - Fix active-project-client import in hybrid-entry-launcher - Add comprehensive register-standalone smoke test (15 assertions) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/lib/register-first/) implementing EUKI Use-Case Pass Standard v1.0/v1.1users/{userId}/registers/{registerId}/useCases) independent from Dashboard projectspublicUseCases/{hash}) for verify lookups with minimal data exposurestandaloneModefor controlled rolloutArchitecture
users/{userId}/registers/{registerId}/useCases/{useCaseId}(owner read/write)publicUseCases/{publicHashId}(public read, owner write) — only minimal fields exposedsetPublicVisibility(true)writes both private card and public indexprojects/{projectId}/registerUseCases/path untouchedRemaining work (follow-up PRs)
/capture,/my-register), component parametrization, entry linksTest plan
tsc --noEmitpassesnode --experimental-strip-types src/lib/register-first/__tests__/run-all-smoke.tsfalse(no behavior change for existing users)🤖 Generated with Claude Code