fix: resolve BUG-202–214, add profiles, globs, and progressive disclosure - #90
Merged
Conversation
…sure Implements all 8 stages of the ISSUE.md plan: Stage 1 – Veil/unveil correctness (BUG-202–206): - Directory recursion for --mode headers - fv show displays [HEADERS VEILED] with on-disk content - remove_from_blacklist() at all 7 unveil sites - HistoryTracker for --unreachable-from - --symbol veil no longer blacklists entire file Stage 2 – Trace cleanup (BUG-207–208): - Remove redundant positional [FUNCTION] arg from fv trace - --from-entrypoint groups by entrypoint, honors --format tree Stage 3 – Progressive disclosure (BUG-214): - fv show defaults to outline; --expand, --imports, --docstrings - fv parse detailed hides imports/calls; --imports/--calls flags - fv trace depth default 3→1 - fv entrypoints code-only by default; --all for docs/config Stage 4 – Language-aware annotations (BUG-210): - Python: ... # N lines hidden (not C-style braces) Stage 5 – Disclose enhancements (BUG-212): - --show flag, multi-focus, --strict, budget truncation warning Stage 6 – Trace/filter enhancements (BUG-211): - --focus <file> for trace, --reachable-from for veil - --unreachable-from/--reachable-from for unveil - Python builtins in STD_FUNCTIONS Stage 7 – Status/context usability (BUG-209, 213): - fv status prints veiled/unveiled counts, --verbose alias - fv context --help examples Stage 8 – Profiles + globs: - fv profile save/load/list/delete - Glob patterns via glob crate
🔒 Security Report
|
Coverage Report
Per-file coverage (32 files)
|
added 2 commits
March 17, 2026 21:34
- 40 new tests covering profiles, show outline, parse flags, trace focus, veil/unveil graph flags, disclose enhancements, entrypoints filter, header strategy language formatting, glob patterns, budget dropped_tokens - Remove dead read_file_content_public wrapper (make read_file_content pub) - Export ProfileCmd from lib.rs - Add coverage review guidance to AGENTS.md: uncoverable lines are a smell for dead code or latent bugs
- Remove always-true conditions in Show outline expand/docstring loops
(LineRange guarantees start >= 1, .min(lines.len()) bounds the upper)
- Fix Python class method formatting to use `:` syntax instead of `{}`
- Deduplicate 11 entries in STD_FUNCTIONS array (map, push, pop, clone,
as_ref, write, join, enumerate, zip, filter, next were listed twice)
4 tasks
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.
Summary
fv trace, rewrite--from-entrypointwith per-entrypoint groupingfv showoutline mode,fv parsehides imports/calls, trace depth 1, entrypoints code-only... # N lines hiddenfv disclosegets--show, multi-focus,--strict, budget warning--focus <file>for trace,--reachable-fromfor veil/unveil, Python builtins in--no-stdfv statusprints counts +--verbose,fv context --helpexamplesfv profile save/load/list/delete+ glob support in veil/unveil patternsTest plan
fv trace --from fn(no positional arg)fv show file.pyshows outline by defaultfv profile save/load/list/deletefv veil '**/*.test.rs'glob pattern