Skip to content

SOW-0153: Go stability guide links to the install guide; Rust writer-state APIs named - #22

Open
ktsaou wants to merge 26 commits into
sow-0122/journalctl-perffrom
sow-0153/docs-clarity
Open

ktsaou wants to merge 26 commits into
sow-0122/journalctl-perffrom
sow-0153/docs-clarity

Conversation

@ktsaou

@ktsaou ktsaou commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Stacked on #21. Completes SOW-0153 (.agents/sow/done/SOW-0153-20261007-consumer-docs-release-clarity.md).

Decisions for review

  • Agent-chosen, pending your review: decision 1A. go/API.md no longer names a version (it said go/v0.3.0); it links to go/README.md, the one guide that carries the install command and is checked by the release script.

Changes

  • docs/Writer-APIs.md and docs/Indexed-Snapshots.md name Rust JournalError::WriterPoisoned, JournalWriter::is_poisoned() and Log::is_poisoned() beside Go ErrWriterFailed.
  • Docs only; no code or example changes.

Validation

  • check_wiki_docs.py: OK.
  • git diff --check: clean.
  • Same-failure search for other stale go/v0.x claims: none in active docs.

Summary by cubic

Completes SOW-0153: the Go stability guide no longer names a stale go/v0.3.0 tag, linking to go/README.md for the current release instead, and the writer docs now name the Rust writer-state APIs beside the Go equivalents.

  • go/API.md links to go/README.md, which carries the install command and is checked by the release script.
  • docs/Writer-APIs.md and docs/Indexed-Snapshots.md describe Rust poisoning: the failing call returns its own error, later mutations return JournalError::WriterPoisoned (wrapped as WriterError::Journal by Log), and JournalWriter::is_poisoned() / Log::is_poisoned() report the state.
  • SOW-0153 is marked completed in both SOW status ledgers, with the decision approval and validation recorded; ledger entries lost in the stack merge were restored.
  • Docs only; no code or example changes. check_wiki_docs.py and the docs example run pass, no stale go/v0.x claims remain, and the branch is merged with sow-0122/journalctl-perf.

Written for commit 32585cd. Summary will update on new commits.

View guided diff Turn on auto-fix

… APIs

go/API.md named a stale go/v0.3.0 tag; it now links to go/README.md. The
writer docs name JournalError::WriterPoisoned and is_poisoned() beside Go's
ErrWriterFailed.
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3becc630-2ccd-42e7-8d7e-0f237f7cf4d4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

✅ No blocking issues noticed

No blocking findings were identified. The main remaining risk is that the documentation requirements are not covered by automated validation in this change, so regressions in links, API naming, or stale version references could go undetected.

Test suggestions

  • Verify the Go API guide links to the README and does not contain a fixed release tag.
  • Verify Writer-APIs documents JournalError::WriterPoisoned, JournalWriter::is_poisoned(), and Log::is_poisoned().
  • Verify Indexed-Snapshots uses the explicit Rust poisoning error and state-query API names.
  • Run an automated scan ensuring no stale go/v0.x claims remain in active documentation.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the Go API guide links to the README and does not contain a fixed release tag.
2. Verify Writer-APIs documents JournalError::WriterPoisoned, JournalWriter::is_poisoned(), and Log::is_poisoned().
3. Verify Indexed-Snapshots uses the explicit Rust poisoning error and state-query API names.
4. Run an automated scan ensuring no stale go/v0.x claims remain in active documentation.
Low confidence findings
  • Please add or retain automated documentation checks for the updated links, API names, and stale-version references so these requirements remain protected from regression.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files

Architecture diagram
sequenceDiagram
    participant GoAPI as go/API.md
    participant GoReadme as go/README.md
    participant WritersDoc as docs/Writer-APIs.md
    participant SnapshotsDoc as docs/Indexed-Snapshots.md
    participant WriterRust as Rust Writer (journal-core)
    participant LogRust as Rust Log (journal-log-writer)
    participant ReleaseScript as tests/release/release.py
    participant StatusLedger as SOW Status Ledgers

    Note over GoAPI,ReleaseScript: Documentation-Runtime Interaction Flow
    
    GoAPI->>GoAPI: State tag form "go/vX.Y.Z"
    GoAPI->>GoReadme: Link to current release and install command
    GoReadme-->>GoAPI: Version reference (authoritative source)
    ReleaseScript->>GoReadme: Check install command for release consistency
    
    WritersDoc->>WriterRust: Refer to journal writer state APIs
    WriterRust-->>WritersDoc: JournalError::WriterPoisoned, is_poisoned()
    
    SnapshotsDoc->>WriterRust: Refer to writer failure state
    WriterRust-->>SnapshotsDoc: JournalError::WriterPoisoned
    SnapshotsDoc->>LogRust: Refer to log writer state APIs
    LogRust-->>SnapshotsDoc: Log::is_poisoned() reports state
    
    WritersDoc->>SnapshotsDoc: Cross-reference for lifecycle details
    
    WritersDoc-->>WritersDoc: Document mutation rejection behavior
    SnapshotsDoc-->>SnapshotsDoc: Clarify post-failure writer state
    
    StatusLedger->>StatusLedger: Record SOW-0153 completion
    
    alt Documentation verification
        StatusLedger->>GoAPI: Validate no stale version claims
        GoAPI-->>StatusLedger: Confirmed go/v0.x references removed
    end
Loading

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/Indexed-Snapshots.md Resolved
Comment thread docs/Writer-APIs.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

This branch has not been deployed

No deployments
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