Skip to content

Commit 748ee9c

Browse files
Document branch-based contribution workflow
1 parent a239496 commit 748ee9c

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
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/work branches from that version branch. 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+
- 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.
79

810
## The Bezalel Protocol: Sacred Craft for Coding Agents
911

BITCODE_SPEC_V28.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ 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 work branches opened from it and pull-requested back into
154+
it as individual gates close;
152155
- value-bearing mainnet remains gated by explicit operational approval;
153156
- 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.
154157

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

951954
## promotion canon
952955

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`.
956+
Promotion requires V28 PROVEN, synchronized SPEC/DELTA/NOTES/PARITY, closed gates, route scan, test/build proof, pull-requested integration from scoped gate 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`.
954957

955958
## appendices and canonical supporting material
956959

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@ 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 branches:
41+
42+
1. Create one base branch per draft target, such as `version/v28`.
43+
2. Create scoped work branches from the version branch, for example
44+
`v28/<gate-or-work-slice>`.
45+
3. Group related work into clear commits with descriptive commit messages.
46+
4. Open pull requests from scoped branches into the version branch as gates
47+
close.
48+
5. Open the version branch back into `main` only after all gates close and the
49+
version is formally promoted as canon.
50+
3351
## Key Surfaces
3452

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

0 commit comments

Comments
 (0)