This repository was archived by the owner on Dec 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Audit CLI Bugfixes and Enhancements #106
Merged
Merged
Conversation
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
cbullinger
approved these changes
Dec 9, 2025
Comment on lines
+427
to
+428
| - `•` (filled bullet) - First occurrence of a file | ||
| - `◦` (hollow bullet) - Subsequent occurrences (duplicates) |
Collaborator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nifty
audit-cli/docs/PROCEDURE_PARSING.md
Outdated
| - Detects each ordered list within a step as a separate sub-procedure | ||
| - Determines list type from the first item (`1.` → numbered, `a.` → lettered) | ||
| - Stores each sub-procedure with its list type | ||
| - Maintains `SubSteps` as a flattened list for backward compatibility |
Collaborator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need backward compat?
Collaborator
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bah, no, that was a Claude detail. I've removed SubSteps and cleaned up all related instances. Good catch - thank you!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Audit CLI: Enhancements and Bug Fixes
This PR includes a collection of improvements and bug fixes for the audit-cli tool, focusing on better usability, enhanced procedure parsing, and improved output clarity.
🎯 Key Features
1. Sub-Procedure Tracking with List Type Detection
1., 2., 3.vs. lettereda., b., c.)SubProceduretype withListTypefield to preserve original formatting--show-sub-proceduresflag to display detailed sub-procedure information--show-stepsflag to display detailed step informationExample output:
2. Recursive Code Example Extraction
--preserve-dirsflag to maintain directory structure when extracting code examples recursively3. Enhanced Usage Analysis
.yamlstep files and extract files4. Improved Include Tracking
🐛 Bug Fixes
Procedure Parsing
#.) handling for both numbered and lettered listsFile Comparison
--product-pathflag fromcompare file-contentscommand🏗️ Refactoring
Internal Package Reorganization
internal/pathresolvertointernal/projectinfoto better reflect its broader scopeVerbose Output Enhancement
--verboseflag actually useful by adding meaningful output:[DRY RUN]indicators when appropriate📚 Documentation
PROCEDURE_PARSING.mdwith comprehensive documentation on:🧪 Testing
--preserve-dirs