V0.4.2/git story housekeeping#14
Conversation
Greptile SummaryThis PR refactors Confidence Score: 5/5This PR is safe to merge — it is a clean, well-contained architecture simplification with no introduced bugs. All removed code paths (Repomix, web API, npx) are fully excised with no dangling references. The new git ls-files -z approach is standard, and the path-traversal guard in ResolveRepositoryPath is sound. The System.Text.Json import is still legitimately used. Documentation, eval contracts, and metadata are all updated consistently. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Agent invokes git-story-teller] --> B[story.cs: shallow git clone]
B --> C[GetTrackedFilesAsync\ngit ls-files -z]
C --> D[ResolveRepositoryPath\npath-traversal guard]
D --> E[Apply include patterns\nShouldIncludeFile]
E --> F[Skip generated dirs\nIsUnderSkippedDirectory]
F --> G[Skip low-signal files\nShouldSkipLowSignalFile]
G --> H[Text-file filter\nIsTextFile]
H --> I[Build XML repository-context\ngeneratedBy: git-story-teller-local-packer]
I --> J[FilterLowSignalPackedContent]
J --> K[Write *.context.md files\nmanifest + chunks]
K --> L[Agent reads context\nwrites stories]
Reviews (1): Last reviewed commit: "🙈 add .vs to gitignore" | Re-trigger Greptile |
This pull request introduces version 0.4.2 of the
git-story-tellerskill, focusing on simplifying its architecture and making context packing fully deterministic and self-contained. The skill now eliminates all dependencies on Node/npm, Repomix, and public packing services, relying solely on a local C# packer that usesgit ls-filesto gather tracked files from a shallow git clone. Documentation, evaluation contracts, and implementation have all been updated to reflect this streamlined, local-only approach.Architecture and Dependency Simplification:
git-story-tellerto remove all Repomix-first and fallback logic, HTTP client dependencies, and Node/npm (npx) invocation; now uses a single deterministic local C# packer for context extraction. (CHANGELOG.md,scripts/story.cs, [1] [2] [3] [4] [5] [6]Deterministic Local Context Packing:
git ls-filesfor tracked-file discovery, ensuring repeatable and transparent context membership without external services or variable ignore parsing. (CHANGELOG.md,README.md,SKILL.md, [1] [2] [3] [4] [5]Documentation and Metadata Updates:
README.mdandSKILL.mdto document the new local-only, deterministic packing approach, removing all references to Repomix and public API fallbacks. (README.md,SKILL.md, [1] [2] [3] [4]CHANGELOG.md, CHANGELOG.mdR9-R30)Evaluation and Test Contract Adjustments:
evals/evals.json, skills/git-story-teller/evals/evals.jsonL73-R79)Release and Versioning:
CHANGELOG.mdfor accurate version tracking. (CHANGELOG.md, CHANGELOG.mdL193-R216)These changes make
git-story-tellerfully self-contained, deterministic, and easier to maintain, while improving transparency and reliability of context generation.