This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -1,9 +1,14 @@
# CC Brief — CLAUDE.md Amendment: Code-Level Invariants
> [!CAUTION]
> **ARCHIVED / SUPERSEDED — DO NOT EXECUTE.** This brief predates `AGENTS.md`
> as the sole operating contract. Its raw subtree/export publication guidance
> is invalid; use `AGENTS.md` §7.5 and the curated-forward-port workflow.
**Brief ID:** `cc-claude-md-amendment-invariants-v1`
**Date:** 2026-05-05
**Author:** PM
**Status:** READY (Marko ratifikovao 2026-05-05 "uradi to sve")
**Status:** ARCHIVED / SUPERSEDED (was READY and ratified 2026-05-05 under the superseded model)
**Stream:** Solo CC sesija (single commit, single PR)
**Wall-clock:** 30-45 min CC implementation
**Cost cap:** $5 hard / $3 halt / $1-2 expected (mostly file edit + lint + commit)
@@ -78,6 +83,12 @@ If a CC session is asked to merge `feature/apps-web-integration` to `main` and a
### OSS subtree split discipline
> **CORRECTION (2026-08-22):** Raw `oss-hive-mind-*-export` refs are local
> inspection artifacts only and must never be published. Author changes in the
> private monorepo, run the fail-closed drift check, and prepare a reviewed
> maintainer-curated forward-port in the OSS checkout. The historical text
> below is retained only to explain the superseded decision.
The `oss-hive-mind-*-export` branches in this repo are not hand-edited. They are generated by `git subtree split` against the latest `feature/hive-mind-monorepo-migration` HEAD and pushed to the public `marolinik/hive-mind` repo as the corresponding package branches.
If a CC session is asked to commit directly to any `oss-hive-mind-*-export` branch, halt-and-PM. The correct workflow is: edit in `packages/hive-mind-*` on the monorepo migration branch, then re-run subtree split to regenerate the export branch.

View File

@@ -1,9 +1,16 @@
# CC Runbook — Day 0 Minus 1: OSS Push Gate + Track A Tag Ceremony
> [!CAUTION]
> **ARCHIVED / SUPERSEDED — DO NOT EXECUTE.** This May 2026 runbook predates
> the curated-forward-port security boundary. Every raw subtree/export-branch
> publication command below is invalid and retained only as historical audit
> evidence. The only authoritative OSS process is `AGENTS.md` §7.5 plus
> `packages/hive-mind-core/CONTRIBUTING.md`.
**Brief ID:** `cc-day-0-minus-1-runbook-v2` (amended 2026-05-05 sa NPM republish sekcijom posle CC PM-sync survey nalaza #1)
**Date:** 2026-05-05 (v1) + amendment 2026-05-05 (v2)
**Author:** PM
**Status:** RUNBOOK READY (Marko ratifikovao 2026-05-05 "uradi to sve")
**Status:** ARCHIVED / SUPERSEDED (was ratified under the invalidated May 2026 model)
**Stream:** Solo CC sesija (sequential, ne paralelno) — izvršiti dan pre javnog Waggle launch-a
**Wall-clock:** 75-110 min ukupno (30-45 min push gate + 15-20 min NPM republish + 15 min tag ceremony + 10-15 min verifikacija + 10 min rollback drill)
**Cost cap:** $8 hard / $5 halt / $1-3 expected (pure git + npm ops, minimal LLM)
@@ -128,6 +135,11 @@ git log --oneline origin/feature/hive-mind-monorepo-migration -3
## §2 — Push gate Faza B: 12 OSS export grana (15-20 min)
> **INVALIDATED SECTION — DO NOT RUN OR ADAPT THESE COMMANDS.** Raw
> `oss-*-export` refs have the wrong public layout and can include proprietary
> files plus interleaved `install_audit` logic. A reviewed, maintainer-curated
> forward-port from the private monorepo is required instead.
Ovo su subtree split grane koje rebrendiraju istoriju packages-a kao samostalne repo-e za hive-mind javnu distribuciju. Push redosled je bitan zbog dependency hijerarhije.
### §2.1 — Validacija subtree split aktualnosti