Skip to content

docs: document --help/--version flags and clarify CI gate enforcement - #48

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-cli-flags-and-ci-gate-enforcement-dbf121e1d68153b9
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-cli-flags-and-ci-gate-enforcement-dbf121e1d68153b9

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Two documentation gaps detected against current source code and CI configuration.


Changes

docs/TECHNICAL.md — Argument Mode section

The --help/-h and --version/-v flags were added in the versioning commit (#39) but were never reflected in the implementation docs. The Argument Mode section previously showed only ./build/proclens <PID>.

Added the two missing invocations alongside the existing PID example.

docs/CODE_QUALITY.md — Notes on Enforcement section

The section noted that some Makefile targets are best-effort (|| true) but did not distinguish between the hard and soft CI gates. Contributors could incorrectly assume that a green CI run means the code is fully analysis-clean.

Added a CI Gate Summary table that maps each quality target to its actual CI behavior:

Target CI behavior
make format-check Hard gate — blocks merge if code is not formatted
make checkpatch Soft gate (continue-on-error)
make cppcheck Soft gate (continue-on-error)
make sparse Soft gate (continue-on-error)

Validation

  • Both changed files are documentation only; no source code touched.
  • All commands and flag names verified against src/proclens.c (print_usage()) and .github/workflows/ci.yml.
  • No Makefile targets added or removed.

Generated by Update ProcLens Docs · ◷

- docs/TECHNICAL.md: expand Argument Mode section to list --help/-h and
  --version/-v flags, which were added in the versioning commit but
  never reflected in the implementation docs.

- docs/CODE_QUALITY.md: add CI Gate Summary table to Notes on Enforcement
  section. Clarifies that make format-check is a hard CI gate (no
  continue-on-error) while checkpatch, cppcheck, and sparse are soft
  gates. A green CI run does not guarantee clean static-analysis output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation labels Apr 2, 2026
@navidpadid navidpadid closed this Apr 2, 2026
@navidpadid
navidpadid deleted the docs/fix-cli-flags-and-ci-gate-enforcement-dbf121e1d68153b9 branch April 2, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant