Skip to content

feat(console-kit): align blocks around feature packs#8

Draft
yyyyaaa wants to merge 52 commits into
mainfrom
feat/feature-packs-console-kit
Draft

feat(console-kit): align blocks around feature packs#8
yyyyaaa wants to merge 52 commits into
mainfrom
feat/feature-packs-console-kit

Conversation

@yyyyaaa

@yyyyaaa yyyyaaa commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replaces the obsolete block surface with seven provider-neutral feature packs: Data, Auth, Users, Organizations, Storage, Billing, and Notifications
  • adds the encompassing Next.js Console Kit with explicit tenant endpoint routing, current _meta discovery, GraphQL introspection, RLS-preserving adapters, and one modular Zustand store per instance
  • adds the Base UI/shadcn application shell, registry-installable pack/module/preset items, systematic feature-pack docs, and the Console Kit showcase
  • adds native Constructive tenant fixtures and live proof for authentication, application CRUD, membership flows, cross-tenant isolation, routed Storage, and capability degradation
  • records backend compatibility, Supabase Platform Kit gaps, and the UI/DX handoff without changing constructive-db

Verification

  • pnpm --filter blocks gen:check
  • pnpm --filter blocks lint:types
  • Blocks, Data, Sheets, registry compiler, native fixture, packed-package, and clean registry-install checks
  • retained fun up tenant matrix covering auth:hardened, b2b:storage, full, and custom routed Storage profiles
  • live _meta contract checked across all retained tenant routes plus local platform Agent and Compute APIs

Runtime boundaries

  • PostgreSQL privileges and RLS remain authoritative; _meta and introspection are schema evidence only
  • stock Storage remains unavailable until bucket/file schemas are routed to a public endpoint; the routed proof remains read-only because object-upload/presigned-URL operations are absent
  • stock Notifications has no reachable public inbox route in the retained presets
  • backend repositories are treated as source of truth and are not modified by this PR

Incremental work

This is a draft PR. Additional UI/DX and tenant-administration polish will land as small conventional commits after each slice is validated.

yyyyaaa added 30 commits July 22, 2026 11:39
@socket-security

socket-security Bot commented Jul 24, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedreact-leaflet@​5.0.0100100718090
Addedinflekt@​0.5.17610010093100
Added@​types/​leaflet@​1.9.211001007781100
Added@​constructive-io/​graphql-query@​3.34.67810010098100
Addedtw-animate-css@​1.4.01001009386100
Addedleaflet@​1.9.41001009086100
Added@​tanstack/​react-table@​9.0.0-beta.1710010010096100

View full report

@socket-security

socket-security Bot commented Jul 24, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @constructive-io/s3-utils is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: pnpm-lock.yamlnpm/@constructive-io/graphql-query@3.34.6npm/@constructive-io/s3-utils@2.20.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@constructive-io/s3-utils@2.20.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @constructive-io/s3-utils is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: pnpm-lock.yamlnpm/@constructive-io/graphql-query@3.34.6npm/@constructive-io/s3-utils@2.20.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@constructive-io/s3-utils@2.20.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@yyyyaaa

yyyyaaa commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Console Kit visual review

Captured from the active Blocks worktree at 1280 × 720. The native tenant screenshot is signed out; the ready administration screens use the deterministic source-backed previews.

Console Kit overview

Console Kit overview

Native full-tenant sign-in

Native full tenant Console Kit

Full preset, ready state

Full Console Kit ready state

App access

App access route

Organizations

Organizations route

Storage

Storage route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant