Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.go text eol=lf
docs/releases/*-SHA256SUMS.txt text eol=lf
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AGENTS.md — Engineering Mastery project policy

Work directly in the current VS Code Codex session on this original project inside the user's F: workspace. Keep the workspace manifest and progress report current.
Work directly in the current session on this original project. Keep the Engineering Mastery manifest and progress report current when working in that workspace.

## Scope and ethics
- Never access, rewrite, delete or search outside the active project directory.
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog

## 0.1.0 — Release candidate
## 0.1.1 — Streaming search

- Process files in a reusable read buffer while preserving the literal CLI contract.
- Stage matches per file and spill large result sets to temporary storage. Emit results only after complete UTF-8 and NUL checks.
- Scan oversized lines in fragments. When staging an oversized match, reread its range from the same open file and verify the copied bytes against the scan's SHA-256.
- Cover boundary-spanning literals, long lines, late invalid bytes, read errors, and spill cleanup with regression tests.
- Record elapsed time and peak process memory for the streaming candidate against `v0.1.0` on five reproducible Windows workloads. The benchmark report describes the measured inputs and the long-line tradeoffs. [Benchmark results](docs/BENCHMARKS.md)
- License the original project material under MIT and include the project license, third-party notices and dependency license texts in the binary archives.

Download Windows amd64, Linux amd64 and macOS arm64 packages, `SHA256SUMS.txt`, and source archives from the release page. [v0.1.1 release](https://github.com/soroushneyestani/developer-cli-toolkit/releases/tag/v0.1.1) · [Release evidence](docs/RELEASE_EVIDENCE.md)

## 0.1.0 — Initial release

- Search UTF-8 text recursively for a case-sensitive literal.
- Inspect regular files and report their relative paths and byte sizes.
Expand Down
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Contributing to Developer CLI Toolkit

Use a GitHub issue for bug reports or proposals about the CLI. Show the command, `dct --version`, OS, exit status, and relevant stdout and stderr. Use a small synthetic workspace that reproduces the behavior. Report security concerns through the private process. [Security policy](SECURITY.md)

## Build and test

Create a topic branch from `main` in your fork or authorized checkout. Install Go 1.26 or later and PowerShell 7 on Linux or macOS. CI uses Go 1.27.4. From the project directory, run the verifier. Windows PowerShell can invoke it with `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/verify.ps1`.

```sh
pwsh -NoProfile -File scripts/verify.ps1
```

The verifier checks Go formatting, module checksums, vet, uncached tests, and the native build. Exercise changed command behavior with process-level fixtures that check stdout, stderr, and exit status. Keep sorting, symlink handling, UTF-8 validation, and error semantics covered. Document any intentional contract change and explain its compatibility impact. Cite the reproducible workload when proposing a performance change. [CLI contract](docs/SPEC.md) · [Benchmark method](docs/BENCHMARKS.md)

## Submit a pull request

Open a PR against `main` with the reason for the change, the tests you ran, and any limitations. Use a draft for work that still needs verification. Keep changes small enough to review and preserve the notices of any third-party material you have permission to use. The maintainer reviews changes and merges through a merge commit after CI succeeds and review conversations are resolved. [Verification workflow](.github/workflows/ci.yml)

Submit work you have the right to contribute. Original contributions are made under the project's MIT license. Preserve existing third-party license terms and attribution. [Project license](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)
45 changes: 45 additions & 0 deletions FINAL_PUBLICATION_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# A02 final publication checklist

Developer CLI Toolkit is in `release_review`. The owner authorized public release of `v0.1.1` in this repository. The historical baseline is `v0.1.0`. [PR #2](https://github.com/soroushneyestani/developer-cli-toolkit/pull/2) · [CI checks](https://github.com/soroushneyestani/developer-cli-toolkit/pull/2/checks)

The final decisions report records the verified address categories, publication paths, and historical asset treatment. [Final publication decisions](FINAL_PUBLICATION_DECISIONS.md)

## Source and license audit

- [x] Matched all three remote branches and `v0.1.0` against the local refs. The pre-preparation history at `f6c3b9727c2fcfbf067de2c6472862818c6bcde7` contains 15 commits, 44 paths and 110 unique tracked blobs. Inspected the original Go source, scripts, fixtures, documentation, attribution and historical file inventory. The tracked blobs are regular UTF-8 text. The audit found no vendored application code or recorded outside contributors. One unreachable local blob was outside the ref history.
- [x] Redacted Gitleaks and focused blob and commit-message screening found no credentials or matching private paths in the reviewed refs. Screened two PRs, their conversations, one release record and 14 of 14 then-retained Actions log archives for credential and personal-data patterns. The profile-path indications matched hosted Windows runner names. Findings are scoped to the inspected records and patterns.
- [x] Prepared the standard MIT notice for original source and documentation, naming Soroush Neyestani based on recorded authorship and repository ownership. The existing third-party license texts remain in place. Verified their text against the pinned module and Go distributions. The three build dependency closures include Cobra and pflag, Go's runtime and standard library with its bundled DNS package, and mousetrap on Windows. [MIT license](LICENSE) · [Standard MIT text](https://spdx.org/licenses/MIT.html) · [Third-party notices](THIRD_PARTY_NOTICES.md)
- [x] The owner confirmed this is a personal project and authorized MIT for the original material for which they hold the necessary rights.
- [x] The owner accepted public disclosure of their own historical Git author and committer metadata. Fourteen commits include a non-GitHub-no-reply address. Its value is excluded from this checklist. The existing commits and tag preserve their original hashes. [GitHub commit email guidance](https://docs.github.com/en/account-and-profile/how-tos/email-preferences/setting-your-commit-email-address)

## CI and release candidate

- [x] Verified the `f6c3b972` pre-preparation head on both push and Draft PR CI. The Windows, Linux and macOS jobs and packaging passed. The local Windows verifier passed again with the expected filename and POSIX-permission fixture skips. The sharing-violation regression passed. [Push CI](https://github.com/soroushneyestani/developer-cli-toolkit/actions/runs/44540885418) · [PR CI](https://github.com/soroushneyestani/developer-cli-toolkit/actions/runs/44540899232) · [Test summary](docs/TEST_SUMMARY.md)
- [x] Reviewed full-file validation, oversized line scanning, positional rereads, match replay, spill cleanup and filesystem assumptions. Seventy-two seeded Windows comparisons against the released binary matched stdout, stderr and exit status, including buffer boundaries, UTF-8 and NUL cases and dense spill. The review found no reproducible runtime defect.
- [ ] Verify the exact stable preparation revision, merge commit, and release evidence. [PR checks](https://github.com/soroushneyestani/developer-cli-toolkit/pull/2/checks)

## Benchmark results

- [x] Recomputed the 50 recorded process measurements across five generated Windows workloads. The sparse 96 MiB case used 7.57 MiB median peak working set versus 57.24 MiB in `v0.1.0`, and fell from 67.403 to 56.175 ms. The unmatched 48 MiB line used 7.32 MiB versus 56.31 MiB, taking 50.269 ms versus 41.872 ms. The matching 16 MiB line used 41.28 MiB versus 56.93 MiB and took 69.589 ms versus 40.292 ms. These are measured inputs on the recorded Windows host. [Reproduction and full results](docs/BENCHMARKS.md) · [Raw samples](docs/BENCHMARKS_WINDOWS.json)

## Release assets and complete source

- [x] Preserved the private `v0.1.0` tag, all five existing release assets, and the earlier pinned RC evidence. Their checksums and source commits remain scoped to those exact builds. [Verified v0.1.0 provenance](docs/releases/v0.1.0.md) · [Pinned RC evidence](docs/RELEASE_EVIDENCE.md)
- [x] Built and inspected all three local preparation ZIPs for Windows amd64, Linux amd64 and macOS arm64. Checked CRC, SHA-256, architecture, the project MIT license, all four upstream license texts, and changelog. The executables match the already-reviewed RC binaries byte for byte. The ZIPs have separate checksums because their contents include new release material.
- [x] Record an express MIT grant for eligible original `v0.1.0` material. Its original archives predate the project MIT notice. [Historical grant](docs/releases/v0.1.0-MIT.md)
- [ ] After approval, verify the stable package and full source archive at the same accepted `main` commit and tag. Confirm that an unauthenticated user can read and clone the source and download the tagged source archive. The release procedure covers these checks and the stable version update. [Release procedure](docs/releases/OPEN_SOURCE_RELEASE.md)

## GitHub configuration

- [x] Verified private visibility, default branch `main`, enabled merge commits, and accurate project description and homepage metadata. The current `main` is unprotected. GitHub reported a plan restriction for private rulesets on this repository.
- [ ] When available, protect `main` with PRs, conversation resolution, the exact three native jobs and `Package binaries`, and block force pushes and deletion. Use the sole-maintainer workflow with zero required approving reviews. Enable private vulnerability reporting and verify its availability. [Required checks and launch settings](docs/releases/OPEN_SOURCE_RELEASE.md#github-settings-for-launch)
- [x] The owner approved visibility on this existing repository subject to the publication audit. Screen third-party data and credentials before making it public. [GitHub visibility effects](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility#making-a-repository-public)

## Documentation

- [x] Prepared source and binary instructions, contribution guidance, private reporting guidance, final learning material, and platform and performance limitations. [README](README.md) · [Contributing](CONTRIBUTING.md) · [Security policy](SECURITY.md) · [Persian learning guide](docs/LEARNING_FA.md) · [Portfolio article](docs/WEBSITE_EN.md) · [Instagram copy](docs/INSTAGRAM_EN.md)
- [ ] Verify working public release and source links. The English portfolio and Instagram copy are supplied as repository documentation.

## Remaining risks

The owner decisions above govern public disclosure and licensing. The public stable release requires exact post-merge CI and assets. Temporary disk can grow with dense output. The sorted paths and the largest emitted record still affect memory and the input tree needs to stay stable during execution. The benchmark samples are Windows-only, and the binaries are unsigned. [Benchmark scope](docs/BENCHMARKS.md) · [Release limits](docs/releases/OPEN_SOURCE_RELEASE.md#limits-to-disclose)
Loading
Loading