Skip to content

Make the README a landing page; move the reference to docs/ - #125

Merged
jasonnorch merged 1 commit into
mainfrom
docs/portfolio-readme
Oct 16, 2026
Merged

jasonnorch merged 1 commit into
mainfrom
docs/portfolio-readme

Conversation

@jasonnorch

@jasonnorch jasonnorch commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The README was 1,263 lines of API reference that opened into authentication details. Public repos with hosted docs keep the README as a landing page and the reference elsewhere; this does that.

New README.md (153 lines)

Badges (build, Go version, release, Go Report Card), what the service is, links to the live docs and OpenAPI document, one request with a trimmed real response, an architecture sketch mapped to packages, the engineering choices worth knowing (failures never cached, safenet, hashed keys and rotation, webhook billing, the usage drift test, sactl, docs/decisions.md), how to run it locally, how to develop it, a paragraph on AI-assisted development and the Assisted-by: trailer, a documentation map, and the all-rights-reserved notice.

Every field name in the example response was checked against internal/domain/model.go and the reference tables.

docs/

  • docs/api-reference.md: README lines 8–830 verbatim (authentication, plans, rate limits, endpoints, response fields, caching) with a short header.
  • docs/operations.md: README lines 831–1263 verbatim (configuration, database, running, make targets, deployment, Fly secrets, sactl, smoke keys, scripts, alerting, billing, testing) with a short header. Its two links into the reference now point at api-reference.md#….

The move was done with sed -n so the text is byte-identical; only the headers and the two anchors are new.

Pointers updated

  • AGENTS.md: the "keep README in sync" convention now names which docs file each kind of change touches.
  • .claude/skills/adding-features/SKILL.md: both checklists name docs/api-reference.md and docs/operations.md instead of README.
  • Changelog entry, internal.

Verification

make verify passes. Every relative link in the three files resolves to a file, and every cross-file anchor matches a heading. The Go Report Card badge will show a grade after its first visit.

The README was 1,263 lines and opened into authentication details. It
now says what the service is, shows one request and its response, maps
the architecture to packages, lists the engineering choices that are
easy to miss from outside, and points at how to run and develop it, in
about 180 lines. It also states the AI-assisted development practice
and the all-rights-reserved terms.

The reference moved verbatim: lines 8-830 (authentication through
caching) to docs/api-reference.md, lines 831-1263 (getting started
through testing) to docs/operations.md. Each got a short header and the
two cross-file anchors were repointed. AGENTS.md and the adding-features
skill now name the docs file to update instead of README.

Assisted-by: Claude Fable 5.1
@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: Security-Accelerated/intelligence-api/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 40d615a1-14c6-4c34-a198-9f94f6574a3d
📥 Commits

Reviewing files that changed from the base of the PR and between 9725145 and dc4850c.

📒 Files selected for processing: 6
  • .claude/skills/adding-features/SKILL.md
  • AGENTS.md
  • README.md
  • docs/api-reference.md
  • docs/operations.md
  • internal/handler/changelog.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jasonnorch
jasonnorch merged commit 717fd40 into main Oct 16, 2026
3 checks passed
@jasonnorch
jasonnorch deleted the docs/portfolio-readme branch October 16, 2026 21:51
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.

1 participant