Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Security fixes for undisclosed vulnerabilities: coordinate via dev@mycel-ai.de f

## Checklist

- [ ] `bash scripts/ci-local.sh` (or the targets for the trees touched) passes locally. GitHub Actions is disabled, so this is the gate.
- [ ] `bash scripts/ci-local.sh` (or the targets for the trees touched) passes locally (the required Gate check runs the same script).
- [ ] Tests added or updated where behaviour changed. Backend tests were run against a scratch database (for example `localloop_test`), **never** the default `.env`.
- [ ] If `protocol/` changed: the site mirror was re-synced (`bash apps/site/scripts/aggregate-docs.sh`), schemas were synced to the backend (`bun run sync:schemas`) where relevant, `bun run check:conformance` passes, and `git status --short` shows no unexpected deletions.
- [ ] `CHANGELOG.md` `## [Unreleased]` updated in each affected tree (or not user-visible).
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install backend dependencies
run: bun install --frozen-lockfile
working-directory: apps/backend
working-directory: apps/backend
- name: Three-way conformance gate
run: bun run check:conformance
working-directory: apps/backend
38 changes: 38 additions & 0 deletions .github/workflows/gate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SPDX-FileCopyrightText: 2025-2026 Alphin Tom / Mycel UG (haftungsbeschränkt)
# SPDX-License-Identifier: MIT

# The one required status check for `main`. It runs on every pull request and
# push, whatever the paths, because a required check from a path-filtered
# workflow would never report on PRs that don't touch its paths. It runs the
# same gate as `scripts/ci-local.sh`; the per-tree workflows add the heavier
# DB-backed backend tests and the Playwright suite.
name: Gate

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
group: gate-${{ github.ref }}
cancel-in-progress: true

jobs:
gate:
name: gate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: '24'
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.3
- name: Install REUSE
run: pipx install reuse
- name: scripts/ci-local.sh
run: bash scripts/ci-local.sh
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ use the date the change landed on `main`.

## 2026-10-15

### Changed
- The repository is public: https://github.com/MycelAI/LocalLOOP. Before
the switch the full history was scanned (gitleaks, plus a check that no
production secret value appears in any blob); the only hits were test
fixtures. Contributor docs, the licence notice, the site (footer, API page,
contribute page, `llms.txt`, `SoftwareSourceCode` structured data, site
0.12.0) and every `package.json` point to it.
- GitHub Actions runs again (free for public repositories). A new
always-running `Gate` workflow runs `scripts/ci-local.sh` on every pull
request and push and is the required check for `main`, which is now
protected (pull requests only, linear history, no force pushes or
deletion). `conformance.yml` had a duplicated `working-directory` key that
made GitHub reject the whole workflow; fixed.
- Secret scanning with push protection, Dependabot alerts and security
updates, and private vulnerability reporting are on.
- The archived `local-loop-io` repositories and organization profile now
point to this repository.

### Changed
- Site performance, SEO and GEO (site 0.11.0): Lighthouse 100 for
accessibility, best practices and SEO, and desktop performance 99-100
Expand Down
7 changes: 4 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Project Overview
localLOOP is a monorepo (`MycelAI/LocalLOOP`, private) containing LOOP (spec + schemas), a public documentation hub, and a lab-only backend API that powers an interest registry and minimal interop demo flows. The project is early-stage (low TRL) with **no public pilots or deployments**.
localLOOP is a public monorepo (`MycelAI/LocalLOOP`, https://github.com/MycelAI/LocalLOOP) containing LOOP (spec + schemas), a public documentation hub, and a lab-only backend API that powers an interest registry and minimal interop demo flows. The project is early-stage (low TRL) with **no public pilots or deployments**.

Home: **https://loop.urbnia.com** (site) with the API same-origin under **https://loop.urbnia.com/api/**. It was consolidated on 2026-10-14 from the former `local-loop-io/*` GitHub repos (now archived) with full history; former tags are prefixed (`backend/v0.6.4`, `site/v0.6.0`, `protocol/v0.5.2`, `org-profile/…`).

Expand Down Expand Up @@ -143,7 +143,7 @@ Authoritative list: `apps/backend/README.md` and `apps/backend/docs/SPEC-COMPLIA
- JSON-LD context (v0.1.1, still valid): `https://loop.urbnia.com/projects/loop-protocol/contexts/loop-v0.1.1.jsonld`
- Historical lab records in production (payloads registered before 2026-10-14) keep the old context IRIs: they are covered by append-only evidence hashes and must not be rewritten.
- `local-loop-io.github.io` and `api.local-loop.io` do **not** exist (do not reference).
- Public pages may still link to the archived (read-only, public) `github.com/local-loop-io/*` repos; this monorepo is private.
- Source links point to `https://github.com/MycelAI/LocalLOOP` (public since 2026-10-15). The archived `github.com/local-loop-io/*` repos are read-only; link to them only for history (their READMEs and the org profile point here).

## Cross-tree sync rules
- Any change under `protocol/{schemas,contexts,docs,examples,rfcs}`, `openapi.json` or `SPECIFICATION.md` must be followed by `bash apps/site/scripts/aggregate-docs.sh` (and `bun run sync:schemas` in `apps/backend` for schemas). Then `git status --short` — scan for unexpected `D` lines before committing.
Expand Down Expand Up @@ -171,7 +171,8 @@ Authoritative list: `apps/backend/README.md` and `apps/backend/docs/SPEC-COMPLIA
- Backend: Bun tests for routes, SSE, queue, auth toggles; conformance gate
- Site: Node smoke tests + Playwright E2E
- Protocol: AJV schema validation + profile conformance vectors
- CI: root `.github/workflows/*.yml`, path-filtered per tree. **GitHub Actions is disabled on this repo** (MycelAI org billing blocks private-repo runners, same as OmniScript, since 2026-10-14) — `scripts/ci-local.sh` is the gate; run it before every push. Re-enable with `gh api -X PUT repos/MycelAI/LocalLOOP/actions/permissions -F enabled=true` once billing is fixed.
- CI: GitHub Actions runs again since the repo went public (2026-10-15; free for public repos). `gate.yml` runs `scripts/ci-local.sh` on every PR and push and is the only required status check on `main` (path-filtered checks can't be required: they never report on PRs outside their paths). The per-tree workflows (`backend.yml` with Postgres/Valkey services, `site.yml` with Playwright, `protocol.yml`, `conformance.yml`, `org-profile.yml`) run on their paths. Still run `scripts/ci-local.sh` before pushing.
- `main` is protected: changes land through a PR whose `gate` check passes (linear history, no force pushes or deletion; applies to admins too). Merge with `gh pr merge <n> --rebase --delete-branch`, then tag the merged commit.

## Known Issues & Technical Debt (Top)
- Protocol §8 endpoint implementation status: `apps/backend/docs/SPEC-COMPLIANCE.md`.
Expand Down
19 changes: 12 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ Security problems go to [SECURITY.md](SECURITY.md), never to a public issue.

## Who can contribute

This repository (`MycelAI/LocalLOOP`) is private, and contributions are by
invitation. The former public repositories under `github.com/local-loop-io/`
are archived and read-only. If you don't have access and want to propose
something, report a problem or ask a question, email **dev@mycel-ai.de**
(see [SUPPORT.md](SUPPORT.md)).
Anyone can contribute to this repository
(`https://github.com/MycelAI/LocalLOOP`): open an issue with one of the issue
forms, or fork the repository and open a pull request against `main`. For
anything larger than a small fix, open an issue first so we can agree on the
approach. The former repositories under `github.com/local-loop-io/` are
archived and read-only. You can also email **dev@mycel-ai.de** (see
[SUPPORT.md](SUPPORT.md)).

## Repository layout

Expand Down Expand Up @@ -46,8 +48,11 @@ Tree-specific notes live in each tree's `CONTRIBUTING.md`:

## Running the checks

GitHub Actions is disabled on this repository, so **`scripts/ci-local.sh` is
the gate. Run it before every push.**
Every pull request runs the **Gate** workflow (`scripts/ci-local.sh` on
GitHub's runners), which must pass before `main` accepts the change, plus the
per-tree workflows for the paths you touched (DB-backed backend tests, the
site build with Playwright, protocol conformance). Run the same gate locally
before you push:

```bash
bash scripts/ci-local.sh # all targets
Expand Down
7 changes: 4 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ protocol/LICENSE, ops/org-profile/LICENSE) restate the terms for each tree so
that a tree remains correctly licensed when it is copied or shipped on its
own.

This repository is private. Access to it does not by itself grant any rights
beyond the licences stated above, and planned future releases grant no
rights until they are published.
This repository is public. Being able to read or clone it does not by itself
grant any rights beyond the licences stated above: in particular, files under
LicenseRef-Mycel-Brand or LicenseRef-Mycel-Proprietary may be viewed but not
reused.

-------------------------------------------------------------------------------

Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This monorepo holds the LOOP specification and schemas, the public documentation
[![Spec v0.2.0](https://img.shields.io/badge/spec-v0.2.0-0d9488)](protocol/SPECIFICATION.md)
[![protocol 0.6.0](https://img.shields.io/badge/protocol-0.6.0-475569)](protocol/CHANGELOG.md)
[![backend 0.10.0](https://img.shields.io/badge/backend-0.10.0-475569)](apps/backend/CHANGELOG.md)
[![site 0.11.2](https://img.shields.io/badge/site-0.11.2-475569)](apps/site/CHANGELOG.md)
[![site 0.12.0](https://img.shields.io/badge/site-0.12.0-475569)](apps/site/CHANGELOG.md)
[![Licences: MIT, CC BY-SA 4.0](https://img.shields.io/badge/licences-MIT%20%C2%B7%20CC%20BY--SA%204.0-1d4ed8)](#licensing)

[**Live site**](https://loop.urbnia.com) ·
Expand Down Expand Up @@ -140,7 +140,7 @@ ops/
org-profile/ Source of the local-loop-io GitHub org profile (historical)
docs/assets/ README artwork: banner, architecture diagrams, screenshots
scripts/ Monorepo-wide tooling (ci-local.sh, check-links.mjs)
.github/ CI workflows (path-filtered per tree; Actions currently disabled), Dependabot, CODEOWNERS
.github/ CI workflows (Gate on every PR, plus path-filtered per-tree workflows), Dependabot, CODEOWNERS
```

Each tree keeps its own toolchain and lockfile; there is no root package
Expand Down Expand Up @@ -255,9 +255,9 @@ bun run lab:demo # migrate, seed and simulate the lab flow
| `protocol` | `npm ci` | `npm run test` |
| repository | none | `node scripts/check-links.mjs` (relative links and anchors in all Markdown) |

`scripts/ci-local.sh` runs the fast checks for every tree. GitHub Actions is
currently disabled for this repository (organisation billing), so run it
before pushing.
`scripts/ci-local.sh` runs the fast checks for every tree. The required
**Gate** workflow runs it on every pull request; run it locally before
pushing.

## Examples

Expand Down Expand Up @@ -366,10 +366,9 @@ secrets live in the git-ignored `apps/backend/.env` / `.env.docker`; data in
the API is tracked in
[`apps/backend/docs/SPEC-COMPLIANCE.md`](apps/backend/docs/SPEC-COMPLIANCE.md).
Node-to-node signatures are checked for presence and freshness only.
- **Private monorepo.** This repository is private; the archived
`github.com/local-loop-io/*` repositories are public but read-only.
- **No hosted CI.** GitHub Actions is disabled (organisation billing);
`scripts/ci-local.sh` is the gate.
- **One public monorepo.** This repository replaces the former
`github.com/local-loop-io/*` repositories, which are archived and
read-only (their history is included here).
- **Operations.** Nightly database dumps stay on the host (nothing is copied
off-host yet) and a periodic restore drill is still an open follow-up. The
pilot-readiness claim in
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Older versions do not receive fixes.
| Tree | Supported | Not supported |
| --- | --- | --- |
| Backend (`apps/backend`) | 0.10.0 (latest) | < 0.10.0 |
| Site (`apps/site`) | 0.11.2 (latest) | < 0.11.2 |
| Site (`apps/site`) | 0.12.0 (latest) | < 0.12.0 |
| Protocol (`protocol`) | 0.6.0 (latest) | < 0.6.0 |
| Archived `github.com/local-loop-io/*` repositories | none (read-only) | all |

Expand Down
7 changes: 4 additions & 3 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ GitHub Discussions forum.

| You want to... | Go to |
| --- | --- |
| Ask a question or propose something without repository access | Email **dev@mycel-ai.de** |
| Report a bug, request a change or flag a docs problem (with repository access) | Open an issue using one of the [issue forms](.github/ISSUE_TEMPLATE/) |
| Report a bug, request a change or flag a docs problem | Open an issue on [MycelAI/LocalLOOP](https://github.com/MycelAI/LocalLOOP/issues/new/choose) using one of the [issue forms](.github/ISSUE_TEMPLATE/) |
| Ask a question or propose something privately | Email **dev@mycel-ai.de** |
| Propose a protocol change | Follow the RFC process in [CONTRIBUTING.md](CONTRIBUTING.md#protocol-changes-and-rfcs) |
| Report a security vulnerability | Email **dev@mycel-ai.de** privately, as described in [SECURITY.md](SECURITY.md). Never use a public issue. |
| Report a Code of Conduct concern | Email **dev@mycel-ai.de**, as described in [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md#reporting-an-issue) |

Public documentation lives at https://loop.urbnia.com. The former
`github.com/local-loop-io/*` repositories are archived and read-only, so
issues can no longer be opened there.
issues can no longer be opened there; use
[MycelAI/LocalLOOP](https://github.com/MycelAI/LocalLOOP) instead.
5 changes: 5 additions & 0 deletions apps/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- `package.json` records `repository` (the public
https://github.com/MycelAI/LocalLOOP, directory `apps/backend`), `homepage`
and `bugs`.

## [0.10.0] - 2026-10-15

### Security
Expand Down
9 changes: 9 additions & 0 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
"description": "Backend API for localLOOP expression-of-interest submissions",
"author": "Mycel UG (haftungsbeschränkt) <dev@mycel-ai.de>",
"license": "MIT",
"homepage": "https://loop.urbnia.com",
"repository": {
"type": "git",
"url": "git+https://github.com/MycelAI/LocalLOOP.git",
"directory": "apps/backend"
},
"bugs": {
"url": "https://github.com/MycelAI/LocalLOOP/issues"
},
"type": "module",
"engines": {
"node": ">=24.19.0"
Expand Down
19 changes: 18 additions & 1 deletion apps/site/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.12.0] - 2026-10-15

### Added
- The contribute page links to the public repository
(https://github.com/MycelAI/LocalLOOP) with "Open an issue" and "View the
repository" actions; site-wide structured data adds a `SoftwareSourceCode`
entity with `codeRepository`, and the publisher links its GitHub
organization (`sameAs`); `llms.txt` lists the source repository.

### Changed
- The footer's GitHub link and the API page's compliance-matrix link point to
MycelAI/LocalLOOP (the latter to the current
`apps/backend/docs/SPEC-COMPLIANCE.md` instead of the archived v0.6.4 copy).
The published licence notice says the repository is public. A smoke test
fails if a page links to the archived `local-loop-io` organization.

## [0.11.2] - 2026-10-15

### Fixed
Expand Down Expand Up @@ -794,7 +810,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

[Unreleased]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.11.2...HEAD
[Unreleased]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.12.0...HEAD
[0.12.0]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.11.2...site/v0.12.0
[0.11.2]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.11.1...site/v0.11.2
[0.11.1]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.11.0...site/v0.11.1
[0.11.0]: https://github.com/MycelAI/LocalLOOP/compare/site/v0.10.0...site/v0.11.0
Expand Down
7 changes: 7 additions & 0 deletions apps/site/app/(engage)/contribute/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ export default function ContributePage() {
Contributions are welcome across specs, schemas, docs, and tooling.
This project is early-stage, so feedback is especially valuable.
</p>
<p>
Everything is developed in the open in one repository,{' '}
<a href="https://github.com/MycelAI/LocalLOOP">MycelAI/LocalLOOP</a>: the protocol,
this site and the lab API. Open an issue or a pull request there.
</p>
<div className="cta-row">
<a className="button primary" href="https://github.com/MycelAI/LocalLOOP/issues/new/choose">Open an issue</a>
<a className="button secondary" href="https://github.com/MycelAI/LocalLOOP">View the repository</a>
<a className="button secondary" href="/projects/">Project hub</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/site/app/components/SiteFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function SiteFooter() {
<a href="/docs/dpia-lite/">Privacy &amp; data handling</a>
<a href="mailto:dev@mycel-ai.de">Contact</a>
<a
href="https://github.com/local-loop-io"
href="https://github.com/MycelAI/LocalLOOP"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
15 changes: 15 additions & 0 deletions apps/site/app/config/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ const ORGANIZATION = {
width: 512,
height: 512,
},
sameAs: ['https://github.com/MycelAI'],
};

export const REPOSITORY_URL = 'https://github.com/MycelAI/LocalLOOP';

// Site-wide structured data: the publisher and the site itself, linked by @id
// so search engines and AI answer engines attribute every page consistently.
export function websiteJsonLd() {
Expand All @@ -77,6 +80,18 @@ export function websiteJsonLd() {
inLanguage: 'en',
publisher: { '@id': `${SITE_URL}/#organization` },
},
{
'@type': 'SoftwareSourceCode',
'@id': `${SITE_URL}/#source`,
name: 'localLOOP',
description:
'Monorepo with the LOOP protocol (specification, JSON Schemas, JSON-LD contexts), this documentation site and the lab API. Lab demo only.',
codeRepository: REPOSITORY_URL,
license: 'https://spdx.org/licenses/MIT.html',
programmingLanguage: ['JavaScript', 'TypeScript'],
author: { '@id': `${SITE_URL}/#organization` },
isPartOf: { '@id': `${SITE_URL}/#website` },
},
],
};
}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/app/docs/api/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function ApiDocsPage() {
federation registry). The backend's compliance matrix records the status of each.
</p>
<div className="table-list">
<div><span>Compliance matrix</span><div><a href="https://github.com/local-loop-io/localloop-backend/blob/v0.6.4/docs/SPEC-COMPLIANCE.md" target="_blank" rel="noopener noreferrer">docs/SPEC-COMPLIANCE.md</a> (archived v0.6.4 snapshot)</div></div>
<div><span>Compliance matrix</span><div><a href="https://github.com/MycelAI/LocalLOOP/blob/main/apps/backend/docs/SPEC-COMPLIANCE.md" target="_blank" rel="noopener noreferrer">apps/backend/docs/SPEC-COMPLIANCE.md</a></div></div>
<div><span>Node metadata</span><div><code>GET /api/v1/node/info</code></div></div>
<div><span>Material status</span><div><code>POST /api/v1/material-status</code></div></div>
<div><span>Lab relay</span><div><code>POST /api/v1/relay</code> for supported lab event families</div></div>
Expand Down
Loading
Loading