From 82d23edaca1774d4edd79b50c9b4da030bf02605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Drago=C8=99-Andrei=20Bobu?= Date: Tue, 13 Oct 2026 23:50:21 +0300 Subject: [PATCH] docs(agents): self-merge verified PRs and adaptive post-merge lead --- experiments/COMPANY.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/experiments/COMPANY.md b/experiments/COMPANY.md index a745d26..726e7c3 100644 --- a/experiments/COMPANY.md +++ b/experiments/COMPANY.md @@ -15,13 +15,13 @@ Both are independent static web applications published beneath the existing stud - **VF-A**: Voxel world/controls/gameplay; **VF-B**: Voxel gameplay systems/UI/polish. - **NS-A**: City simulation/driving/traffic; **NS-B**: City missions, interaction, UI/polish. -- **C**: cross-project technical lead, integrator, CI reviewer, rescue coder, PR merger and task dispatcher. +- **C**: cross-project technical lead, post-merge QA auditor, rescue coder and adaptive task dispatcher; not a routine pre-merge bottleneck. - Every agent owns **the entire product outcome**, not a token-sized task. Its assigned scope is a *conflict-avoidance preference*; if idle, take the best unclaimed, shippable work without clobbering in-flight changes. - On every execution read `main`, PRs, recent commits, CI, and these acceptance criteria; then **write actual code** and run available verification. Prefer one sizeable coherent PR per substantial increment. Avoid duplicate PRs and repetitive planning-only runs. -- Merge a verified end-to-end increment at the first safe opportunity. Do not delay integration till morning. Do not merge known broken code. CI green alone is not proof of browser interactivity. +- **Worker-owned integration:** Each of the four developers creates and merges its OWN verified PR into `main` as soon as it is safe. Never push a raw commit directly to `main`. Inspect the PR file diff and scope, validate actual passing GitHub Actions against its current head, confirm no known severe gameplay regression and no merge conflict against current `main`; squash-merge with expected head SHA; verify main and continue developing. If these checks are unavailable, pending, failed or conflicted, leave PR open and fix or hand off exact blocker. No forced merges, bypasses or changes to the site homepage or other game. CI green alone is not proof of browser interactivity. - Coordination in a shared repo: each game stays exclusively within its corresponding directory. Within each game, coordinate changed filenames and PR authorship to avoid branch divergence; don't rewrite a teammate's files without inspecting current work. -- If a worker stalls, lead must diagnose logs and unblock first. After **two materially unproductive executions** with no concrete blocker fix, research factual gameplay systems online (official docs/tutorials and encyclopedic descriptions only, do not copy copyrighted assets/content) and add a **small concrete gameplay feature** with a test and acceptance criteria. Examples: crafting and survival mechanics for voxel; varied deliveries, timed missions, police pursuit for city. -- On last scheduled cycle, lead must merge **only verified** PRs, check hosted URLs or clearly report missing access, record actual test/build statuses, leave next-actions. Do not deactivate schedules prematurely; schedules expire by COUNT automatically. Do not modify unrelated existing automations. +- **Adaptive lead:** After ONE demonstrably unproductive worker execution, investigate the actual changes, logs and blockers; distinguish pending external checks from inactivity; fix integration issues hands-on and, if permitted, rewrite only that worker's scheduled task prompt with a measurable higher-impact goal while preserving its timing and expiry. Research factual gameplay patterns when the next valuable increment is unclear (without copying copyrighted assets/content). The lead audits already merged changes, tests hosted game behavior and rapidly repairs regressions rather than rubber-stamping each worker's PR. +- **Throughput principle:** A commit, PR or passing test is a checkpoint, not permission to end the execution. Continue with the next largest safe game improvement while session capacity permits. Measure verified playable capability integrated into main per elapsed time, not amount of code or administration. On the final scheduled cycle, lead reconciles only verified outstanding PRs, checks URLs or clearly reports missing access, records actual build/runtime test status and next actions. Do not deactivate schedules prematurely; schedules expire by COUNT automatically. Do not modify unrelated existing automations. ## Minimum playable slice — Voxel Frontier