GitHub issues/PRs as filesystem, for offline view and operations in batch. Designed for human and agents.
by antfuTypeScript
Last 12 weeks · 8 commits
5 of 6 standards met
Motivation Ensure local markdown files are discovered and renamed when an item title changes even if there is no tracked state entry. Simplify path helper usage by building paths directly from constants instead of multiple directory getter functions. Improve detection and cleanup of legacy/mismatched markdown and patch files under the storage layout. Description Added to scan storage directories for other markdown files matching an item number and exposed in to track them. Updated , , and to consider so stale files are found and can be moved or removed. Replaced several directory getter functions with direct joins using , , and and updated , , , and pruning logic accordingly. Adjusted filesystem utilities to compute the pulls directory via and added usage for enumerating files; added small test import fixes and a new test in . Testing Ran the unit test suite with including the new test and tests, and all tests passed. Existing sync behavior tests were retained and still assert pagination, reporter callbacks, and file presence as before. File system related behavior (patch removal and closed-item pruning) is covered by updated unit tests and succeeded. Codex Task
Repository: antfu/ghfs. Description: GitHub issues/PRs as filesystem, for offline view and operations in batch. Designed for human and agents. Stars: 108, Forks: 2. Primary language: TypeScript. Languages: TypeScript (99.9%), JavaScript (0.1%). License: MIT. Latest release: v0.0.2 (15h ago). Open PRs: 0, open issues: 0. Last activity: 14h ago. Community health: 85%. Top contributors: antfu.
Motivation Enable users to author execute operations in a simple alongside and derive per-item operations from tracked markdown frontmatter. Surface parsing warnings to the CLI so users are informed about malformed or unrecognized execute.md lines. Description Added constant and , and ensure is created by when missing. Implemented execute sources with that merges , (via / ), and per-item frontmatter-derived ops (), and exposes for persisting progress. Reworked to use , emit callbacks for parsing warnings, and call the provided to persist remaining operations. Added parsing utilities (, md reader/writer, per-item frontmatter diff logic) and tests; updated tests and CLI to forward warnings to . Testing Ran the unit test suite with , including new and updated tests: , , , tests (, , ), and they all passed. Codex Task
Motivation Enable users to author execute operations in a simple alongside and derive per-item operations from tracked markdown frontmatter. Surface parsing warnings to the CLI so users are informed about malformed or unrecognized execute.md lines. Description Added constant and , and ensure is created by when missing. Implemented execute sources with that merges , (via / ), and per-item frontmatter-derived ops (), and exposes for persisting progress. Reworked to use , emit callbacks for parsing warnings, and call the provided to persist remaining operations. Added parsing utilities (, md reader/writer, per-item frontmatter diff logic) and tests; updated tests and CLI to forward warnings to . Testing Ran the unit test suite with , including new and updated tests: , , , tests (, , ), and they all passed. Codex Task