Skip to content

docs: expand the catalog versioning guide#116

Merged
Reefact merged 3 commits into
mainfrom
claude/error-handling-library-review-o4lab8
Jul 14, 2026
Merged

docs: expand the catalog versioning guide#116
Reefact merged 3 commits into
mainfrom
claude/error-handling-library-review-o4lab8

Conversation

@Reefact

@Reefact Reefact commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to the catalog-versioning feature (PR #110): the guide documented fce catalog diff but not how fce catalog update behaves when the baseline is imperfect, and every step showed only the bare fce command with no hint of who runs it in a pipeline. This fills both gaps — documentation only, no code change.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Analyzer / diagnostic change
  • Tests
  • Documentation
  • Build / CI / tooling

Changes

  • New section "Baseline resilience & schema versioning": a corrupt or unreadable baseline is regenerated with a warning, while a baseline written by a newer schema is refused (upgrade the tool) rather than silently downgraded.
  • Documented the exit codes: added 130 (cancellation) to the catalog diff table and spelled out catalog update's exit codes.
  • Added a near-copy-paste CI/CD example next to each base command — keeping the plain fce command as the minimal illustration — for seeding the baseline on first run (create + commit only when missing) and accepting an intentional contract change from CI via a labelled pull request.
  • Applied to both guides: doc/CatalogVersioning.en.md and doc/CatalogVersioning.fr.md (kept in sync).

Testing

Documentation only — no code changed, so the build and test suites are unaffected and none of the boxes below were run. Verified instead: English/French structural parity (identical headings, fenced code blocks and length) and that every relative link resolves.

  • dotnet build FirstClassErrors.sln
  • dotnet test FirstClassErrors.sln
  • Analyzer tests pass (FirstClassErrors.Analyzers.UnitTests)

Documentation

  • Public API / error documentation updated
  • README / doc/ updated
  • French translation (doc/README.fr.md) updated if user-facing behavior changed
  • No documentation change required

Related issues

None — documentation follow-up to PR #110 (merged).

claude and others added 3 commits July 14, 2026 06:25
The catalog-versioning guide covered `fce catalog diff` but said nothing
about how `fce catalog update` behaves when the existing baseline is
imperfect. Document the resilience contract that ships with the commands:
a corrupt or unreadable baseline is regenerated with a warning, while a
baseline written by a newer schema is refused (upgrade the tool) rather
than silently downgraded. Add the cancellation exit code (130) to the
`catalog diff` table and spell out `catalog update`'s exit codes, in both
the English and French guides.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J12ghrzM1xiAKw4LETJDqr
Each base example showed only the bare `fce` command, leaving the reader
to guess who runs it and when. Keep the plain command as the minimal
illustration, then add a near-copy-paste CI/CD block beside it: seed the
baseline automatically on first run (create + commit only when missing),
and accept an intentional contract change from CI via a labelled pull
request that regenerates and commits the baseline onto its branch. Added
to both the English and French guides, with the same commands.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J12ghrzM1xiAKw4LETJDqr
@Reefact Reefact merged commit eb09395 into main Jul 14, 2026
12 checks passed
@Reefact Reefact deleted the claude/error-handling-library-review-o4lab8 branch July 14, 2026 07:22
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