Skip to content

docs: baseline open-source hygiene (CONTRIBUTING, SECURITY, templates, English README)#29

Merged
LLM-X-Factorer merged 1 commit into
mainfrom
docs/open-source-readiness
Apr 21, 2026
Merged

docs: baseline open-source hygiene (CONTRIBUTING, SECURITY, templates, English README)#29
LLM-X-Factorer merged 1 commit into
mainfrom
docs/open-source-readiness

Conversation

@LLM-X-Factorer

Copy link
Copy Markdown
Owner

Why

Audit for open-source readiness flagged the standard contributor-facing files as missing. Repo already had the fundamentals (LICENSE, .env.example, Dockerfile, CI, CLAUDE.md), but:

  • Non-Chinese readers bounced off the title without a native-language README.
  • New contributors had no CONTRIBUTING.md documenting the three CI checks, the core-doesn't-import-plugins red line, or the commit/PR conventions — leaving them to reverse-engineer intent from git history.
  • No security-reporting channel; a public issue for an API-key leak would be the worst place to land one.
  • INITIAL_PROMPT.md at repo root is a v0 kickoff doc long-diverged from current code, actively misleading as "what the project is now."

What changed

  • CONTRIBUTING.md — install + three CI checks (`lint` / `typecheck` / `format:check`), architecture red lines, plugin-authoring template, commit/PR conventions (including the `Closes [ux] Progress log does not auto-scroll to bottom #1 [ux] Show relative path + copy/download action instead of absolute file path #2` multi-close gotcha we hit earlier today).
  • SECURITY.md — private advisory via GitHub Security tab, in-scope (SSRF through image fetching, prompt injection → server-side effects, credential exposure, DoS via expensive external calls), out-of-scope, and hardening notes for self-hosters.
  • .github/ISSUE_TEMPLATE/bug_report.md + feature_request.md + PULL_REQUEST_TEMPLATE.md — keep issues/PRs on format; PR template steers authors through the three CI checks and the multi-`Closes` pattern.
  • README.en.md — full English translation. `README.md` gets a cross-link at top + contributing/security pointer at bottom.
  • `INITIAL_PROMPT.md` → `docs/history/` — preserved for historical context but moved out of root.

How this was verified

  • `pnpm lint`
  • `pnpm typecheck`
  • `pnpm format:check` (prettier autofixed 3 files on first pass)
  • No behavioral changes — pure docs + templates.

Linked issues

None — proactive hygiene, not closing any tracked issue.

Notes for the reviewer

  • If you'd prefer the English README to be renamed to something else (e.g. merge into one bilingual doc) say so; I kept them split because the Chinese README has project-specific idioms that don't translate cleanly.
  • The PR template's "How this was verified" checklist is deliberately prescriptive — feel free to soften if it feels too heavy for drive-by contributions.

🤖 Generated with Claude Code

…s, English README

Repo had the fundamentals (LICENSE, .env.example, Dockerfile, CI) but was
missing the standard contributor-facing artifacts. Adds:

- CONTRIBUTING.md — install, the three CI checks, architecture red lines,
  plugin-authoring template, commit/PR conventions (incl. the multi-close
  Closes-keyword gotcha we already hit).
- SECURITY.md — private-advisory channel, in-scope vs out-of-scope, and
  hardening notes for self-hosters.
- .github/ISSUE_TEMPLATE/{bug_report,feature_request}.md and
  PULL_REQUEST_TEMPLATE.md — keep issues/PRs on-format.
- README.en.md — full English translation so non-Chinese readers aren't
  bounced at the title. README.md gets a cross-link at the top plus a
  contributing/security pointer at the bottom.

Housekeeping: moves INITIAL_PROMPT.md (v0 kickoff doc, long diverged from
current code) to docs/history/ so newcomers don't mistake it for ground truth.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@LLM-X-Factorer LLM-X-Factorer merged commit ba44404 into main Apr 21, 2026
1 check passed
@LLM-X-Factorer LLM-X-Factorer deleted the docs/open-source-readiness branch April 21, 2026 07:48
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.

[ux] Progress log does not auto-scroll to bottom

1 participant