From 6deb4087d1c05ce2966ab49b31b78fc223f03396 Mon Sep 17 00:00:00 2001 From: alpha912 Date: Sun, 8 Mar 2026 00:26:43 +0000 Subject: [PATCH 1/2] chore: tighten org profile policy checks --- .github/workflows/policy-check.yml | 14 ++++++++++++++ AGENTS.md | 3 +-- CLAUDE.md | 5 ++--- scripts/check-policy.sh | 19 +++++++++++++++++++ 4 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/policy-check.yml create mode 100644 scripts/check-policy.sh diff --git a/.github/workflows/policy-check.yml b/.github/workflows/policy-check.yml new file mode 100644 index 0000000..8f5705c --- /dev/null +++ b/.github/workflows/policy-check.yml @@ -0,0 +1,14 @@ +name: Profile Policy Check + +on: + pull_request: + push: + branches: [main] + +jobs: + policy-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run profile policy checks + run: bash scripts/check-policy.sh diff --git a/AGENTS.md b/AGENTS.md index 134a457..10f55bd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ or infrastructure change. ## Backend Quick Reference - API base: `https://loop-api.urbnia.com` -- Health: `/api/health` +- Health: `/health` - Metrics: `/api/metrics` - Interest list: `/api/interest` - Interest SSE: `/api/interest/stream` @@ -135,4 +135,3 @@ only `alpha912` should merge. ## Security Never commit secrets or credentials. Keep `.env` files local only. - diff --git a/CLAUDE.md b/CLAUDE.md index 707dcd5..c626545 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,7 +14,7 @@ Keep it in sync with AGENTS.md. - Public site: `https://local-loop-io.github.io` - Backend API: `https://loop-api.urbnia.com` -- Deprecated / invalid: `api.local-loop.io` +- `api.local-loop.io` does not exist ## VPS / Traefik @@ -30,7 +30,7 @@ docker compose up -d --build ## API Endpoints -- `/api/health` +- `/health` - `/api/metrics` - `/api/interest` - `/api/interest/stream` (SSE) @@ -60,4 +60,3 @@ Update `DOMAIN-POLICY.md` and domain check scripts if domains change. ## Claims Policy No public pilots or deployments. Keep all outward messaging “lab demo only.” - diff --git a/scripts/check-policy.sh b/scripts/check-policy.sh new file mode 100644 index 0000000..9e0b2f4 --- /dev/null +++ b/scripts/check-policy.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" +cd "$ROOT_DIR" + +fail=0 + +if rg -n "/api/health" AGENTS.md CLAUDE.md README.md profile/README.md; then + echo "Found stale /api/health reference; use /health." >&2 + fail=1 +fi + +if rg -n "api\\.local-loop\\.io" AGENTS.md CLAUDE.md README.md profile/README.md | rg -vi "not.*exist|does not exist"; then + echo "Found non-canonical api.local-loop.io wording." >&2 + fail=1 +fi + +exit "$fail" From 2293a9b40530bb0ed558e3387acf93c596299192 Mon Sep 17 00:00:00 2001 From: alpha912 Date: Sun, 8 Mar 2026 09:47:25 +0000 Subject: [PATCH 2/2] chore: rebrand to localLOOP, update context to v0.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename "LocalLoop" → "localLOOP" across all files - Update JSON-LD context to prefer v0.2.0 (v0.1.1 still valid) - Update API path references to /api/v1/ - Update contact to alphin@mycel-ai.de / Mycel UG Co-Authored-By: Claude Opus 4.6 --- AGENTS.md | 11 ++++++----- CLAUDE.md | 10 ++++++---- CODE_OF_CONDUCT.md | 2 +- README.md | 10 +++++----- profile/README.md | 12 ++++++------ 5 files changed, 24 insertions(+), 21 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 10f55bd..d0e3cd8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ -# LocalLoop Org Agent Guide +# localLOOP Org Agent Guide -This file documents the current LocalLoop multi‑repo organization, live domains, +This file documents the current localLOOP multi‑repo organization, live domains, VPS context, and operational runbooks. Keep it updated whenever domains, repos, or infrastructure change. @@ -41,7 +41,7 @@ or infrastructure change. - Metrics: `/api/metrics` - Interest list: `/api/interest` - Interest SSE: `/api/interest/stream` -- Loop SSE: `/api/loop/stream` +- Loop SSE: `/api/v1/stream` - Auth status: `/api/auth/status` - Swagger docs: `/docs` @@ -58,9 +58,10 @@ See `.env.example` and `.env.docker.example`. Highlights: ## Protocol Contexts (JSON‑LD) -- Primary JSON‑LD context: +- Preferred JSON‑LD context: + `https://local-loop-io.github.io/projects/loop-protocol/contexts/loop-v0.2.0.jsonld` +- The v0.1.1 context remains valid for backward compatibility: `https://local-loop-io.github.io/projects/loop-protocol/contexts/loop-v0.1.1.jsonld` -- All `@context` references should point to this file (no `/v1` or `/v0.1.1` aliases). ## CI / Domain Consistency diff --git a/CLAUDE.md b/CLAUDE.md index c626545..0e7c73b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,4 +1,4 @@ -# LocalLoop Org Context (for AI agents) +# localLOOP Org Context (for AI agents) Use this file as a quick, canonical reference for repos, domains, and ops. Keep it in sync with AGENTS.md. @@ -34,15 +34,17 @@ docker compose up -d --build - `/api/metrics` - `/api/interest` - `/api/interest/stream` (SSE) -- `/api/loop/stream` (SSE) +- `/api/v1/stream` (SSE) - `/api/auth/status` - `/docs` (Swagger) ## JSON‑LD Context -All `@context` values must resolve to: +Preferred `@context` value: -`https://local-loop-io.github.io/projects/loop-protocol/contexts/loop-v0.1.1.jsonld` +`https://local-loop-io.github.io/projects/loop-protocol/contexts/loop-v0.2.0.jsonld` + +The v0.1.1 context remains valid for backward compatibility. ## BrowserLab diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 3b3b096..ccd11f7 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -2,4 +2,4 @@ We are committed to a welcoming, inclusive community. Please be respectful and constructive. -Report violations to: alphinctom@gmail.com (GitHub: @alpha912) +Report violations to: alphin@mycel-ai.de (GitHub: @alpha912) diff --git a/README.md b/README.md index 88702c3..3862477 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# LocalLoop Organization Profile +# localLOOP Organization Profile -This repository defines the GitHub organization profile for LocalLoop. +This repository defines the GitHub organization profile for localLOOP. See `profile/README.md` for the public landing page content. > Early-stage, low-TRL concept. No public pilots or deployments. Lab demo only. @@ -29,13 +29,13 @@ See `profile/README.md` for the public landing page content. ## How to cite If you reference this repository, please cite: -Alphin Tom. "LocalLoop Organization Profile." LocalLoop, GitHub repository, +Alphin Tom / Mycel UG (haftungsbeschränkt). "localLOOP Organization Profile." localLOOP, 2025-2026. ```bibtex @misc{localloop_org_profile_2025, - author = {Alphin Tom}, - title = {LocalLoop Organization Profile}, + author = {Alphin Tom / Mycel UG (haftungsbeschränkt)}, + title = {localLOOP Organization Profile}, year = {2025}, howpublished = {GitHub repository}, url = {https://github.com/local-loop-io/.github}, diff --git a/profile/README.md b/profile/README.md index 6387246..3a50eb1 100644 --- a/profile/README.md +++ b/profile/README.md @@ -1,6 +1,6 @@ -# LocalLoop +# localLOOP -LocalLoop is an early-stage, low-TRL concept for a federated circular economy +localLOOP is an early-stage, low-TRL concept for a federated circular economy protocol. We publish specs, schemas, and examples so cities, labs, and builders can explore the ecosystem. @@ -39,18 +39,18 @@ can explore the ecosystem. ## Contact -Alphin Tom | GitHub: @alpha912 | +Alphin Tom, Co-founder & CEO, Mycel UG (haftungsbeschränkt) | GitHub: @alpha912 | | https://mycel-ai.de ## How to cite If you reference this organization, please cite: -Alphin Tom. "LocalLoop Organization." LocalLoop, GitHub repository, +Alphin Tom / Mycel UG (haftungsbeschränkt). "localLOOP Organization." localLOOP, 2025-2026. ```bibtex @misc{localloop_org_2025, - author = {Alphin Tom}, - title = {LocalLoop Organization}, + author = {Alphin Tom / Mycel UG (haftungsbeschränkt)}, + title = {localLOOP Organization}, year = {2025}, howpublished = {GitHub repository}, url = {https://github.com/local-loop-io},