Repository navigation
Conversation
The owner decided sets reach records both ways and live in their own collection. A label-sets collection has the same scope and access rules as templates; steps reach records self, forward or backward and can chain. The print endpoint takes set and a starting id, reads every record as the person, refuses the whole run on any unreadable record or cross-site reference, applies the 2,000 cap across the set and writes one log entry. The design's tube example is corrected: tubes carry the manufacturer's label. Tested: 8 new tests on in-memory MongoDB with made-up data (62 total). Not tested: polymorphic backward steps, very large steps, a real kits plugin, SQL databases, a dialog for sets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Typecheck only; tests are unchanged (62 pass). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Typecheck only; tests are unchanged (62 pass). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Typecheck only; tests are unchanged (62 pass). Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # CHANGELOG.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.
Adds a label-sets collection (same scope and access rules as templates) and a set option on the print endpoint: steps reach records self, forward (relationship path) or backward (records pointing at the current one), and can chain. Every record is read as the person; an unreadable record or cross-site reference refuses the whole run; the 2,000-label cap counts the whole set; one PDF and one log entry per run. Also corrects the design: tubes carry the manufacturer's label, and our labels go on the kit bag, kit box, shipping box and lab batch (dated entry in docs/decisions.md).
Tests: 62 pass (8 new) on in-memory MongoDB with made-up data. Not tested: polymorphic backward steps, very large steps, a real kits plugin, SQL databases, a set dialog.
Captive Origins task: K6. Follows: D5009 (owner, 2026-11-16).
🤖 Generated with Claude Code