WIP: Add native human backend and isolated provider acceptance harness #40
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/native-human-backend-20261024"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the disabled backend for native human sign-in, explicit legacy-account linking and browser sessions on the prepared identity-human schema. One-time OIDC/PKCE flows use a maintained, reproducibly bundled client. Successful completion and resource writes check identity, revocation and session state inside the same database transaction, preserving existing actor identities and contribution graphs.
Adds the explicit eleven-module offline code profile and an isolated Native Core/provider acceptance harness. The provider adapter verifies RS256/JWKS, nonce, exact issuer/client/subject, effective scopes through maintained-library introspection, and authenticated native self lookup. The frozen browser HTTP/API and schema contracts remain unchanged. Runtime schema admission now separates the one exactly observed D1 provider table from a complete application metadata fingerprint, including implicit indexes. Unexpected tables, indexes, provider definitions or lineage remain rejected. This PR stays stacked on #38; browser UI delivery is separate.
Validation:
-O, 24 Node cases, syntax, diff and frozen-source checks.5db46e9f46b87601ef984840c292f6604d6f38f2and reviewed runtime baseline0454dc47c43040145f2b45c43964529fd80d1583passes all 12 cases against the separately built and audited Core image from602bedc4ab1047c3db634da3fd1be4e86c15e712, including its integrated OAuth Basic form-decoding correction. Image:sha256:df7bffe5396d99cb6d54911511891bb5176eadab01147158e726df5dd53d929e.The current source CI passed. The provider-metadata change also has independent source acceptance: 53 targeted cases, 135 existing Identity/Session/Business cases and 12 countercases passed; the same new test on the previous actor source fails in the five expected places. Native V8 independently confirms the complete updated runtime against the real isolated Core. Historical V7 remains a separate receipt for its earlier source.
The real D1 REST transaction rehearsal is covered separately by #42. Full Human graph migration, Worker Binding behavior, the complete real-browser journey, and release/deployment remain open gates. Production Core and Commons remain unchanged; no production provider registration, database migration or activation is claimed.
Source head:
5db46e9f46b87601ef984840c292f6604d6f38f2Tree:
93c84cf5d444ed05925b2c5c130913f0ae3359a6WIP: Add native human sign-in and atomic browser sessionsto WIP: Add native human backend and isolated provider acceptance harnessView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.