Skip to content

Commit 5474aa4

Browse files
Document gate branch contribution workflow
1 parent a239496 commit 5474aa4

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
- Never explicitly version source code without direct instruction. Source code is always implicitly versioned to the active Bitcode canon and current gate; routes, file names, CSS files, constants, classes, API paths, tests, and implementation identifiers must be written in-place as the single current Bitcode system. Do not introduce names such as `api/v1`, `v27-*`, `first-gate-*`, `wip-*`, or similar version/gate/work-in-progress source constructs unless explicitly directed for a bounded compatibility artifact.
55
- Do not consider any legacy code. All legacy code is located under `_legacy/`.
66
- Highest caliber software engineering crafstmanship (maintainibility, abstractions, architectures, naming, patterns, comments, documentation, structures, algorithmic and data flow designs, UI/UX, etc.), correctness (specification and implementation precision, reliability, completeness, boundaried, scoped, encapsulated, etc.), and auditable (totalistic proofs systems from static code, build time, runtime, etc. etc. as is Bitcode, tests from unit, integration, E2E, linting and building, etc.).
7+
- Do not push work directly to `main`. Create a version base branch for each draft target, such as `version/v28`, then create scoped gate branches from that version branch. Gate branches must be prefixed with the gate number, such as `v28/gate-3-read-fit-workflow` or `v28/gate-8-promotion-proof`. Pull-request each closed gate back into the version branch. Pull-request the version branch into `main` only when all gates are closed and the version is formally promoted as canon. The default branch is protected by the `Bitcode Core Contributions` ruleset and requires pull requests plus verified signatures.
8+
- Once implementation starts on a gate branch, do not stop at partial progress unless blocked by missing external input or explicit user pause. A gate branch is ready to stop only when the gate's acceptance criteria are implemented, specified, tested, documented, committed, pushed, and pull-requested for closure into the version branch.
9+
- Write quality commit messages that describe the grouped work, proof, or documentation change. Avoid generic messages such as `wip v28` unless the user explicitly asks for that exact temporary commit shape.
710

811
## The Bezalel Protocol: Sacred Craft for Coding Agents
912

BITCODE_SPEC_V28.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ V28 requires:
149149
- compatibility storage carriers are hidden behind Bitcode vocabulary and registry-derived read models;
150150
- no new versioned UAPI route family is introduced;
151151
- implementation source remains implicitly versioned to the active canon and current gate: routes, file names, CSS, constants, tests, and identifiers must not introduce explicit version/gate/work-in-progress names without a bounded compatibility instruction;
152+
- repository contribution flow uses a V28 version branch as the draft integration
153+
branch, with scoped gate-number-prefixed branches opened from it and
154+
pull-requested back into it only when their gate acceptance criteria are
155+
implemented, specified, tested, documented, and ready for closure review;
152156
- value-bearing mainnet remains gated by explicit operational approval;
153157
- V29 Terminal depth, V30 Protocol/BTD hardening, V31 Auxillaries depth, V32 provation/testing depth, V33 interface depth beyond the V28 MVP, V34 deployment depth, V35 telemetry/documenting depth, and V36+ Exchange/Conversations depth remain staged unless V28 requires a narrow Protocol/Terminal/MCP/ChatGPT hook.
154158

@@ -950,7 +954,7 @@ Minimum V28 validation includes spec-family checks, canon-posture drift checks,
950954

951955
## promotion canon
952956

953-
Promotion requires V28 PROVEN, synchronized SPEC/DELTA/NOTES/PARITY, closed gates, route scan, test/build proof, and explicit update of `BITCODE_SPEC.txt` from `V27` to `V28`.
957+
Promotion requires V28 PROVEN, synchronized SPEC/DELTA/NOTES/PARITY, closed gates, route scan, test/build proof, pull-requested integration from gate-number-prefixed branches into the V28 version branch, and explicit update of `BITCODE_SPEC.txt` from `V27` to `V28` when the version branch is pull-requested back into `main`.
954958

955959
## appendices and canonical supporting material
956960

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,27 @@ App.
3030
- Update source in-place to match the active canon and current draft target.
3131
- Keep specification notes, QA ledgers, tests, and implementation synchronized.
3232

33+
## Contributor Workflow
34+
35+
The default branch is protected by the active `Bitcode Core Contributions`
36+
ruleset. Direct pushes to `main` are not part of the normal workflow; expect
37+
them to be rejected because changes must arrive through pull requests and
38+
verified signatures.
39+
40+
Use a version branch and gate-numbered branches:
41+
42+
1. Create one base branch per draft target, such as `version/v28`.
43+
2. Create scoped gate branches from the version branch. Prefix every gate branch
44+
with the gate number, for example `v28/gate-3-read-fit-workflow` or
45+
`v28/gate-8-promotion-proof`.
46+
3. Group related work into clear commits with descriptive commit messages.
47+
4. Continue on the gate branch until that gate's acceptance criteria are
48+
implemented, specified, tested, documented, committed, pushed, and ready for
49+
closure review.
50+
5. Open pull requests from gate branches into the version branch as gates close.
51+
6. Open the version branch back into `main` only after all gates close and the
52+
version is formally promoted as canon.
53+
3354
## Key Surfaces
3455

3556
- [BITCODE_SPEC.txt](BITCODE_SPEC.txt) is the canonical version pointer.

0 commit comments

Comments
 (0)