bcquality/custom/setup/machine/CLAUDE.md
Michael Dieringer 3ef2e95af6 Hardening: stable-branch som udrulningskanal - merge til main er ikke laengere deploy
Alle forbrugere laeser nu fra stable i stedet for main:
- curabis-standard.agent.md v10: BASE/AGENTS_BASE + self-heal-URL -> stable
- sync-bcquality-knowledge.ps1: $branch = stable
- machine/CLAUDE.md: auto-update gater paa stable-SHA og fetcher setup fra stable
- templates/bcquality.agent.md + al-triage.agent.md: knowledge-URLer -> stable
  (+ fix af doed reference: branch-merge-to-main-workflow.md var omdoebt til
  feature-branch-must-merge-to-track-branch.md - templaten shippede et 404)
- francis.agent.md + Invoke-CurabisEvidence.ps1: raw-base -> stable
- CONSUMPTION.md: Release channel-sektion med promote-procedure og rationale

Deploy sker herefter kun ved bevidst fast-forward af stable (kun Michael).
Kanal oprettet: stable @ 57b8292, tag v1.0.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 00:02:44 +02:00

1.6 KiB

CURABIS — Global Claude Code Instructions

These instructions apply to every Claude Code session, regardless of project.

Auto-update BCQuality (runs at every session start)

If the current project has .github/.agents/bcquality.agent.md:

  1. Fetch the latest commit SHA for custom/setup/ in BCQuality: https://api.github.com/repos/Curabis/BCQuality/commits?path=custom/setup&sha=stable&per_page=1
  2. Read stored SHA from ~/.claude/.bcquality-version (may not exist yet)
  3. If SHA is different (or file missing): a. Fetch and execute Mode B from: https://raw.githubusercontent.com/Curabis/BCQuality/stable/custom/setup/curabis-standard.agent.md b. Write new SHA to ~/.claude/.bcquality-version c. Report: "BCQuality opdateret til [short-sha] — [antal] filer tjekket"
  4. If SHA is unchanged: continue silently

Do this silently and quickly — do not ask for permission, do not explain the process unless something actually changed.

CURABIS Standard project setup

When the user says either of these commands, fetch and follow the setup agent:

https://raw.githubusercontent.com/Curabis/BCQuality/stable/custom/setup/curabis-standard.agent.md
  • "Konfigurer dette projekt til CURABIS Standard" → fuld setup af nyt repo
  • "Opdater CURABIS Standard fra BCQuality" → manuel opdatering

Identity

  • Organization: CURABIS ApS
  • BC MCP bridge is installed at ~/.claude/bc-mcp-bridge.js
  • BC MCP credentials are at ~/.bc-mcp.config.json (never commit this file)
  • User: [Your Name] (username: [your-username])