Skip to content

Release 0.2.0: docs foundation, AGENTS.md enforcement (#14), surf suggest (#18)#25

Merged
Connorrmcd6 merged 3 commits into
mainfrom
docs-foundation
Jun 7, 2026
Merged

Release 0.2.0: docs foundation, AGENTS.md enforcement (#14), surf suggest (#18)#25
Connorrmcd6 merged 3 commits into
mainfrom
docs-foundation

Conversation

@Connorrmcd6

Copy link
Copy Markdown
Owner

Cuts 0.2.0 — a minor bump for the backward-compatible features merged since 0.1.1, plus two more issues and the documentation foundation.

Features

Docs foundation

  • docs/ tree (index + authoring-hubs / ci-integration guides + examples), CHANGELOG.md, and AGENTS.md. Generator-agnostic markdown; README left intact aside from link/version updates.

Release 0.2.0

  • Version bump + Cargo.lock; CHANGELOG [Unreleased][0.2.0] with a Changed note that an explicit --base now diff-scopes; install-snippet pins bumped to v0.2.0.

Verification

cargo fmt --check, clippy -D warnings, full test suite (63 tests, 7 new) all pass. Dogfooded: surf lint exits 0, surf check green after re-verifying the affected hubs.

🤖 Generated with Claude Code

Connorrmcd6 and others added 3 commits June 7, 2026 09:24
Establish a place for documentation to grow before it bloats the README, plus
a changelog and an agent on-ramp. Foundation only — portable generator-agnostic
markdown, no site tooling, README left intact.

- CHANGELOG.md: Keep a Changelog + SemVer; [Unreleased] captures the merged
  check-scoping / JSON / lint-granularity work; 0.1.1 and 0.1.0 reconstructed
  from git history.
- docs/index.md: documentation map mirroring the future site nav; links README
  reference sections rather than duplicating them (single source of truth).
- docs/guides/authoring-hubs.md, docs/guides/ci-integration.md, docs/examples.md:
  new gap-filling content (not in the README).
- AGENTS.md: agent on-ramp — points at hubs/ as governed context and documents
  the dogfooding loop (lint → check → verify, keep prose honest, update changelog).
- README.md / CONTRIBUTING.md: minimal pointers to the above.

surface-proposal.md and phases/ unchanged (relabeled as internal in the index).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scan filenames and the summary: line, then open the relevant hub(s) — reading
the whole directory is wasteful context.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e 0.2.0

Closes #14, closes #18. Cuts the 0.2.0 minor release for the merged
check-scoping / JSON / lint-granularity features plus these two.

#14: surf lint validates the AGENTS.md `<!-- surf:hubs -->` block — it must link
the configured hubs directory (which must exist), blocking otherwise. Opt-in
(silent without the markers). Points agents at the directory to search; never
enumerates individual hubs, which would push an agent to read everything.

#18: `surf suggest <globs>` scans source for top-level public functions no hub
anchors yet and prints a copy-pasteable starter hub. Read-only — never writes a
file or stamps a hash. Reuses surf_core::public_fns and the lint coverage notion.

0.2.0: version bump + Cargo.lock; CHANGELOG [Unreleased] -> [0.2.0] with a
Changed note that an explicit --base now diff-scopes; pinned versions in install
snippets bumped to v0.2.0; docs + dogfood hubs (cli-suggest, cli-lint) updated
and re-verified.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Connorrmcd6 Connorrmcd6 merged commit 593d250 into main Jun 7, 2026
4 checks passed
@Connorrmcd6 Connorrmcd6 deleted the docs-foundation branch June 7, 2026 07:50
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.

surf suggest: propose anchors from public symbols (lower authoring cost) AGENTS.md lint-enforced pointer block

1 participant