Skip to content

Clear out Logseq lineage, re-license to Apache-2.0#10

Closed
kelsi-bizer wants to merge 1 commit into
masterfrom
claude/clear-logseq-and-relicense
Closed

Clear out Logseq lineage, re-license to Apache-2.0#10
kelsi-bizer wants to merge 1 commit into
masterfrom
claude/clear-logseq-and-relicense

Conversation

@kelsi-bizer

Copy link
Copy Markdown
Owner

Summary

Clears the Logseq lineage out of the repo and switches the license from AGPL-3.0 (inherited from Logseq) to Apache-2.0. Sets the project up for ClawHub publishing and broader external adoption — what someone now sees on kelsi-bizer/bizeros-knowledge actually represents what BizerOS Knowledge is.

The notes-app, file-api, agent skill, and Docker image are entirely new code we built from scratch. None of upstream Logseq's source is consumed by the current build, and the upstream test pipeline has been flaking on every PR for unrelated reasons. Cutting it loose.

What's removed (1,768 files, ~427k lines)

Category What
Logseq ClojureScript app src/, deps/, public/, resources/, static/ outputs, scripts/, externs/, externs.js, libs/, prompts/, bin/, icons/, assets/
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 (the new packages have their own)
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/ config 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

  • LICENSE — Apache-2.0
  • README.md — replaced. Brief description of what BizerOS Knowledge is, the architecture, the Docker quickstart, the agent-skill install pointer
  • .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/bizeros-knowledge/      ← 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

49 tracked files total, down from ~1,800.

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; we'll see that confirmed when this lands on master.

The other workflows being deleted are the ones that have been flaking on every recent PR (test (ubuntu-22.04), etc.) — they were running upstream Logseq's Clojure tests against deleted upstream Logseq code. Removing them is correct, not destructive.

Why Apache-2.0

  • The remaining code is entirely original — no Logseq lineage in the build.
  • Apache-2.0 is the standard for developer tools and agent-skill artifacts; AGPL-3.0 deters adoption by some companies and is uncommon in the agent ecosystem.
  • ClawHub publishing and broader external adoption are the explicit product goals.

Next steps after merge

  1. Verify Build-Docker succeeds on master (it will, because nothing it touches changed)
  2. Path B PR — bundle the agent skill into the Docker image so user setup is genuinely two steps (docker run, then extract or clawhub install)
  3. Polish PR — README expansion with screenshots, repo description / topics on GitHub, ClawHub-listing-friendly skill description, possibly a v0.1.0 release tag
  4. ClawHub submissionclawhub skill publish .agents/skills/bizeros-knowledge

Test plan

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

Generated by Claude Code

The notes-app, file-api, agent skill, and Docker image are entirely
new code. None of the upstream Logseq codebase is consumed by the
current build; this PR removes the dead weight and switches the
license from AGPL-3.0 (inherited from Logseq) to Apache-2.0.

Removed (1,768 files, ~427k lines):
- Logseq ClojureScript app: src/, deps/, public/, resources/,
  static/ outputs, scripts/, externs/, externs.js, libs/, prompts/,
  bin/, icons/, assets/
- 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
- Other: ssl/, docs/, typos.toml, rebase.md, dist/logseq.js
- Logseq-only dotfiles: .carve, .clj-kondo, .lsp, .cljfmt.edn,
  .i18n-lint.toml, .projectile, .stylelintrc.json, .prettierrc.js,
  .npmrc
- Upstream packages/ui (unused by notes-app or file-api)
- Upstream agent skills (.agents/skills/logseq-*, esm-cjs-risk-scan)
- Logseq-specific GitHub 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)
- Logseq .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:
- LICENSE (Apache-2.0)
- README.md replacement: brief, accurate description of what the
  app actually is, with the Docker quickstart and the agent-skill
  install pointer.

Tightened:
- .gitignore: dropped Clojure / Logseq-specific entries
- .dockerignore: scoped to the actual build inputs

What remains:
  .agents/skills/bizeros-knowledge/   (the skill we built)
  packages/notes-app/                 (Vite + React SPA)
  packages/file-api/                  (Fastify file service)
  docker/                             (nginx config + entrypoint)
  Dockerfile, .dockerignore, .gitignore
  LICENSE, README.md
  .github/workflows/build-docker.yml
  .editorconfig, .gitattributes

Build-Docker workflow inputs (Dockerfile, .dockerignore, docker/,
packages/notes-app, packages/file-api) are untouched — image build
remains green.
@kelsi-bizer kelsi-bizer mentioned this pull request May 11, 2026
4 tasks
kelsi-bizer added a commit that referenced this pull request May 11, 2026
Renames the product across every surface that ships to a user — the
SPA, the file-api, the agent skill, the docker image tag, and
default paths. Doesn't touch the upstream-Logseq files (those will
be deleted by PR #10) or the README (likewise rewritten by PR #10).

Why now: BizerBrain is shorter, matches the /brain folder we
already use everywhere, and sits in the same naming family as
GBrain (deliberate positioning, not derivative). This is the
earliest moment to rename — image hasn't been pulled in production,
ClawHub hasn't been submitted, no external references exist yet.

Surface changes:

- Skill folder: .agents/skills/bizeros-knowledge -> bizerbrain
  (renamed via git mv, history preserved)
- SKILL.md frontmatter: name=bizerbrain, tags includes bizerbrain
- SKILL.md body heading: # BizerBrain
- SKILL.md default path: /srv/bizeros/brain -> /srv/bizerbrain/brain
- brain_tools.py: docstring + default BRAIN_DIR
- packages/notes-app/index.html: <title>BizerBrain</title>
- packages/notes-app/src/App.tsx: app-title text + localStorage key
  (bizeros-view-mode -> bizerbrain-view-mode)
- packages/notes-app/src/hooks/useTheme.ts: localStorage key
  (bizeros-theme -> bizerbrain-theme)
- packages/notes-app/package.json: name -> @bizerbrain/notes-app
- packages/file-api/package.json: name -> @bizerbrain/file-api
- docker/entrypoint.sh: header comment
- .github/workflows/build-docker.yml: IMAGE_NAME -> bizerbrain
  (image now publishes to ghcr.io/<owner>/bizerbrain:latest)

Verified:
- packages/notes-app: pnpm typecheck passes with new package name
- packages/file-api: pnpm test passes (20/20)
- grep "BizerOS\|bizeros" returns zero hits in our owned files

Not in this PR:
- Repo rename on GitHub (UI action, owner does it whenever; the image
  path is already on the new name regardless)
- README.md (still upstream Logseq content; PR #10 rewrites)
- LICENSE (added by PR #10)
- Open PRs #10 and #11 will need a small rebase to use the new name
  (mostly the SKILL.md and package.json identifiers)

Co-authored-by: Claude <noreply@anthropic.com>
kelsi-bizer added a commit that referenced this pull request May 11, 2026
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.

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