oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1-- Jobs (chat/handoff.go, chat/jobs.go): a hand-off's title and how many
2-- times the Assistant nudged it; a job card's hand-off and its one
3-- sentence of detail; and each reply or nudge the Assistant made for a
4-- job, once per key.
5ALTER TABLE chat_handoffs ADD COLUMN title text;
6ALTER TABLE chat_handoffs ADD COLUMN nudges integer NOT NULL DEFAULT 0;
7ALTER TABLE chat_cards ADD COLUMN handoff_id text;
8ALTER TABLE chat_cards ADD COLUMN detail text;
9CREATE INDEX chat_card_handoff ON chat_cards(handoff_id);
10CREATE TABLE chat_handoff_actions (ledger_key text PRIMARY KEY, handoff_id text NOT NULL, person text NOT NULL, kind text NOT NULL, context text, message_id text, result text, created_at datetime);
11CREATE INDEX chat_handoff_action_handoff ON chat_handoff_actions(handoff_id);
12CREATE INDEX chat_handoff_action_message ON chat_handoff_actions(message_id);
13