282 Commits

Author SHA1 Message Date
e47df08b75
chore: Purge Node artifacts and execute Gen 2 tools via native Deno.Command (#70)
- Purges any existing Node artifacts (package.json, node_modules) ensuring a pristine Deno + Rust environment.
- Refactors Gen 2 Proof of Concepts (cfg, code_intelligence, protobuf, tool_sandbox) to execute external tools (tree-sitter, semgrep, protoc) as native system commands using Deno.Command.
- Introduces `sys_exec.ts` to handle pre-flight dependency checks, ensuring scripts fail gracefully rather than breaking when a required host tool is missing.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-29 11:09:59 -07:00
fff79f32e3 chore(forum): add setup debian env script 2026-08-29 01:19:16 -07:00
136606b32e chore(forum): prefer binaries over package json alts; add fedora setup env 2026-08-29 01:16:21 -07:00
555c5eb384
feat(forum): add missing Gen 1 & Gen 2 PoCs with strict constraint enforcement (#69)
This commit implements the missing Proof of Concepts (PoCs) required by the `agent-forum-v4` architecture blueprint as identified in `CONCEPTS.md`.

Updates include:
- `execution_flywheel_poc.ts`: Implemented mock version (Gen 1) using in-memory state and physical version (Gen 2) utilizing actual file I/O tracking to prove state management bounds.
- `tool_sandbox_poc.ts`: Implemented mock version (Gen 1) yielding simulated telemetry and physical version (Gen 2) utilizing real production-grade tool invocations (Semgrep via CLI and Tree-sitter via WASM module).
- `git_hooks_poc.ts`: Implemented mock version (Gen 1) intercepting simulated events and physical version (Gen 2) configuring a physical Git temp directory executing native `.git/hooks/pre-commit` hooks.
- `BOUNDARIES.md`: Documented explicit technical boundaries in both `poc-g1` and `poc-g2` to enforce strict isolation vs production file-system operation.
- Fixed Deno Linting constraints across `poc-g2/` scripts.
- `CONCEPTS.md`: Status flags updated to .

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-29 00:28:19 -07:00
2fe00cef5d doc: iterate on agent-forum (v6); consolidate concepts.md 2026-08-28 23:11:49 -07:00
e5855248e6
feat: Port all agent-forum-v4 Gen 1 PoCs to Gen 2 using real tooling (#68)
This commit ports the remaining Gen 1 proof-of-concept experiments from `forum/poc-g1` into `forum/poc-g2` while substituting naive mocks with real, production-ready mechanisms.

Key advancements include:
- `code_intelligence_poc.ts` and `cfg_poc.ts`: Swapped regex matching for actual Javascript AST traversal using `acorn`.
- `static_analysis_poc.ts`: Replaced mock payloads with real `deno lint --json` output executed via `Deno.Command`.
- `vector_db_poc.ts` and `multi_vec_poc.ts`: Replaced basic JS arrays with actual `jsr:@db/sqlite` instances utilizing User-Defined Functions (UDFs) to perform native vector cosine similarity queries in memory or on disk.
- `protobuf_poc.ts`: Implemented robust protobuf serialization/deserialization via `protobufjs`.
- Semantic/Governance PoCs (`constitution_poc.ts`, `ontology_poc.ts`, `state_machine_poc.ts`, `orphan_branch_poc.ts`, etc): Replaced string-mock I/O with absolute filesystem reads, real YAML parsing using `jsr:@std/yaml`, and isolated `Deno.Command` Git sandboxes.
- Updated `forum/poc-g2/lab.ts` to orchestrate and execute all 19 experiments, proving 100% test pass rate with Gen 2 tooling.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 22:11:53 -07:00
8f61cbdc49
feat(forum): add Generation 2 agent forum PoCs with production tools (#67)
- Renamed `forum/experiments` to `forum/poc-g1` to designate generation 1.
- Created `forum/poc-g2` and a new `lab.ts` runner.
- Non-destructively migrated `dag_engine_poc.ts`, `git_storage_poc.ts`, `merkle_diff_poc.ts`, and `frontmatter_poc.ts` to `poc-g2`.
- Upgraded migrated PoCs to utilize actual production-ready tools (e.g. `std/yaml` parsing and isolated `Deno.Command` Git repos) per blueprint constraints.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 21:10:21 -07:00
f3fe8b77e6
feat: Add missing concepts and PoCs to agent-forum-v4 protocol (#66)
- Updates CONCEPTS.md and DATA_STRUCTURES.md to include Multi-Vec Isolation, Orchestration Matrix, and Static Analysis Payloads.
- Adds GRAVEYARD.md to document dismissed anti-patterns (Doc-to-LoRA and PASTE).
- Implements corresponding Proof-of-Concept scripts in `forum/experiments/` (multi_vec_poc.ts, orchestration_matrix_poc.ts, static_analysis_poc.ts, and graveyard_poc.ts).
- Integrates all new PoCs into the `lab.ts` experiment runner.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 20:24:11 -07:00
34a1f073eb
feat(forum): add missing PoCs and CONCEPTS.md tracker (#65)
- Created `CONCEPTS.md` to track coverage of blueprint structures
- Added 5 new PoCs: CFG, Constitution, Frontmatter, Mutation, and Orphan Branch
- Registered all 15 experiments in `lab.ts` runner
- Ensured zero-dependency Deno execution for tests

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 19:45:51 -07:00
4df94c2a19
feat: add agent-forum data structures and experiments (#64)
- Updates `forum/DATA_STRUCTURES.md` with missing concepts: Protocol Buffers, TurboQuant, Git Merkle DAG Diffing, Dependency Graphing, and Declarative Frontmatter (UUIDv7).
- Expands `forum/experiments/lab.ts` with 5 new proofs-of-concept for the new data structures.
- Adds `protobuf_poc.ts`, `merkle_diff_poc.ts`, `vector_db_poc.ts`, `dependency_graph_poc.ts`, and `telemetry_poc.ts`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 19:15:51 -07:00
9cef5715d4 chore: cleanup old agent-forum location 2026-08-28 18:37:22 -07:00
d455dd4582
feat(forum): add agent-forum v4 pocs, test lab, and data structures ref (#63)
- Update `ASSESSMENT.md` to specify UUIDv7 for YAML DAG identifiers and map legacy slugs to optional metadata.
- Consolidate all data structure definitions into a single `DATA_STRUCTURES.md` reference within `/forum`.
- Add new experimental proofs-of-concept for JSON-LD traceability (`ontology_poc.ts`) and bounded model checking (`state_machine_poc.ts`).
- Introduce `lab.ts` as a terminal harness to automatically run and summarize all experiments in the `/forum/experiments` directory.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 18:36:25 -07:00
1463d6e9dc chore: proper staging area for the forum project... any scratch files related to agent-forum should be placed here: forum/... 2026-08-28 17:56:57 -07:00
0a1c9305be
Add assessment and Proof-of-Concepts for agent-forum-v4 (#62)
- Analyzed agent-forum-v4 blueprint and created `ASSESSMENT.md`.
- Implemented `git_storage_poc.ts` to prove we can read/write Git Notes invisibly.
- Implemented `dag_engine_poc.ts` to prove we can parse YAML DAGs and calculate critical path.
- Implemented `code_intelligence_poc.ts` to prove we can parse AST-like JSON from raw source.
- Stored all work in an isolated `scratch/agent-forum-experiments/` directory to strictly prevent interference with the core Auth-Yes repository logic.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 17:27:52 -07:00
ad24d2e749 chore: cleanup + new direction for repo centric agent collaboration 2026-08-28 16:35:24 -07:00
f42df098d7 fix(launchpad): exclude admin console from guest launchpad cards 2026-08-28 00:19:24 -07:00
3af104915f fix(auth): redirect authenticated sessions from / and /login to /dashboard 2026-08-28 00:17:34 -07:00
267ed4b17b fix(sso): enforce root wildcard cookie domain (.atyg.org) across all auth, join, and pass routes 2026-08-28 00:01:08 -07:00
9c2aa73fdd fix(launchpad): populate fallback domains for apps, seed default app domains, and add app admin mutations 2026-08-27 23:50:44 -07:00
64f758e7cb fix(events): ensure getEventWithAttendees matches attendees by FK and short username, returns seats_claimed, and updates guest drawer 2026-08-27 23:41:54 -07:00
2bfbdd602b chore: sync deno.lock 2026-08-27 23:33:39 -07:00
964dd74f72 feat(launchpad): populate all registered apps for Universal Sandbox guests on Launchpad and allow ForwardAuth access 2026-08-27 23:33:30 -07:00
c221e32855 fix(join): wire handleJoin and handleSplashJoin in public scripts and join fragments to fix 400 error on /join 2026-08-27 23:05:18 -07:00
77a82cbe84 feat(sessions): include active event group sessions in unified session table and mobile deck without removing event deck 2026-08-27 22:47:18 -07:00
2fa8222062 feat(events): complete audit parity for vanity /e/:slug splash, /join/:slug CLI env ingress, and PIN+slug rotation 2026-08-27 22:33:39 -07:00
fc86565597 fix(sessions): wire extend and revoke onclick handlers in table and mobile deck fragments 2026-08-27 22:28:57 -07:00
b38f122df4 fix(ui): complete all items in tasks/checklist.md (sticky docking, floating toasts, rotate PIN, tab locks, expired events, reset actions) 2026-08-27 22:24:10 -07:00
ed9bdb8852 fix(ui): align create button terminology with ui-audit specifications (Create Session & Create Event) 2026-08-27 22:06:01 -07:00
cd2dd194ec fix(ui): restore compact/grid toggle, 2-tab delegation, sticky header, and event cockpit guest actions 2026-08-27 21:57:20 -07:00
b2a2bdab07 fix(ui): restore launchpad routing, admin catalog pages, and ui-audit sessions workflow 2026-08-27 21:47:50 -07:00
2c07c8cba1 fix(ui): add layout css for top navbar and fix isGlobalAdmin database query 2026-08-27 21:29:16 -07:00
aa9760b1e1 fix(ui): restore centered auth card layout, serve auth-client assets, and fix root redirects 2026-08-27 21:11:44 -07:00
a8111f6dc3 test(auth): hermetically mock SQL and Valkey rate limiter to prevent connection leaks 2026-08-27 21:02:10 -07:00
11d4b80014 build(docker): update container image entrypoint to src/main.ts and copy src workspace 2026-08-27 20:58:55 -07:00
ed70e4d1cd test(smoke): add comprehensive in-memory HTTP router smoke test 2026-08-27 20:53:29 -07:00
ee02daba79
feat(phase-5a): complete runtime switchover to src/main.ts and isolate cleanup task (#61) 2026-08-27 20:52:45 -07:00
58ac8a983d
feat(phase-4): persistent architectural and network test harness (#60)
* feat(phase-4): persistent architectural and network test harness

* docs(audit): add phase 4 post-implementation audit
2026-08-27 20:50:43 -07:00
5bbe2bc764
refactor(core): self-contained core utilities and 100% domain isolation (#59) 2026-08-27 20:43:24 -07:00
973fba0607
feat(phase-3): real-time hypermedia slices and client scripts migration (#58)
* feat(phase-3): migrate events and sessions hypermedia slices and client scripts

* docs(audit): add phase 3 post-implementation audit
2026-08-27 20:35:57 -07:00
06cad3d8fe feat(arch): enforce 400-line ceiling and subdivide vertical slices
- Update AGENTS.md with 400-line hard ceiling and sub-feature slicing rules
- Update scripts/lint_arch.ts to enforce 400 lines max with anti-formatting heuristics
- Subdivide src/shared/ui/ into layout, navbar, and admin layout fragments
- Subdivide src/features/auth/ into modular login, register, and recovery routes/fragments
- Subdivide src/features/admin/ into users, user details, apps, and audit fragments
- Maintain backwards compatibility via fragment index re-exports
2026-08-27 19:55:01 -07:00
8b30b17dbe
feat(arch): implement Phase 2 base vertical slices and shared UI (#57)
- Scaffold shared UI fragments and styles in src/shared/ui/
- Implement full Auth vertical slice in src/features/auth/ with WebAuthn ceremonies and recovery endpoints
- Implement full Admin vertical slice in src/features/admin/ with responsive tables and mobile decks
- Add public client-side JS utilities and pure JS BIP-39 module
- Mount routes in src/main.ts and keep legacy server/ and ui/ quarantined
- Add pure JSX and API tests for Auth and Admin slices
2026-08-27 19:29:08 -07:00
34e9c4a76d chore(audit): fix formatting, lint types, and add Phase 1 audit report 2026-08-27 18:22:13 -07:00
8062283955 chore(plan): move hypermedia plan to in-progress for phase 2 2026-08-27 18:21:55 -07:00
a1909381d5
Merge pull request #56 from mrteye/phase1-arch-setup-14562406403991920726
feat: phase 1 vertical slicing & hypermedia foundation
2026-08-27 18:20:18 -07:00
google-labs-jules[bot]
a613ed2b68 feat: execute Phase 1 architectural hypermedia framework
- Bootstraps `src/core/` foundation (`db.ts`, `valkey.ts`, `spire_ffi.ts`, `main.ts`).
- Adds `auth_guards.ts` for payload capping, CSRF check, and rate limiting.
- Adds `content_negotiation.ts` and `sse_adapter.ts` for Datastar transport helpers.
- Adds `error_fragments.tsx` for standardized Datastar error morphs.
- Introduces `scripts/lint_arch.ts` to block imperative DOM usage.
- Updates `deno.json` with src workspace configs and lint commands.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 01:20:01 +00:00
f5c44f8ac5 docs(plan): refine hypermedia migration plan to 5-phase structure with shift-left tooling and AGENTS.md legacy quarantine 2026-08-27 17:52:43 -07:00
9fdb97f3f4
Merge pull request #55 from mrteye/plan-hypermedia-architecture-5555508364227023504
docs(plan): add hypermedia architecture migration plan

migration from the legacy `server/` and `ui/` directories to a domain-oriented vertical slice architecture under `src/features/`. The plan spans four phases: Core Foundation, Base Slices, Real-Time Slices, and Architectural Testing.
2026-08-27 17:17:16 -07:00
google-labs-jules[bot]
ff024cb23b docs(plan): add hypermedia architecture migration plan
Adds a comprehensive, 4-phase execution plan in `tasks/new/` outlining the architectural transition to a Datastar-driven Hypermedia paradigm and Vertical Feature Slicing, adhering to the project's task guidelines and blueprint.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-28 00:16:33 +00:00
f764f28abc minor plan de-dupication update 2026-08-27 17:10:27 -07:00
081cd9c765 feat(arch): adopt hypermedia & vertical slicing paradigm (Datastar + Deno SSR)
- Establish server-driven hypermedia architecture with Datastar to eliminate brittle imperative client DOM manipulation
- Codify vertical feature slicing (routes, queries, fragments co-located by domain)
- Formalize right-sized dual transport: standard text/html for user mutations, targeted SSE for Valkey pub/sub broadcasts
- Define zero-trust guardrails: untrusted client signals, 16KB payload bounds, rate limiting, and data-ignore subtree protection
- Establish hypermedia error protocol (4xx/5xx return JSX error fragments) and mid-stream SSE resilience
- Add active task checklist with granular 1-to-1 items and shared component suggestions
- Update AGENTS.md with AI-optimized engineering principles (SRP, bounded files, flat call chains, distinctive naming)
2026-08-27 16:51:16 -07:00