Skip to content

feat(ways): add versioning (code) + pkghistory (workstation) ways#102

Open
aaronsb wants to merge 1 commit into
mainfrom
feat/new-ways
Open

feat(ways): add versioning (code) + pkghistory (workstation) ways#102
aaronsb wants to merge 1 commit into
mainfrom
feat/new-ways

Conversation

@aaronsb
Copy link
Copy Markdown
Owner

@aaronsb aaronsb commented May 24, 2026

Summary

Two new ways:

softwaredev/code/quality/versioning

Anti-pattern guidance for version-numbered identifiers in code Claude owns — process_v2, _FOO_V0, """v0 seed for X""". These freeze authoring-time snapshots into permanent names; the old revision rarely gets deleted, producing parallel half-migrations callers split across.

Includes a reactive postcheck.sh that fires on Edit/Write when versioned identifiers or version-reference docstrings appear in the new diff (not the whole file — pre-existing tokens the agent didn't author must not re-fire). Scoped to code; skips docs/locks/JSONL where version strings are legitimate.

provenance.yaml maps to ISO/IEC 25010 (Maintainability — Modifiability/Analyzability) and NIST SP 800-53 SA-15 (Development Process Standards).

workstation/pkghistory

Reads package-manager logs as a behavioral journal — Burst (focused sitting), Thread (durable interest, keep it), Orphan (cluster that stopped recruiting, strong cull signal). Counters the dump-a-list reflex when the user asks "what have I added that I don't need anymore?"

Test plan

  • ways lint passes for both new ways.
  • postcheck.sh matches process_v2, _FOO_V0, # v1 of this; does NOT match apiVersion, /v1/ paths, __version__.
  • pkghistory triggers on prompts like "what software did I install I don't need anymore", "cull leftover packages".

versioning (softwaredev/code/quality/versioning):
- Anti-pattern guidance against version-numbered identifiers
  (process_v2, _FOO_V0, "v0 seed for X") in code Claude owns.
- Includes reactive postcheck.sh: fires on Edit/Write when versioned
  identifiers or version-reference docstrings appear in the new diff.
- provenance.yaml maps to ISO/IEC 25010 (Maintainability) and
  NIST SP 800-53 SA-15.

pkghistory (workstation/pkghistory):
- Treats package-manager logs as an involuntary behavioral journal.
- Distinguishes Burst / Thread / Orphan signatures so cull suggestions
  read time-series shape rather than dumping a flat package list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant