This website requires JavaScript.
Explore
Help
Register
Sign In
references
/
autocraft
Watch
1
Star
0
Fork
0
mirror of
https://github.com/storytold/autocraft.git
synced
2026-11-28 00:59:43 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
7e1123ce8a7d148b2becb4b419f10d62bef7b89c
autocraft
/
docs
T
History
aiongg
7e1123ce8a
Merge C1: AUTOCRAFT_DB_URL reaches every process, AUTOCRAFT_DATA_DIR, db.attempt
...
# Conflicts: # src/github/read.ts
2026-11-21 18:26:51 +00:00
..
images
Flowchart: Post-merge review under Fix-up so the chart keeps six columns; regenerate the README image
2026-11-04 00:41:04 +00:00
dashboard-spec.md
A maintainer's pre-approved merge outlasts their dashboard session: each tick the pipeline reads the write permission of the maintainers it acts for again through the GitHub App before it expires; while a read is under way or failing the last write permission counts, and only a fresh non-write answer (or a role or setting change) cancels
2026-11-20 13:40:58 +00:00
deploy-checklist.md
Call Jev through Cloudflare Workers AI when configured
2026-11-21 05:01:28 +00:00
how-it-works.md
How it works: Review runs after green CI, at most every two hours and three times a day per pull request
2026-11-07 04:23:45 +00:00
migration.md
Call Jev through Cloudflare Workers AI when configured
2026-11-21 05:01:28 +00:00
operations.md
Run every process on AUTOCRAFT_DB_URL: the dashboard, runner, worker threads and job processes open dbTarget() (job processes get dbEnv(), only the variable that names the database); the GitHub identity read uses the process handle in read transactions on Postgres; AUTOCRAFT_DATA_DIR (default: the SQLite file's directory; the image sets /data) holds reference documents, artifacts and the item snapshot; lock files are named by dbLockName(); the item snapshot, backup.sh, the predeploy snapshot and the periodic loops say that Postgres has no SQLite snapshot instead of succeeding; db.attempt(fn) runs fn under a savepoint on Postgres so a caught statement error leaves the write usable
2026-11-21 18:08:33 +00:00
pipeline.md
Live topics and the plan change log on Postgres: one plpgsql function per table and operation evaluates every topic and change-log trigger (src/db/pg-triggers.ts); counters (change_seq, plan_full) move once per transaction at commit through a deferred constraint trigger that locks touched rows in sorted order; the change log is consumed by key on both dialects (a pass deletes exactly the seqs it read, late commits are read next pass) and plan_full is a full-pass generation; bulk marker on Postgres is the transaction-local ac.bulk; connectDb migrates a Postgres database at open (schema and triggers in one transaction under the migration lock, skipped when the stored stamp is current); parity, out-of-order commit, counter and plan-coverage tests
2026-11-21 18:15:40 +00:00
stage-summaries.md
How it works: Review runs after green CI, at most every two hours and three times a day per pull request
2026-11-07 04:23:45 +00:00
ui-design.md
Backlog on an item: answers its open question, or holds it with an answered backlog decision that Reopen and Undo delete; item page and Queue row menus, item backlog CLI, Flow counts it under Backlog
2026-11-20 05:08:54 +00:00