Skip to content

Clear out Logseq lineage, re-license to Apache-2.0 (redo of #10 on top of BizerBrain rename)#13

Merged
kelsi-bizer merged 1 commit into
masterfrom
claude/clear-logseq-bizerbrain
May 11, 2026
Merged

Clear out Logseq lineage, re-license to Apache-2.0 (redo of #10 on top of BizerBrain rename)#13
kelsi-bizer merged 1 commit into
masterfrom
claude/clear-logseq-bizerbrain

Conversation

@kelsi-bizer

Copy link
Copy Markdown
Owner

Summary

Same scope as the previously-open PR #10 (closed in favor of doing this on top of the BizerBrain rename). Clears all upstream Logseq code from the repo and switches the license from AGPL-3.0 to Apache-2.0.

1,817 files changed: 276 insertions, 426,989 deletions. Final repo: 49 tracked files. Everything that ships in the image is preserved; everything that was inherited from Logseq and unused by the current build is removed.

What's removed (~1,768 files)

Category What
Logseq ClojureScript app src/, deps/, public/, resources/, static/ outputs, scripts/, externs/, externs.js, libs/, prompts/, bin/, icons/, assets/, dist/
Mobile builds android/, ios/, fastlane/, capacitor.config.ts
Clojure tests clj-e2e/, cli-e2e/
Web build tooling bb.edn, deps.edn, shadow-cljs.edn, gulpfile.js, postcss.config.js, tailwind.*, webpack.config.js
Root Logseq workspace package.json, pnpm-lock.yaml
Logseq dotfiles .carve/, .clj-kondo/, .lsp/, .cljfmt.edn, .i18n-lint.toml, .projectile, .stylelintrc.json, .prettierrc.js, .npmrc
Upstream skills .agents/skills/logseq-* (7 skills), .agents/skills/esm-cjs-risk-scan
Upstream packages/ui unused by notes-app and file-api
Upstream workflows build.yml, build-android, build-desktop-release, build-ios-release, build-plugin-docs, clj-e2e, clj-rtc-e2e, deploy-*, deps-*, update-i18n-lint, pr-labeler, stale-issues
Upstream .github/ configs FUNDING.yml, ISSUE_TEMPLATE/, PULL_REQUEST_TEMPLATE/, pr-labeler.yml, stale-issues.yml
Upstream docs AGENTS.md, CODEBASE_OVERVIEW.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, docs/, rebase.md, typos.toml
AGPL license LICENSE.md

What's added or rewritten (with BizerBrain branding)

  • LICENSE — Apache-2.0, Copyright 2026 BizerBrain contributors
  • README.md — replaced with a brief BizerBrain-branded description, architecture diagram, Docker quickstart, agent-skill install steps, and license note
  • Dockerfile — first-line comment updated from "BizerOS Knowledge" to "BizerBrain" (caught and fixed during this PR; not in the rename PR Rename product to BizerBrain #12)
  • .gitignore — dropped Clojure/Logseq-specific entries; now scoped to Node + editor/OS noise
  • .dockerignore — tightened to match the actual build inputs

What remains

.agents/skills/bizerbrain/              ← the skill we built
docker/                                 ← nginx + entrypoint
packages/notes-app/                     ← Vite + React SPA
packages/file-api/                      ← Fastify file service
.github/workflows/build-docker.yml      ← only workflow
.dockerignore  .editorconfig  .gitattributes  .gitignore
Dockerfile  LICENSE  README.md

Why it's safe

Build-Docker consumes only Dockerfile, .dockerignore, docker/, packages/notes-app/, and packages/file-api/. None of those are touched by this cleanup. The image build will remain green and will publish to ghcr.io/kelsi-bizer/bizerbrain:latest (renamed in #12).

The other workflows being deleted are the ones that have been flaking on every recent PR — they were running upstream Logseq's Clojure tests against deleted upstream Logseq code. Removing them is correct.

Verified

  • grep "BizerOS\|@bizeros/\|bizeros-knowledge\|/srv/bizeros" in our owned files returns zero hits
  • Build-Docker's input files are untouched

Test plan

  • After merge, Build-Docker workflow on master completes green
  • docker pull ghcr.io/kelsi-bizer/bizerbrain:latest pulls successfully
  • Repo on GitHub shows the new BizerBrain README on the landing page
  • LICENSE file shows as Apache-2.0 in GitHub's UI

Next

After this merges, the second redo PR (sources/wiki split + truth-timeline + MCP server, was #11) goes up as a fresh branch with BizerBrain naming throughout.


Generated by Claude Code

Same shape as the previously-open PR #10 (closed in favor of doing
this on top of the BizerBrain rename). Removes ~427k lines of
upstream Logseq code that the current build doesn't consume, and
replaces the inherited AGPL-3.0 LICENSE.md with Apache-2.0 LICENSE.

Removed (~1,768 files):
- src/, deps/, public/, resources/, scripts/, externs/, externs.js,
  libs/, prompts/, bin/, icons/, assets/, dist/
- android/, ios/, fastlane/, capacitor.config.ts
- clj-e2e/, cli-e2e/
- bb.edn, deps.edn, shadow-cljs.edn
- gulpfile.js, postcss.config.js, tailwind.*, webpack.config.js
- Root Logseq workspace: package.json, pnpm-lock.yaml
- ssl/, docs/, typos.toml, rebase.md
- Logseq dotfiles: .carve/, .clj-kondo/, .lsp/, .cljfmt.edn,
  .i18n-lint.toml, .projectile, .stylelintrc.json, .prettierrc.js,
  .npmrc
- packages/ui/ (unused by notes-app and file-api)
- Upstream agent skills (.agents/skills/logseq-*, esm-cjs-risk-scan)
- Upstream workflows: build.yml, build-android, build-desktop-release,
  build-ios-release, build-plugin-docs, clj-e2e, clj-rtc-e2e, deploy-*,
  deps-*, update-i18n-lint, pr-labeler, stale-issues
- Upstream .github configs: FUNDING.yml, ISSUE_TEMPLATE/,
  PULL_REQUEST_TEMPLATE/, pr-labeler.yml, stale-issues.yml
- Upstream docs: AGENTS.md, CODEBASE_OVERVIEW.md, CODE_OF_CONDUCT.md,
  CONTRIBUTING.md
- LICENSE.md (AGPL-3.0)

Added/rewritten with BizerBrain branding:
- LICENSE (Apache-2.0)
- README.md (brief description, docker quickstart, agent-skill install)
- Dockerfile header comment

Tightened:
- .gitignore: dropped Clojure-specific entries; scoped to Node + editor noise
- .dockerignore: scoped to actual build inputs

Result: 49 tracked files. Build-Docker inputs (Dockerfile, .dockerignore,
docker/, packages/notes-app, packages/file-api) untouched; image build
remains green.
@kelsi-bizer kelsi-bizer marked this pull request as ready for review May 11, 2026 02:40
@kelsi-bizer kelsi-bizer merged commit 92e8050 into master May 11, 2026
1 check failed
kelsi-bizer added a commit that referenced this pull request May 11, 2026
The README was written in PR #13 (cleanup), before PR #14 added
packages/mcp-server. As a result, the MCP integration path was
invisible to anyone landing on the repo, even though the server
ships in the container build context.

Changes:
- Add packages/mcp-server to the Components list.
- Rewrite the Agent integration section to cover both paths:
  - Option A: MCP server (Claude Code, Cursor, MCP-Inspector, any
    MCP-capable client). Single mcpServers JSON entry.
  - Option B: agentskills.io skill (Hermes, OpenClaw, Claude Code).
    Symlink the skill into the agent's skill directory.

Both target the same BRAIN_DIR and expose the same four tools.

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants