296 Commits

Author SHA1 Message Date
50eff7668b chore(forum): separte forum - reinstall latest forum 2026-09-06 01:22:35 -07:00
f200755766 forum(fix): add --no-verify to prevent push hook loops 2026-08-29 18:19:41 -07:00
89538f807d chore(forum): xargs was replaced but we fixed an extra preceding slash breaking AST; updated ignore file 2026-08-29 18:10:50 -07:00
62a38695b8 chore(forum): updated pre-push hook; push the vec state 2026-08-29 18:01:27 -07:00
5ea79ce63d
feat: setup agent pipeline runner and scope-based BMC rules (#77)
- **Gatekeeper/Evaluator**: Fixed schema mismatch so Gatekeeper outputs `"Approved"` and Evaluator accepts `"Approved"` or `"Completed"`.
- **Transitions / The Wall**: Introduced path-scoped BMC routing (`scopes`) to `transitions.json` using glob patterns to selectively enforce rules based on matched paths. Mixed scopes correctly union rules for maximum strictness.
- **Pipeline Runner**: Built `.forum/src/run.ts` to orchestrate agents sequentially based on diff analysis, halting rigorously on blocks and displaying a final summary table.

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 17:28:16 -07:00
78b02d37a8
refactor: replace mock agent functionality with native binaries for Translator and Historian (#76)
- **Translator**: Switched from parsing plaintext `.ast` files to directly importing `@sourcegraph/scip-typescript` to deserialize `index.scip` binary protobuf payload, verifying modifications at the source SCIP index.
- **Historian**: Completely abandoned the previous Javascript cosine_similarity UDF in favor of initializing the official native C-extension via `npm:sqlite-vec`. Implemented correctly into `jsr:@db/sqlite` by enabling extension loading and querying `vec_distance_cosine()` with Uint8Array wrapping for zero-copy SQLite BLOB inserts.

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 16:18:29 -07:00
465fd34671
Upgrade agent forum to Gen 3 architecture (#75)
- Replaced simulated mock data with real executable tool integrations in all 6 agent scripts in `.forum/src/agents/`.
- `adversary.ts`: Added logic to execute `stryker run`, distill surviving mutants, and safely parse `.trace.json` OTel traces.
- `evaluator.ts`: Integrated YAML task parsing from `meta-state:tasks/` and real Bounded Model Checking mapped against `transitions.json` using Git Notes.
- `gatekeeper.ts`: Built parser for JSON-LD `meta-state:ontologies/ontology.graph` to dynamically generate requirement checklists.
- `historian.ts`: Implemented dynamic search string generation from `git diff` and utilized `jsr:@db/sqlite` with a custom UDF for cosine similarity to query `docs_graph.sqlite` and `telemetry_graph.sqlite` blobs extracted from the `meta-state` branch.
- `analyst.ts`: Implemented dynamic MTTR calculation by delta'ing git commit timestamps against `telemetry` Git Note payloads.
- `translator.ts`: Cross-referenced `git diff` output with `.ast` files in `.forum/ast/` to generate true structural documentation drift proposals.
- Strictly adhered to the Zero-Token Rule, filtering output payloads to contain only actionable distillation instead of raw blobs.
- Enforced graceful degradation across all agents, utilizing `try/catch` wrappers for missing tools or artifacts.

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 15:59:13 -07:00
6a3c988030
feat(forum): Implement v4 agent scaffolding and the 6 core agents (#74)
- Updated `pre-commit` hook to use genuine tools (`tree-sitter`, `semgrep`).
- Enhanced `meta_state_manager.ts` to fully write Git Note telemetry on commit.
- Implemented the 6 core agents as per the v4 blueprint: Gatekeeper, Historian, Adversary, Translator, Analyst, and Evaluator.
- Ensured agents respect Git-Native principles, interacting with `.forum/` directories and the `meta-state` orphan branch via standard Deno Commands.
- Addressed all Deno linting rules (no unused vars).

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 15:04:05 -07:00
8b91df1dca
feat(agent-forum): Improve dependency checks and initialization reporting (#73)
Refactored the `.forum/src/install_hooks.ts` initialization script to utilize a robust configuration array (`REQUIRED_TOOLS`) for verifying system dependencies, correctly distinguishing between hard requirements (Git, Deno, NPM) and optional tools that log warnings (tree-sitter, semgrep, scip-typescript, madge, stryker).

Additionally improved the status reporting when initializing the `meta-state` orphan branch by using non-mutating `git ls-tree` to read and display the exact status (`[✓] Found`, `[+] Freshly Initialized`, `[~] Replaced`, `[!] Missing/Warning`) of all required branch components (`tasks/`, `ontologies/`, `vectors/`, `transitions.json`), ensuring no unintended new placeholder stubs are created in the process.

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 13:13:38 -07:00
3ea3ada808
feat(agent-forum): Add scaffolding for final agent-forum integration (#72)
- Implemented `.forum/src/install_hooks.ts` to check dependencies, safely initialize the `meta-state` orphan branch via Git plumbing commands, and install the `pre-commit` hook.
- Added `.forum/src/hooks/pre-commit` bash template for Bounded Model Checking, SCIP generation, and security scanning.
- Created `.forum/src/core/meta_state_manager.ts` to manage BMC validations and Merkle diffing.
- Added `.forum/src/core/transitions.json` to define baseline state machine governance.

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 12:42:09 -07:00
d4df69890f
Adds Gen 3 Proofs of Concept under .forum/poc-g3 to demonstrate integration and production smoke testing, adhering to non-mocking constraints. Updates CONCEPTS.md to include Gen 3 mechanisms. (#71)
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:51:42 -07:00
48503d03fd chore(format): deno fmt on .forum/ files 2026-08-29 11:28:38 -07:00
679f6c0f47 chore: merge origin/main into main and resolve .forum/ file paths 2026-08-29 11:28:02 -07:00
ee01227992 chor(fourm): cleanup; new home; add necessary config files; ignore some artifacts. 2026-08-29 11:25:25 -07:00
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