165 Commits

Author SHA1 Message Date
9a90f4493c
Merge pull request #33 from mrteye/phase-1-ui-sessions-decomposition-8623875160406573030
refactor(ui): decompose SessionsPage monolith (Phase 1)
2026-08-25 16:20:12 -07:00
google-labs-jules[bot]
296bc6a9c3 Hi, Jules here! I have successfully refactored the SessionsPage by decomposing it into pure JSX subcomponents. Here is a summary of what I accomplished:
- Created the `ui/components/sessions/` directory.
- Extracted `EventCockpitDeck.tsx`, `DirectPassDrawer.tsx`, `WorkshopDrawer.tsx`, and `ScopeModal.tsx` from `ui/components/SessionsPage.tsx`.
- Refactored `SessionsPage.tsx` to import and assemble these subcomponents cleanly.
- Preserved zero React dependencies, keeping it pure Hono SSR JSX.
- Preserved all inline client-side JavaScript, DOM IDs, and form submission handlers.
- Formatted and linted all code via `deno fmt` and `deno task lint`.
- Verified that all tests are passing.

Let me know if you need any further adjustments!

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 23:19:58 +00:00
f912241937 docs(tasks): establish discrete phase task files ph1 through ph6 for monolith decomposition roadmap 2026-08-25 16:17:18 -07:00
5de9bdf18c
Merge pull request #32 from mrteye/ui-redesign-sessions-drawer-17867567827419767189
Redesign the Sessions management page header and drawer
2026-08-25 15:53:32 -07:00
google-labs-jules[bot]
64a9b2cd1d refactor(ui): Redesign and consolidate sessions and passes drawer
- Removed the dual top buttons from SessionsPage.tsx.
- Removed the `#eventDrawer` and wrapped its fields, buttons, and modal under `<form id="eventForm">` inside `#tabWorkshopPass` of `#delegateDrawer`.
- Wrapped the 1:1 Direct pass form fields, buttons, and modal under `<form id="delegateForm">` inside `#tabDirectPass` of `#delegateDrawer`.
- Added a vanilla Javascript tab switching logic for UI interaction without client-side frameworks.
- Removed deprecated `openEventDrawer` and `closeEventDrawer`.
- Replaced the single main button to trigger `openDelegateDrawer`.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 22:53:20 +00:00
aa6b731fcf
Merge pull request #31 from mrteye/sec/zero-trust-scope-guards
sec(auth-api): implement zero-trust scope guards and permission middleware

this was a recovered and broken Jules session
2026-08-25 15:45:24 -07:00
6a5a769203 sec(auth-api): implement zero-trust scope guards and permission middleware 2026-08-25 15:39:54 -07:00
563723c654
Merge pull request #30 from mrteye/jules-universal-agent-framework-14468551201613136790
feat(protocol): add task specification for universal multi-agent framework
2026-08-25 15:26:47 -07:00
google-labs-jules[bot]
e54496b51f feat(protocol): add universal agent framework task specification
Drafts a task specification file `tasks/new/2026-0825.01.jul.story.protocol.universal-agent-framework-1945.md` outlining the extraction of the multi-agent orchestration workflow from Auth-Yes into a clean, reusable, repository-agnostic blueprint. This specification adheres to `tasks/GUIDELINES.md` and covers both a foundational architecture guide and a drop-in scaffolding template bundle.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 22:26:32 +00:00
f130b97838 docs: add engineering lifecycle and task protocols map to README and AGENTS.md 2026-08-25 12:25:26 -07:00
5c72544eca docs(tasks): establish plan.md, debug.md and streamline path.md master index 2026-08-25 12:20:31 -07:00
d0a1492f6c docs(tasks): establish tasks/do.md execution protocol and link from path.md 2026-08-25 12:08:59 -07:00
36bad05b35
Merge pull request #29 from mrteye/jul-monolith-audit-16234354212497883361
story(arch): draft monolith decomposition roadmap
2026-08-25 11:56:17 -07:00
google-labs-jules[bot]
1353153df2 story(arch): draft monolith decomposition roadmap
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 18:56:02 +00:00
d53d3143ae docs(tasks): extract and establish audit-1 and audit-2 protocol templates 2026-08-25 11:34:50 -07:00
f64777602d
Merge pull request #28 from mrteye/chore-ui-redesign-sessions-drawer-task-13578358291952217030
chore(tasks): add UI redesign task for sessions drawer
2026-08-25 11:19:43 -07:00
e4bc07513f
Merge pull request #27 from mrteye/zero-trust-scope-guards-task-6161145555757642969
sec(tasks): draft task for zero-trust scope guards
2026-08-25 11:19:31 -07:00
google-labs-jules[bot]
ad5cc14858 chore(tasks): add UI redesign task for sessions drawer
Create a system analysis task plan in `tasks/new/` detailing how to redesign
the Sessions management page's header and unified drawer, strictly adhering to
the Auth-Yes SSR JSX standards and vanilla JS implementations.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 18:19:28 +00:00
google-labs-jules[bot]
dad21ff257 sec(tasks): draft task for zero-trust scope guards
Drafts a comprehensive task specification for implementing zero-trust
scope guards on internal API routes and SSR UI pages, as requested.
The file adheres strictly to the repository's Kanban and Markdown
metadata guidelines.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 18:19:16 +00:00
70871726bc docs: soften approval wording in AGENTS.md to confirms execution 2026-08-25 10:28:48 -07:00
3b340257ee docs: add strict deliberation and user approval protocol to AGENTS.md 2026-08-25 10:26:47 -07:00
e4955f4bd2 feat(ui): add workshop pass creator drawer and 1-click app destination picker 2026-08-25 10:20:00 -07:00
8d4069709d fix(ui): resolve JS try-block syntax error and add SSR script syntax test suite 2026-08-25 10:10:05 -07:00
22bcd889c3 ui(sessions): simplify delegation copy and labels across sessions page and routes 2026-08-25 09:59:27 -07:00
e9a9fb500f docs: mark all tasks in ephemeral passes & event cockpit plan complete 2026-08-25 09:42:09 -07:00
f5bafbca78 fix(valkey,tasks): prevent unhandled connection hangs in sandbox and constrain test directives 2026-08-25 09:38:27 -07:00
a82136fc95 feat(cockpit): add live event metrics, seat roster, and master kill-switch 2026-08-25 09:33:44 -07:00
62fc91eb25 docs(tasks): point task 3 targets to server/routes/events.ts 2026-08-25 08:31:55 -07:00
578f3d06ac
Merge pull request #26 from mrteye/feat/event-passes-and-magic-links
feat(passes): implement ephemeral 1-click magic links, multi-claim event passes, PIN portal, and CLI 1-liner
2026-08-25 08:27:39 -07:00
39f3b2e3fa refactor(server): modularize main.ts into dedicated sub-routers (passes, events, sessions, forward-auth) 2026-08-25 08:17:06 -07:00
40804fd813 feat(passes): implement ephemeral 1-click magic links, event passes, PIN join portal, and CLI 1-liner 2026-08-25 08:14:16 -07:00
368150c2c0
Merge pull request #25 from mrteye/feat-ephemeral-magic-passes-11255256777317370393
feat: 1-Click Ephemeral Magic Link Redemption
2026-08-25 01:25:51 -07:00
google-labs-jules[bot]
2d34aa15a7 feat: implement ephemeral 1-click magic link redemption (/pass)
Implements the GET /pass?token=... endpoint for validating session tokens, resolving the correct target application domain dynamically, and routing users seamlessly using ephemeral 1-click magic links.
Also updates the Sessions Hub UI hand-off modal to display the 1-Click Magic Link and adds full test coverage.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 08:25:31 +00:00
7033c532b2 docs(plan): add plan and tasks for ephemeral magic links and multi-claim event passes 2026-08-25 00:40:33 -07:00
2af9ef1f40 docs: add Dual-Audience Development Guide for Agent-First APIs and Mobile-First UI 2026-08-25 00:11:56 -07:00
5f88733fc6 feat(sessions): implement agent session delegation with scoped permissions and instant handoff 2026-08-24 23:46:44 -07:00
80cab8454e feat(api): support Authorization: Bearer <session_id> in addition to Cookie headers for agent queries 2026-08-24 23:29:39 -07:00
85772659b7 feat(ui,api): polish a11y, mobile decks, app/role edit drawers, display name management, and instant search 2026-08-24 23:21:35 -07:00
509e6019b0 feat(ui): adapt admin management screens into responsive mobile cards and timeline feed 2026-08-24 22:20:47 -07:00
7ab1405459 feat(ui): implement adaptive card decks for launchpad, sessions, and passkeys with emergency recovery backup 2026-08-24 22:20:10 -07:00
a3f5c5c286 feat(ui): implement hero passkey authentication, conditional UI autofill, and 12-word recovery setup 2026-08-24 22:19:20 -07:00
029c32e022 feat(ui): implement design tokens and mobile-first adaptive navigation shell 2026-08-24 22:18:34 -07:00
8e7efcc1d1 docs(tasks): include Recovery PIN setup and 12-word voucher generation in task specs 2026-08-24 22:16:28 -07:00
449b428cea docs(tasks): add 4 phased task specifications for mobile-first UI revamp 2026-08-24 22:11:32 -07:00
c5f8f6fcbc docs: add technical design spec for mobile-first UI revamp 2026-08-24 22:10:09 -07:00
b9f4ccd71d feat(auth): resolve mobile cookie shadowing and synchronize tasks/path.md
- Implement iterative session cookie candidate resolution in getAuthenticatedUser
- Eliminate Hono first-match limitation causing mobile login redirect loops
- Use absolute UTC ISO strings for PostgreSQL session expiry queries
- Opportunistically clear host-level cookies upon shadow detection
- Ensure exhaustive server-side session revocation across all cookie candidates on logout
- Add automated regression test for cookie shadowing in server/main.test.ts
- Rename and standardize tasks/path.md with 5-template orchestrator standard
2026-08-24 21:48:33 -07:00
b66cc8209c
Merge pull request #24 from mrteye/jules/investigate-mobile-login-cookie-bug-12452066356128611281
chore: Complete Investigation on Mobile Login Cookie Redirect Failure
2026-08-24 21:23:18 -07:00
google-labs-jules[bot]
947b38d81a Investigate mobile login cookie persistence bug
- Investigated Chromium Android wildcard domain cookie behavior.
- Researched Hono's `getCookie` first-match parsing behavior.
- Added experimental Deno test scripts in `scratch/` for Hono cookie header parsing and pg timezone concepts.
- Wrote full root-cause analysis and ranked architectural solutions in `scratch/INVESTIGATIVE_REPORT.md`.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-25 00:31:19 +00:00
4b78f70efd fix(auth): eliminate conflicting deleteCookie and add created_at to users table 2026-08-24 17:14:07 -07:00
250e9c625b test: update logout redirect assertion 2026-08-24 16:23:12 -07:00