Skip to content

Fix round-41 docs and tooling findings - #517

Open
owjs3901 wants to merge 1 commit into
mainfrom
fix/docs-round41
Open

owjs3901 wants to merge 1 commit into
mainfrom
fix/docs-round41

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Round-41 documentation and tooling findings (all LOW). Each was checked against the code before fixing; none was refuted.

Fixes

  • README.md (cron "How It Works", R41-MR0b-F1): the scheduler does not always tokio::spawn. The text now names the three paths: the ambient Tokio runtime, the shared host runtime for a JNI or vespera_init library, and a dedicated vespera-cron thread outside any runtime (crates/vespera/src/cron.rs).
  • .gitignore (R41-M1-01): the unanchored build/ and bin/ patterns also ignored src/bin/ (cargo bin targets) and src/build/. Added !**/src/build/ and !**/src/bin/ after them. Verified with git check-ignore -v: src/bin/x.rs and src/build/x.rs are no longer ignored; libs/vespera-bridge/build/, libs/vespera-bridge/bin/ and examples/rust-jni-demo/java/demo-app/build/ stay ignored; a temp-tree git status showed only the new source files as untracked.
  • SKILL.md, AGENTS.md (R41-MC0-L1): schema_type! emits From only when there are no relation fields, all fields are readable and no add is used (generate_type.rs:800-810). A SeaORM source with relations gets async fn from_model(model, &DatabaseConnection) (generate_type.rs:834-851). Both docs now say so in the three places the finding named.
  • AGENTS.md KEY COMPONENTS (R41-MC0-L2): every row (64 rows, including multi-file rows) now shows the exact wc -l count of its file(s). The directory rows and the splitmodules rows are unchanged.
  • scripts/release-artifacts.sh (R41-MR8-L1): the HEAD fallback is now taken only when no crate was published in the run. If crates were published but none passed verification, the script prints an error and exits 1 before any JAR or SBOM record is written; it does not bind records to HEAD. The header comment and the usage range (2,44p, one header line added) were updated to match. Other behaviour is unchanged. bash -n passes. shellcheck is not installed here, so it was not run.
  • Added .changepacks/changepack_log_docs_round41.json with all seven packages at Patch (new file; no existing changepack was touched).

Refuted

None. All five findings were confirmed against the code.

Verification

No cargo or gradle build was run (none is needed for these files). The changes were checked with git check-ignore, wc -l, bash -n, JSON parsing of the changepack, and a git status review.

🤖 Generated with Claude Code

- README: cron "How It Works" names the three scheduler paths (ambient
  Tokio runtime, shared host runtime in a JNI or vespera_init library,
  dedicated vespera-cron thread).
- .gitignore: stop ignoring src/bin and src/build (cargo targets); Gradle
  and IDE build/bin output stays ignored.
- SKILL.md, AGENTS.md: From is emitted only without relation fields; a
  SeaORM source with relations gets an async from_model.
- AGENTS.md: refresh every KEY COMPONENTS line count with wc -l.
- scripts/release-artifacts.sh: fall back to HEAD only when no crate was
  published; fail when crates were published but none could be verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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