Implement the 10 pure path and content bodies in specs/file/operations.t27 - #4040
Merged
Merged
Conversation
- normalize: Normalizes file paths, resolves . and .. collapses repeated / - join: Joins path components with /, skipping empty parts - dirname: Returns directory name of a path - basename: Returns file name of a path - extname: Returns file extension (matches get_extension on basename) - relative: Returns relative path from base to path with error handling - resolve: Resolves path to absolute form relative to base - detect_type: Detects content type (image by extension, binary by content analysis, otherwise text) - count_lines: Counts line breaks in content - truncate: Truncates content to max length with ellipsis Fixed parsing issue in test struct literal (colon to equals) Closes #3675
Contributor
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
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.
Closes #3675
Opened from the bee branch
queen-3675, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:specs/file/operations.t27The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.