Repository navigation
Release v1.2.0
Gemstack Release Notes
Gemstack v1.2.0 — Mechanical Test Matrix & Closure Evidence
Highlights
- Mechanical Test Matrix & Closure Verification (Upgrade B): Eliminates false closure and test discovery hallucinations by introducing a deterministic verification pipeline from specification to shipment.
- Canonical Test Matrix (
gemstack-test-matrix): Explicit acceptance criteria defined inspec.mdwith deterministicacceptanceSignature(SHA-256) ensuring acceptance rules are immutable once approved. - Task ↔ Test Traceability: Explicit bidirectional binding between implementation tasks in
tasks.mdand canonical acceptance tests. - Safe Zero-Shell Runners: Pure Node.js
node:testTAP runner adapter with suite container exclusion (kind: 'SUITE'vskind: 'TEST'), ensuring TAP headers/containers are never counted as physical tests. - Exact Canonical Reconciliation Arithmetic: Mechanical validation proving
canonical_required = canonical_passed + missingandphysical_executed = canonical_executed + supporting_executedwith zero tolerance for phantoms or orphans. - Mutating Collector (
gemstack collect): Executes bound test suites and requiredPACKAGE_SCRIPTgates to producespecs/<feature>/closure.json. - Dynamic Closure Context Freshness (
closureContextHash): Cryptographically binds closure evidence to repository state (clean git, dirty git, or non-git), phase hashes, bound test files, and bounded implementation source files. - Read-Only Verification Pipeline (
gemstack verify): Stage 5/6 inspects closure freshness and gate outcomes in memory with 0 disk mutations. - Ship Gatekeeper (
gemstack ship): Strict gate requiringstatus: "VERIFIED"inclosure.jsonbefore transitioning feature lifecycle toSHIPPED. - Progressive LEGACY Mode: Full backward compatibility for features without test matrices or contract blocks.
- Zero-Dependency Architecture: 100% native Node.js standard library implementation with zero third-party production dependencies.
Acceptance & Regression Baseline
- 25 Upgrade A canonical acceptance tests passing (
TEST-CONSISTENCY-A01throughH02). - 20 Upgrade B canonical acceptance tests passing (
TEST-CLOSURE-A01throughH01). - 45 total canonical acceptance tests passing.
- 53 total physical tests passing with 0 regressions.
- 11 physical test suites explicitly enumerated for cross-platform reliability.
Gemstack v1.1.2 — Architecture Consistency & Phase Freezing
Recovery Release Note
v1.1.2 is the release-recovery patch for Upgrade A. v1.1.1 resolved cross-platform test discovery, exposing a host-dependent path canonicalization defect in TEST-CONSISTENCY-G01 when simulating Windows paths on Linux runners. v1.1.2 fixes that canonicalization using explicit path-flavor-aware Node.js path semantics (path.win32 vs path.posix). No product architecture, contract semantics, or canonical P1 criteria were altered.
Highlights
- Architecture Consistency Engine: Mechanically prevents AI models from hallucinating or introducing silent architectural contradictions downstream through 6 canonical contract types (
ENUM_SET,IDENTITY_TUPLE,PROVENANCE_RULE,BOOLEAN_INVARIANT,BOUNDARY,ROADMAP_LIMIT). - Cryptographic Phase Freezing: SHA-256 canonical hashing of phase artifacts (
spec.md,plan.md,tasks.md) with automatic mutation detection (FROZEN_ARTIFACT_CHANGED). - Deterministic-First Validation: Automated cross-phase inheritance (
SPEC->PLAN->TASKS) resolving contradictions before human review. - Canonical Finding Fingerprints: Full 64-character lowercase SHA-256 digests with anti-loop lifecycle management (
OPEN,RESOLVED,ACCEPTED_EXCEPTION,SUPERSEDED). - Accepted Exceptions Bound to Context: Exceptions require cryptographic
contextHashbinding; any change to compared artifacts or contracts invalidates suppression. - Progressive LEGACY Mode: Features without contracts continue without disruption or breaking changes.
- Zero-Dependency Core: Pure Node.js standard library implementation (
node:crypto,node:fs,node:path,node:test).
Compatibility
- 100% backward compatible with existing Gemstack repositories.
- Zero external runtime dependencies added.
Validation
- 17/17 Upgrade A implementation tasks complete.
- 25/25 canonical P1 acceptance tests passing.
- 33/33 physical test suite passing.
npm testexit code 0.gemstack verifyexit code 0 with 0 open blockers.- Self-dogfooded on
specs/006-architecture-consistency-engine/.
Upgrade Notes
- Run
npx gemstack-ai updateto pull the latest agent skills and templates into your existing project.
Gemstack v1.1.1 — Architecture Consistency & Phase Freezing
Recovery Release Note
v1.1.1 is the publishable recovery release for Upgrade A. The original v1.1.0 tag completed development and closure, but its release CI workflow stopped prior to npm publication because the test command relied on shell-dependent recursive glob resolution on Linux runners. In v1.1.1, test execution is made strictly portable across all operating systems. No product architecture or contract semantics changed.
Highlights
- Architecture Consistency Engine: Mechanically prevents AI models from hallucinating or introducing silent architectural contradictions downstream through 6 canonical contract types (
ENUM_SET,IDENTITY_TUPLE,PROVENANCE_RULE,BOOLEAN_INVARIANT,BOUNDARY,ROADMAP_LIMIT). - Cryptographic Phase Freezing: SHA-256 canonical hashing of phase artifacts (
spec.md,plan.md,tasks.md) with automatic mutation detection (FROZEN_ARTIFACT_CHANGED). - Deterministic-First Validation: Automated cross-phase inheritance (
SPEC->PLAN->TASKS) resolving contradictions before human review. - Canonical Finding Fingerprints: Full 64-character lowercase SHA-256 digests with anti-loop lifecycle management (
OPEN,RESOLVED,ACCEPTED_EXCEPTION,SUPERSEDED). - Accepted Exceptions Bound to Context: Exceptions require cryptographic
contextHashbinding; any change to compared artifacts or contracts invalidates suppression. - Progressive LEGACY Mode: Features without contracts continue without disruption or breaking changes.
- Zero-Dependency Core: Pure Node.js standard library implementation (
node:crypto,node:fs,node:path,node:test).
Compatibility
- 100% backward compatible with existing Gemstack repositories.
- Zero external runtime dependencies added.
Validation
- 17/17 Upgrade A implementation tasks complete.
- 25/25 canonical P1 acceptance tests passing.
- 33/33 physical test suite passing.
npm testexit code 0.gemstack verifyexit code 0 with 0 open blockers.- Self-dogfooded on
specs/006-architecture-consistency-engine/.
Upgrade Notes
- Run
npx gemstack-ai updateto pull the latest agent skills and templates into your existing project.
Gemstack v1.1.0 — Architecture Consistency & Phase Freezing
Highlights
- Architecture Consistency Engine: Mechanically prevents AI models from hallucinating or introducing silent architectural contradictions downstream through 6 canonical contract types (
ENUM_SET,IDENTITY_TUPLE,PROVENANCE_RULE,BOOLEAN_INVARIANT,BOUNDARY,ROADMAP_LIMIT). - Cryptographic Phase Freezing: SHA-256 canonical hashing of phase artifacts (
spec.md,plan.md,tasks.md) with automatic mutation detection (FROZEN_ARTIFACT_CHANGED). - Deterministic-First Validation: Automated cross-phase inheritance (
SPEC->PLAN->TASKS) resolving contradictions before human review. - Canonical Finding Fingerprints: Full 64-character lowercase SHA-256 digests with anti-loop lifecycle management (
OPEN,RESOLVED,ACCEPTED_EXCEPTION,SUPERSEDED). - Accepted Exceptions Bound to Context: Exceptions require cryptographic
contextHashbinding; any change to compared artifacts or contracts invalidates suppression. - Progressive LEGACY Mode: Features without contracts continue without disruption or breaking changes.
- Zero-Dependency Core: Pure Node.js standard library implementation (
node:crypto,node:fs,node:path,node:test).
Compatibility
- 100% backward compatible with existing Gemstack repositories.
- Zero external runtime dependencies added.
Validation
- 17/17 Upgrade A implementation tasks complete.
- 25/25 canonical P1 acceptance tests passing.
- 33/33 physical test suite passing.
npm testexit code 0.gemstack verifyexit code 0 with 0 open blockers.- Self-dogfooded on
specs/006-architecture-consistency-engine/.
Upgrade Notes
- Run
npx gemstack-ai updateto pull the latest agent skills and templates into your existing project.
Gemstack v1.0.2
Highlights
- Zero Silent Failures: Actualización al Article III de la Constitución prohibiendo
2>nuly operadores de supresión de fallos en scripts de testing multiplataforma. - Intent-Based Routing: Detección semántica de intenciones en lenguaje natural en
01-gemstack-core.md, auto-activandogemstack-spec,gemstack-qa,gemstack-investigateygemstack-handoffsin requerir estrictamente/comando. - Auto State Sync: Sincronización automática de
.gemstack/state.jsonengemstack-spec,gemstack-shipygemstack-handoffcon control de ciclo de vida (current_phase,active_spec,last_completed_feature). - Unified Health & Security Auditor (
gemstack verify): Nuevo comando CLI y scriptpnpm/npm run gemstack:verifypara validar en un solo paso archivos base, integridad de memoria (5 secciones dehandoff.md), estado local y seguridad de scripts.
Validation
npm test: 8 tests unitarios pasando al 100%.npm run gemstack:verify: Éxito total.- CI Scripts: frontmatter, template clean, mojibake, package contents y smoke CLI validados.
Gemstack v0.3.0
Highlights
- GitHub Actions CI
- PR CI on Ubuntu with Node 18/20
- Main CI cross-platform matrix on Ubuntu, Windows, macOS with Node 18/20
- Manual release-readiness workflow
- Zero-dependency CI scripts under scripts/ci/
- Frontmatter validation
- Template cleanliness validation
- Mojibake detection
- Package content validation
- CLI smoke tests
- SecureDocs smoke tests
- Artifact generation for npm tarball
- No npm publish automation
Validation
npm test: PASSnpm run ci:all: PASSnpm run ci:demo: PASSnpm run pack:dry: PASSmain-ciresult: SUCCESS (expected)release-readinessresult: SUCCESS (expected)- artifact generated:
gemstack-npm-tarball
Safety
- no npm publish
- no automatic GitHub Release
- no automatic tag creation by workflow
- no secrets printed in logs
- package contents checked
- template cleanliness checked
Known limitations
- npm publish still manual/future
- GitHub Release still manual/future
- CI scripts are custom zero-deps, not full linters
- release artifact downloads from GitHub UI may be zipped by GitHub
Next
- v0.4 or future: npm publish planning
- GitHub Release automation planning
- better update diff UX
- deeper symlink/path tests
- optional browser QA automation
Gemstack v0.2.0
Highlights
- Zero-dependency Node CLI:
gemstack initandgemstack updatefor easy local-first scaffolding. - Installable Scaffold: Separation of codebase in
src/and cleanly replicable agents/skills intemplate/. - Manifest & Safety: Idempotent installation managed via
.gemstack/manifest.jsonensuring no overwritten custom files. - Backups System: Mandatory automatic rollback copy placed in
.gemstack/backups/<timestamp>/when force updating Gemstack-owned files. - Cryptography Checksums: Used
cryptomodule (SHA-256) to ensure template vs user-drift. - Path Traversal Guard: Deep node.js native hardening mapping absolute resolution strings
path.relative()blocking malicious escalations. - Node:Test: Comprehensive local
node:testsuite for thecli.jsinstaller without needing Jest or third party supply-chain vectors. - Tested Packaging: Verified local compatibility via
npm linkandnpm pack.
Safety
- No destructive overwrite by default.
- No
stdinblocking prompts inv0.2.0(fail-fast with--yessuggestion). - No
npm publishexecuted yet. - Backups execute silently before replacement (no leaking secrets to stdout).
handoff.mdand user files are strictly skipped.
Validation
npm test100% passes native tests.npm run pack:drygenerated correct package structure strictly ignoring temporary dumps.npm linktested efficiently.npm pack(tarball) fully tested inside isolated dummy-project folder vianpx gemstack init --dry-run.
Known limitations
- Not published to npm yet.
- No GitHub Actions yet.
- Update conflict UX can be improved to feature rich diffs.
- Symlink hardening may need more tests in v0.3.
- Browser QA still manual/documented.
Gemstack v0.1.0
- Antigravity-native
.agents/rulesand.agents/skillsstructure - Spec-Driven Development workflow
- Handoff memory system
- Security/CSO checklist
- SecureDocs demo app
- Anti-IDOR smoke tests
- PowerShell and Unix/Git Bash CLI helpers
Included Skills
- gemstack-handoff
- gemstack-resume
- gemstack-office-hours
- gemstack-spec
- gemstack-plan
- gemstack-tasks
- gemstack-review
- gemstack-investigate
- gemstack-qa
- gemstack-ship
- gemstack-cso
- gemstack-learn
- gemstack-guard
Demo
SecureDocs is included in demo-app/ to validate the framework. Features:
- Express + SQLite + Vanilla JS
- CRUD de documentos
X-Mock-User-Idcomo mock auth- smoke tests anti-IDOR automáticos
npm run smoke
How to try
PowerShell:
.\bin\gemstack-doctor.ps1
.\bin\gemstack.ps1 list
cd demo-app
npm install
npm run smokeUnix/Git Bash:
./bin/gemstack-doctor
./bin/gemstack list
cd demo-app
npm install
npm run smokeKnown limitations
- No npm package yet
- Mock auth only in demo
- No full automated routing tests yet
- Browser QA is documented but not fully automated
- No GitHub Actions yet
Next
- v0.2 specs
- installer/package distribution
- GitHub Actions
- more robust QA/browser automation
- richer security checks