main Integration BoundaryStatus: Required P0 repository-admin configuration
Tracking issue: #35
IDKMesh uses GitHub as both its public collaboration substrate and, increasingly, an execution/control surface for deterministic automation and bounded agents. Instructions inside those agents are not a security boundary. The canonical main branch therefore needs an explicit GitHub ruleset or branch-protection policy before autonomous write authority is increased.
No autonomous actor may propose, approve, and merge the same protected change by itself.
A successful worker run, agent proposal, community-growth event, or repository-homeostasis proposal is evidence for review. It is not authority to mutate canonical state.
A GitHub branch response with protected: true is necessary but not sufficient to prove that the intended IDKMesh integration boundary is configured. A weak or partial ruleset could still set that bit.
ACE therefore requires two separate conditions before its bounded reproductive actuator becomes eligible:
GitHub reports main protected
AND
repository variable ACE_AUTONOMOUS_ACTUATION_ENABLED == "true"
The repository variable is an explicit post-verification opt-in. It must remain unset/false while protection is absent, incomplete, untested, or under repair.
Do not set the variable merely to make the workflow enter GROW/EXPLORE. Set it only after the concrete protection behavior below has been configured and tested.
Configure a branch ruleset for the repository default branch, currently main, with these minimum properties:
Enable only checks that are stable on main; an unreliable required check becomes its own availability risk.
Initial candidates:
Phase 0 schema check;ACE safety contract for privileged ACE workflow changes;IDKMesh Node CI after the canonical node lands;Do not make a check required merely because it exists. Require it when its semantics are understood, it is deterministic enough for the protected path, and maintainers know how to recover from infrastructure failure without silently bypassing quality gates.
Repository administrator:
MSKazemi/idkmesh.main.main reports protected.ACE_AUTONOMOUS_ACTUATION_ENABLED to the exact string true if bounded ACE reproduction is intentionally being enabled.If protection is weakened, disabled, or under incident response, immediately remove/set false the ACE opt-in in addition to repairing the ruleset. Either failed gate keeps the workflow fail-closed.
IDKMesh currently has a bootstrap maintainer and does not yet have the contributor population needed for a permanent two-person approval rule on every change. Protection should therefore grow in stages rather than be configured into deadlock.
A reasonable bootstrap state is:
PR required
+ stable CI required
+ force-push/deletion blocked
+ maintainer integration
+ independent review required where another trusted reviewer is available or where risk class demands external evidence
As trusted reviewers emerge, strengthen approval requirements and reduce single-person integration dependency.
Automation should fail closed for actions that cause autonomous reproduction, structural mutation, merge, or equivalent expansion of authority.
The ACE Community Growth workflow therefore enters CONSOLIDATE and disables its automatic Growth Seed reproductive actuator when either:
main protected; orACE_AUTONOMOUS_ACTUATION_ENABLED is not exactly true.Its evidence ledger may continue to update because that preserves observability without granting canonical code integration authority.
Repository Homeostasis remains proposal-first: observation may continue, but file moves, deletion, semantic rewrites, or stronger autonomous mutation should not be enabled before the protected boundary exists.
A possible authority ladder is:
| Tier | Capability | Protected-main requirement |
|---|---|---|
| 0 | Observe / report | recommended |
| 1 | Propose issue / PR | required before broad autonomous use |
| 2 | Deterministic low-risk metadata writes | required + explicit opt-in + audited workflow |
| 3 | Auto-merge narrowly defined deterministic changes | required + required checks + independent policy gate |
| 4 | Structural/self-evolution mutation | required + independent verifier + rollback/evidence policy |
IDKMesh should earn higher tiers from measured safety and usefulness rather than granting them in advance.
Before enabling the ACE opt-in, verify at minimum:
main reports as protected in GitHub branch metadata;After setting ACE_AUTONOMOUS_ACTUATION_ENABLED=true, also verify:
true) returns ACE to fail-closed CONSOLIDATE;The ACE ledger is controller memory, not ordinary free-form documentation. The privileged workflow therefore also fails closed when:
ace:ledger identity;ACE_STATE is missing, malformed, wrong-version, contains non-finite/negative numeric state, invalid counters, or an invalid/implausibly future timestamp.Manual repair should preserve evidence and explain what was corrected rather than silently resetting controller memory.
This is not merely repository administration. It is the first concrete instance of the IDKMesh principle:
proposal
-> independent/deterministic evidence
-> protected integration boundary
-> explicit authority opt-in
-> canonical state
The same separation should later exist between workers, verifiers, coordinators, and integrators in the Verified Swarm Runner.