feat(ways): add versioning (code) + pkghistory (workstation) ways#102
Open
aaronsb wants to merge 1 commit into
Open
feat(ways): add versioning (code) + pkghistory (workstation) ways#102aaronsb wants to merge 1 commit into
aaronsb wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two new ways:
softwaredev/code/quality/versioningAnti-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.shthat 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.yamlmaps to ISO/IEC 25010 (Maintainability — Modifiability/Analyzability) and NIST SP 800-53 SA-15 (Development Process Standards).workstation/pkghistoryReads 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 lintpasses for both new ways.postcheck.shmatchesprocess_v2,_FOO_V0,# v1 of this; does NOT matchapiVersion,/v1/paths,__version__.pkghistorytriggers on prompts like "what software did I install I don't need anymore", "cull leftover packages".