Skip to content
aisocraticPublic

About

A kanban board built for humans and coding agents

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agora

A kanban board for humans and coding agents.

Open your board

Agora currently provides a working personal board in your browser. Create cards with a title and details, move them through Backlog, Todo, Doing and Review, reorder them, and archive completed work. Restore archived cards or permanently delete them after confirmation. Drag handles support pointer, touch and keyboard; column selectors and arrow buttons provide an alternative to dragging.

The Next.js app also provides a shared Postgres board when DATABASE_URL is configured: transactional card updates, live refresh between clients, revision conflict detection and an HTTP API. See shared board setup and API. The GitHub Pages board remains personal browser storage.

The GitHub Pages board and the Next.js app use the same React component and state logic. In personal mode, cards are saved in local browser storage, separately for each origin and browser profile. Personal boards are not shared between devices or users. Shared mode uses PostgreSQL and synchronizes through the API. Export a JSON backup before clearing browser data. Import adds missing cards and preserves existing cards with the same IDs. If browser storage is unavailable or full, Agora keeps changes in the current tab and asks you to export them. Unreadable saved data is preserved for download before a fresh board can be started.

Run locally

git clone https://github.com/aisocratic/agora
cd agora
pnpm install --frozen-lockfile
pnpm dev

Open http://localhost:3000. No database or account is needed for the personal board. For shared mode, configure authentication, export DATABASE_URL, run pnpm db:migrate, then pnpm dev (bound to loopback).

To preview the GitHub Pages site, including the same interactive board:

pnpm site:build
python3 -m http.server 4174 --directory site

Open http://localhost:4174. Rebuild after changing the shared board component. Assets use relative URLs so the site also works under /agora/ on GitHub Pages. The Pages workflow installs dependencies, verifies source and design assets, builds both consumers, tests card workflows, and deploys the static site.

Verification

pnpm verify       # design integrity, typecheck, lint, state/storage unit tests
pnpm build        # production Next.js app
pnpm site:build   # shared React board bundled for the static site
pnpm test:e2e     # card workflows in Pages desktop/mobile and the Next app
pnpm test:db      # real Postgres integration; requires TEST_DATABASE_URL
pnpm test:e2e:shared # shared Postgres browser workflows; requires TEST_DATABASE_URL
pnpm test:e2e:suggestions # human review workflows; requires TEST_DATABASE_URL

Local browser tests use installed Google Chrome. CI installs Playwright Chromium. The browser suite covers create/edit, validation/cancel, drag and touch reorder, column changes, reload persistence, archive/restore/delete, backup import/export, corrupt data, multiple tabs and responsive layout. Unit tests also cover storage failures and retaining unsaved edits.

Architecture

  • components/board/board.tsx and board.css: one board UI for both consumers.
  • lib/board.ts: validated card data and immutable lifecycle operations.
  • lib/board-storage.ts: storage interface and browser persistence, with explicit error handling and storage-event updates between tabs.
  • lib/remote-board-store.ts: asynchronous API client with ETag polling, pending state and revision conflicts that retain editor drafts.
  • lib/server/board-repository.ts, db/migrations and app/api: relational Postgres persistence, transactional operations and the shared HTTP API.
  • site/board-entry.tsx and scripts/build-site.mjs: bundle the shared component into site/assets/board.js and board.css with esbuild.

The personal and shared modes use separate persistence controllers and the same board UI. The shared API supports password sessions, named API tokens and a trusted proxy contract. Production requires explicit secure configuration and refuses none. The standalone HTTP CLI can be copied or packed without the app.

Agent workflows

The shared platform persists task metadata, dependencies, parent links and comments through its authenticated HTTP API, rich editor and dependency-free CLI. Configure workflow vocabulary and dispatch adapters for agent tasks, with human-review gates and durable dispatch receipts. The plan engine groups leaf tasks into dependency waves, retains human assignments and review gates, and classifies merge candidates. agora skill install installs the portable Claude Code workflow skill. The suggestions inbox lets agents propose work for human review before it becomes a card. The dependency graph shows prerequisite direction, readiness and cycle feedback, with navigation into the same card editor. See the roadmap evidence.

  • Shared AI Socratic design and responsive browser board
  • Card editor, drag and reorder, archive and backup workflows
  • Postgres persistence and shared board updates
  • Authentication
  • API tokens and CLI
  • Configurable workflow, agent policies and dispatch adapters
  • Dependency planning and portable Claude Code skill
  • Suggestions inbox with human review
  • Dependency graph with desktop/mobile acceptance

Shared design

The app and GitHub Pages site consume @aisocratic/design. The app imports its React chrome and Tailwind theme; the site imports the same tokens and site recipes in site/vendor/design.css. Both use the same board styles, which reference shared color, typography and spacing roles. Light mode uses the AI Socratic warm palette.

The package archive is pinned inside vendor/, so a clean clone works without a sibling checkout or an unpublished registry package. vendor/design.json records the archive SHA-256; site/vendor/design.json records the exact upstream CSS hash. Fonts fill the package's --aisocratic-font-* slots on <html>.

To refresh both copies from a built Stoa checkout:

# In Stoa:
pnpm build
# In Agora:
pnpm design:sync /path/to/stoa
pnpm verify
pnpm build
pnpm site:build
pnpm test:e2e

Commit the archive, metadata, CSS, manifest and lockfile together. Keep project content layout in site/styles.css, shared board styling in components/board/board.css, and shared family chrome in Stoa.

MIT © AI Socratic.

Local test kanban board

Run pnpm dev --port 4190, then open the test dashboard. It includes example tasks in six columns and uses a separate browser storage key from your personal board. Try dragging cards, clicking titles to rename, opening card details, changing priority and review flags, folding subtasks, and filtering the Board or Focus view. Changes persist in that browser. This sample board does not connect to production agents or the website database.

The test workspace supports modifier-click selection (⌘/Ctrl/Shift), selecting with a box dragged from empty board space (Shift adds to the selection, a click clears it), dragging a selected card to move the whole selection, bulk moves, priority and assignment changes, and archiving. Each column can be shown always, only while it holds cards, or never (the Columns menu, or the column's own menu); the choice is remembered in that browser. Existing tasks autosave in the compact editor; new tasks are created explicitly. Add subtasks from the editor or use Add task beneath a column. The move/archive hover tray is disabled.

The same test dashboard is deployed to GitHub Pages. pnpm site:build bundles it from the same component as the Next.js route, including the Stoa theme and controls.

About

A kanban board built for humans and coding agents

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages