Repository navigation
Correct documentation that disagreed with the code - #11
Merged
Merged
Conversation
Weekly documentation cleanup. Corrects statements in the specifications, operator guides, contributor documentation and one console help article that the code contradicts, replaces the developer guide's stale copy of the crate table with a link to architecture section 7, and states in the agent instructions that the code wins when documentation and code disagree. No behavior changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
Author
|
Status from the weekly documentation cleanup run (2026-11-22), at
The cleanup job does not change dependencies and does not merge past a failing check. Once |
…-2026-11-22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # CHANGELOG.md # docs/architecture.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weekly documentation cleanup: corrects statements the code contradicts. No behavior changes; nothing under
crates/,console/src/orpackaging/scripts is touched.Each row gives the code that proves the correction (paths at
df8f9b8).Agent instructions and contributor documentation
AGENTS.mdrule 4docs/testing.md,docs/development/README.mddevelopandmain, notmainonly.github/workflows/ci.yml:3-6,scenarios.yml:9-13docs/testing.md,docs/spec/acceptance.mdconsole/playwright.config.ts:5-7,console/e2e/smoke.spec.ts:4docs/development/README.mdpackie-audit,packie-backup,packie-notify) replaced by a link to architecture §7, which already lists purpose and dependenciesls crates/,docs/architecture.md§7Configuration (
docs/spec/configuration.md,docs/operations/configuration-reference.md)max_frame_charsis 64–64,000, not 64–240crates/packie-config/src/validate/protocols.rs:70format.test_code_digitsalso has a default (2)crates/packie-config/src/protocol/instrument.rs:144-146sequenceand$.are also valid insideappend($.also in acalculatefind)crates/packie-transform/src/mapping.rs:143-145,699-703,formula.rs:98ack_required: AU class A and HL7ack_mode: nonearehanded_offcrates/packie-config/src/protocol/mod.rs:89-97crates/packie-routing/src/message/transform.rs:211-222crates/packie-config/src/secrets.rs:321ack_message_typescodes must start with a lettercrates/packie-config/src/validate/protocols.rs:279-285require_single_group; the ORM presets require one specimen type and Roche adds collection time; an ASTM preset also carriessource_settingscrates/packie-config/profiles/profiles.jsonDiagnostics, audit, backup specifications
crates/packie/src/audit.rs:64-75,crates/packie-audit/src/audit.rs:68-112,audit/maintenance.rs:68-78, testtests/audit/availability.rs:42recent_errorskeepsdiagnostics.retain_recent_errors(default 100), not a fixed 100crates/packie-routing/src/status/mod.rs:32-33,363-375operator.commandalso namesverify_config_version,test_endpoint,test_notificationcrates/packie-engine/src/handler.rs:387-405config.save_failediswarnwhen only the apply outcomes could not be savedcrates/packie-engine/src/handler.rs:88-97,525backup.undo_failediswarnfor the final state-directory synccrates/packie-backup/src/restore.rs:234-236crates/packie/src/backup.rs:225-229Channel specifications and architecture
allow_any_peercrates/packie-config/src/endpoint/tcp.rs:104-108,validate/endpoints.rs:110disconnectedalso covers the unbound sender-side listener underreceiver_then_sendercrates/packie-routing/src/bridge.rs:347-356cancelled; the field islast_error;attempts,bytes_out,last_attempt_atexistcrates/packie-diagnostics/src/snapshot/message.rs:99-163<state>/routing/paused.json, not the storecrates/packie-routing/src/registry/mod.rs:164,281-283;Store::set_pausedhas no caller outside testspackie-enginedepends onpackie-notifycrates/packie-engine/Cargo.toml:23packie-filescrates/packie-files/src/lib.rs:1,crates/packie-transport/src/folder/mod.rs:172-304,sftp/source.rs:221-224Console specification, README, manual checklist, help
console/src/app/IdleOverlay.tsx:31-44console/src/features/logs/LogsPage.tsx:27-28,143-147disconnectedshape is a dashed circleconsole/src/features/shared-operate/stateShapes.ts:82export_messagesandverify_transmissionare console operations (Export dialog, Transmission report page)console/src/features/messages/ExportDialog.tsx:58-93,console/src/app/routes.tsx:65console/src-tauri/src/state.rs:84-102MANUAL.md:config applyneeds--note; the verify title is "Chain verified: OK"crates/packie/src/main.rs:126-130,console/src/features/audit/VerifyResult.tsx:27-52console/README.md: engine lookup order includes the installed bootstrap; features do import each other; acceptance rows are in §5, §9, §10; help files are per articleconsole/src-tauri/src/endpoint.rs:3-6,122-130,console/src/features/channels/RecentMessages.tsx:11-13,docs/spec/acceptance.md:96,151,167Operator guides and packaging checklist
/Library/Logs/Positive ACK/launchd.stderr.log(install.md,VERIFY.mdM5a)crates/packie-host/src/launchd.rs:47,79,packaging/macos/bootstrap.json:10VERIFY.mdM6: nouninstall.shships with the release.github/workflows/release.yml:199-203,packaging/macos/build-pkg.sh:52-54console/src/features/dashboard/HeaderStrip.tsx:47-56console/src/features/dashboard/rank.ts:64-67,stateShapes.ts:39-42crates/packie-store/src/query.rs:376-387,crates/packie-ipc/src/messages.rs:105-106# truncated:line; totals cover the whole periodcrates/packie-ipc/src/reports.rs:19-21,231-234,crates/packie-engine/src/reports.rs:196-227crates/packie-engine/src/reports.rs:93-110message.filteredis not a log eventcrates/; not indocs/spec/diagnostics.mdAdded after review
An independent review agent tried to refute each correction. It asked for: the missing
packie-notifyrow in architecture §7 (crates/packie-notify/src/lib.rs:1-9,Cargo.toml), the same two transmission and export statements indocs/operations/compliance.md(crates/packie-ipc/src/reports.rs:20,231,crates/packie-engine/src/reports.rs:93-109), the endpointsettingsrow left as "Required" (reverted), and three statements that would otherwise disagree with the corrected ones:console/help/mapping-rules.json(same-protocol target starts as a copy,crates/packie-routing/src/message/transform.rs:210-224), acceptance E-05 verified bypackie-transporttoo (crates/packie-transport/tests/folder.rs), console spec rank 8 is every stopped channel (console/src/features/dashboard/rank.ts:64-67). It approved the pull request at7d9b6df.Changelog
console/help/connection.jsonandconsole/help/mapping-rules.jsonare in-app help, so the change is observable:changelog.d/2026-11-22-help-reconnect-timing.md(fixed, low) and the regeneratedCHANGELOG.md.Checks
npm run changelog:checkpasses locally. No Rust or TypeScript source changed; CI runs the workspace gate.No new dependencies.
🤖 Generated with Claude Code