g1t/services/repos/wrangler.jsonc
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Initial g1t: services, event bus, intents and attempts | 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", | |
| 3 | "name": "g1t-repos", | |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", | |
| 5 | "compatibility_date": "2026-09-26", | |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 6 | // Runs next to its database: a request makes several queries in turn, |
| 7 | // and each would otherwise cross the distance to it. | |
| 8 | "placement": { "mode": "smart" }, | |
| Rust repos service with shipping; pull requests kept in the model | 9 | "main": "build/index.js", |
| 10 | "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" }, | |
| Initial g1t: services, event bus, intents and attempts | 11 | "workers_dev": false, |
| 12 | "d1_databases": [ | |
| 13 | { | |
| 14 | "binding": "DB", | |
| 15 | "database_name": "g1t-repos", | |
| 16 | "database_id": "f9544c51-c3bf-4621-a96f-8a6d5cf24a97", | |
| 17 | "migrations_dir": "migrations" | |
| 18 | } | |
| 19 | ], | |
| 20 | "artifacts": [{ "binding": "ARTIFACTS", "namespace": "g1t" }], | |
| 21 | "services": [ | |
| 22 | { "binding": "IDENTITY", "service": "g1t-identity" }, | |
| Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API | 23 | { "binding": "EVENTS", "service": "g1t-events" }, |
| 24 | // Push protection asks which secrets were allowed, and records the rest. | |
| Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look | 25 | { "binding": "SECURITY", "service": "g1t-security" }, |
| 26 | // Whether a workspace far past its free git operations is on the | |
| 27 | // plan (src/git_ops.rs); asked only then. | |
| 28 | { "binding": "BILLING", "service": "g1t-billing" } | |
| Initial g1t: services, event bus, intents and attempts | 29 | ], |
| Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look | 30 | // A free workspace past this many git operations in a month is slowed |
| 31 | // to this many an hour, never charged (src/git_ops.rs). Billing's | |
| 32 | // GIT_OPERATIONS_FREE_CAP says the same on the pricing page. | |
| 33 | // FREE_PRIVATE_STORAGE_BYTES: a free workspace's private repositories may | |
| 34 | // hold this much (1 GB); past it, pushes to them stop. Billing reads the | |
| 35 | // same amount. | |
| 36 | "vars": { | |
| 37 | "GIT_OPERATIONS_FREE_CAP": "50000", | |
| 38 | "GIT_OPERATIONS_FREE_HOURLY": "60", | |
| 39 | "FREE_PRIVATE_STORAGE_BYTES": "1000000000" | |
| 40 | }, | |
| 41 | // Every hour, deleted repositories whose 30 days to be restored have | |
| 42 | // passed are purged, their git data with them (src/lifecycle.rs). | |
| 43 | "triggers": { "crons": ["23 * * * *"] }, | |
| 44 | // A workspace renamed moves its repositories to the new slug; one | |
| 45 | // deleted purges the repositories it left in Recently deleted. | |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 46 | "queues": { |
| 47 | "consumers": [{ "queue": "g1t-events-repos", "max_batch_size": 20, "max_batch_timeout": 1 }] | |
| 48 | }, | |
| Initial g1t: services, event bus, intents and attempts | 49 | "observability": { "enabled": true } |
| 50 | } |