Skip to content
/ gbv Public

An adversarial-resistant protocol for verifiable state attestation on the modern web. Implements a five-stage pipeline to enforce semantic coherence in uncooperative client environments.

License

Notifications You must be signed in to change notification settings

ieldante/gbv

Glass Ballroom Verification (GBV) Reference Implementation

Glass Ballroom Verification (GBV) is a deterministic client-server verification protocol for evaluating cross-surface semantic consistency of browser-observable artifacts under verifier authority.

This repository provides the official GBV reference implementation. GBV is domain-agnostic; course records are included only as a reproducible demonstration environment.

Documentation state — v0.214

This repository reflects the state of the GBV reference implementation as of February 14, 2026, when protocol terminology was consolidated under the Glass Ballroom Verification (GBV) name. Earlier drafts may reference ARGON-V terminology.

Note

While core protocol mechanics are implemented, certain components remain under iterative refinement as security assumptions and edge cases are stress-tested. Interfaces and internal representations may evolve prior to the v0.1 stabilization milestone.

What This Repository Provides

  • A deterministic GBV reference environment for engineers and researchers.
  • A complete client-server verification flow:
    • MV3 browser extension collects browser-observable surfaces.
    • Server independently evaluates protocol invariants.
  • A transparency-first verification inspector with structured summaries and verbatim server payloads.

GBV evaluates whether independently observed surfaces can represent a single coherent state without requiring privileged provider access or shared ground truth.


What This Repository Is Not

  • Not a production credential verification service.
  • Not a hosted SaaS deployment.
  • Not a provider-integrated system with authentication, rate limiting, or tenant isolation.

This repository is a protocol reference and research implementation.


Protocol Blindness Clarification

In GBV, blindness means authority separation, not UI opacity.

  • The server is decision-authoritative.
  • The server does not rely on dataset validity labels.
  • The client cannot influence verifier outcomes.

The extension can display full server-returned metadata without violating protocol blindness.


Repository Layout


Research Paper Versioning

Research drafts are versioned independently from implementation code.

Current public research draft:


Prerequisites

  • Node.js 22+
  • Corepack
corepack enable
corepack prepare pnpm@10.4.1 --activate

Quickstart

corepack pnpm bootstrap
corepack pnpm dev

Services:


Manual Demo Walkthrough

  1. Open chrome://extensions.
  2. Enable Developer Mode.
  3. Load unpacked extension from apps/extension/build.
  4. Open http://localhost:3000/hub.
  5. Open the extension popup.
  6. Choose a course.
  7. Click Verify.

Expected Baseline Behavior

  • csk_7r2q9p -> accepted
  • csk_0a81lm -> semantic mismatch (SEMANTIC_VERIFICATION_FAILED, module_count_consistency)
  • csk_3z19tt -> semantic mismatch (SEMANTIC_VERIFICATION_FAILED, certificate_id_consistency)
  • csk_t1mix -> semantic mismatch (SEMANTIC_VERIFICATION_FAILED, includes grade_threshold and course_key_consistency)

Popup Behavior

  • Structured summary first (state, status, score, IDs, timing)
  • Grouped protocol sections
  • Expandable Raw Response with verbatim verifier payload

Automated Verification

corepack pnpm lint
corepack pnpm typecheck
corepack pnpm test
corepack pnpm demo:verify

demo:verify validates expected protocol states, mismatch classes, and invariant behavior.


Extension Smoke Test

corepack pnpm exec playwright install chromium
corepack pnpm test:extension-smoke

CI executes these tests under Xvfb.


Debug Logs (Off by Default)

PowerShell:

$env:GBV_DEBUG='1'; corepack pnpm dev

Bash:

GBV_DEBUG=1 corepack pnpm dev

Security and Privacy Notes

  • Server logs request IDs, timing metrics, and non-sensitive diagnostics only.
  • Raw page HTML is not logged by default.
  • Security disclosures should use GitHub Security Advisories private reporting.

Troubleshooting

Extension cannot verify

  • Run corepack pnpm build:extension
  • Reload unpacked extension
  • Verify http://localhost:3001/api/health
  • Verify http://localhost:3000/api/gbv/courses

Extension smoke test fails

corepack pnpm exec playwright install chromium

Documentation

For structured documentation navigation, start with docs/README.md.


Project Policies


License

See LICENSE.

About

An adversarial-resistant protocol for verifiable state attestation on the modern web. Implements a five-stage pipeline to enforce semantic coherence in uncooperative client environments.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors