gemstack-ai 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/rules/03-gemstack-security.md +2 -2
- package/.gemstack/state.json +7 -8
- package/CHANGELOG.md +87 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +113 -22
- package/RELEASE_NOTES.md +80 -1
- package/handoff.md +33 -19
- package/package.json +4 -3
- package/scripts/ci/check-package-contents.js +1 -1
- package/scripts/ci/check-secrets.js +84 -0
- package/specs/009-context-capsule/context-capsule.json +4 -4
- package/specs/010-agent-swarm-visual-qa/.gemstack.json +5 -0
- package/specs/010-agent-swarm-visual-qa/closure.json +59 -0
- package/specs/010-agent-swarm-visual-qa/plan.md +759 -0
- package/specs/010-agent-swarm-visual-qa/spec.md +842 -0
- package/specs/010-agent-swarm-visual-qa/swarm.json +49 -0
- package/specs/010-agent-swarm-visual-qa/tasks.md +873 -0
- package/specs/010-agent-swarm-visual-qa/visual-qa.json +41 -0
- package/specs/011-gemstack-2.0-hardening/.gemstack.json +5 -0
- package/specs/011-gemstack-2.0-hardening/closure.json +58 -0
- package/specs/011-gemstack-2.0-hardening/plan.md +210 -0
- package/specs/011-gemstack-2.0-hardening/spec.md +277 -0
- package/specs/011-gemstack-2.0-hardening/tasks.md +59 -0
- package/specs/012-gemstack-2.0-honest-evidence/.gemstack.json +5 -0
- package/specs/012-gemstack-2.0-honest-evidence/closure.json +58 -0
- package/specs/012-gemstack-2.0-honest-evidence/plan.md +202 -0
- package/specs/012-gemstack-2.0-honest-evidence/spec.md +222 -0
- package/specs/012-gemstack-2.0-honest-evidence/tasks.md +99 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/.gemstack.json +9 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/closure.json +58 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/context-capsule.json +227 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/plan.md +179 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/spec.md +212 -0
- package/specs/013-gemstack-2.0-adaptable-sdd/tasks.md +90 -0
- package/specs/014-gemstack-2.0-context-memory/.gemstack.json +9 -0
- package/specs/014-gemstack-2.0-context-memory/closure.json +58 -0
- package/specs/014-gemstack-2.0-context-memory/plan.md +161 -0
- package/specs/014-gemstack-2.0-context-memory/spec.md +163 -0
- package/specs/014-gemstack-2.0-context-memory/tasks.md +79 -0
- package/src/cli.js +11 -0
- package/src/commands/context.js +1 -1
- package/src/commands/doctor.js +18 -0
- package/src/commands/hooks.js +98 -14
- package/src/commands/init.js +1 -1
- package/src/commands/install.js +174 -49
- package/src/commands/spec.js +105 -0
- package/src/commands/swarm.js +111 -0
- package/src/commands/update.js +1 -1
- package/src/commands/verify.js +48 -0
- package/src/commands/visual.js +82 -0
- package/src/lib/backup.js +3 -3
- package/src/lib/closure-context.js +9 -1
- package/src/lib/context-fatigue.js +165 -0
- package/src/lib/contract-amendments.js +109 -0
- package/src/lib/dependency-audit.js +202 -0
- package/src/lib/filesystem-safe.js +85 -15
- package/src/lib/memory-audit.js +121 -0
- package/src/lib/provider-boundary.js +5 -1
- package/src/lib/provider-registry.js +6 -4
- package/src/lib/safety-gates.js +176 -8
- package/src/lib/sdd-rigor.js +181 -0
- package/src/lib/spec-delta.js +194 -0
- package/src/lib/spec-merge.js +168 -0
- package/src/lib/swarm.js +639 -0
- package/src/lib/visual-qa.js +652 -0
- package/template/.agents/rules/03-gemstack-security.md +2 -2
- package/.github/workflows/main-ci.yml +0 -32
- package/.github/workflows/pr-ci.yml +0 -31
- package/.github/workflows/publish.yml +0 -52
- package/.github/workflows/release-readiness.yml +0 -43
- package/gemstack-ai-1.3.0.tgz +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
name: PR CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
test:
|
|
10
|
-
name: Quick CI
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
strategy:
|
|
13
|
-
matrix:
|
|
14
|
-
node-version: [18.x, 20.x]
|
|
15
|
-
steps:
|
|
16
|
-
- name: Checkout repository
|
|
17
|
-
uses: actions/checkout@v4
|
|
18
|
-
- name: Setup Node.js
|
|
19
|
-
uses: actions/setup-node@v4
|
|
20
|
-
with:
|
|
21
|
-
node-version: ${{ matrix.node-version }}
|
|
22
|
-
- name: Install Dependencies
|
|
23
|
-
run: npm install
|
|
24
|
-
- name: Run Native Tests
|
|
25
|
-
run: npm test
|
|
26
|
-
- name: Run CI Suite
|
|
27
|
-
run: npm run ci:all
|
|
28
|
-
- name: Run Demo Smoke
|
|
29
|
-
run: npm run ci:demo
|
|
30
|
-
- name: Validate Package Build
|
|
31
|
-
run: npm run pack:dry
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
name: Publish Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- 'v*'
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: write # Requerido para crear GitHub Releases
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
publish:
|
|
13
|
-
name: Publish to NPM and GitHub Releases
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: Setup Node.js
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: '20'
|
|
24
|
-
registry-url: 'https://registry.npmjs.org'
|
|
25
|
-
|
|
26
|
-
- name: Install Dependencies
|
|
27
|
-
run: npm ci || npm install
|
|
28
|
-
|
|
29
|
-
- name: Security Gate - Run CI All
|
|
30
|
-
run: npm run ci:all
|
|
31
|
-
|
|
32
|
-
- name: Pack Package
|
|
33
|
-
run: npm pack
|
|
34
|
-
id: pack
|
|
35
|
-
|
|
36
|
-
- name: Publish to NPM
|
|
37
|
-
run: npm publish --access public
|
|
38
|
-
env:
|
|
39
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
40
|
-
|
|
41
|
-
- name: Create GitHub Release
|
|
42
|
-
env:
|
|
43
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
44
|
-
run: |
|
|
45
|
-
# Obtener el nombre del archivo tarball generado por npm pack
|
|
46
|
-
TARBALL=$(ls gemstack-*.tgz)
|
|
47
|
-
|
|
48
|
-
# Crear el Release oficial de GitHub usando el CLI nativo 'gh'
|
|
49
|
-
gh release create ${{ github.ref_name }} \
|
|
50
|
-
--title "Release ${{ github.ref_name }}" \
|
|
51
|
-
--notes-file RELEASE_NOTES.md \
|
|
52
|
-
$TARBALL
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
name: Release Readiness
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
validate-and-pack:
|
|
8
|
-
name: Validate and Pack
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- name: Checkout repository
|
|
12
|
-
uses: actions/checkout@v4
|
|
13
|
-
- name: Setup Node.js
|
|
14
|
-
uses: actions/setup-node@v4
|
|
15
|
-
with:
|
|
16
|
-
node-version: 20.x
|
|
17
|
-
- name: Install Dependencies
|
|
18
|
-
run: npm install
|
|
19
|
-
- name: Run Native Tests
|
|
20
|
-
run: npm test
|
|
21
|
-
- name: Run CI Suite
|
|
22
|
-
run: npm run ci:all
|
|
23
|
-
- name: Run Demo Smoke
|
|
24
|
-
run: npm run ci:demo
|
|
25
|
-
- name: Pack NPM Tarball
|
|
26
|
-
run: npm pack
|
|
27
|
-
- name: Test Tarball in Dummy Project
|
|
28
|
-
run: |
|
|
29
|
-
mkdir ../gemstack-dummy
|
|
30
|
-
cd ../gemstack-dummy
|
|
31
|
-
npm init -y
|
|
32
|
-
npm install ../Gemstack/gemstack-*.tgz
|
|
33
|
-
npx gemstack --help
|
|
34
|
-
npx gemstack init --dry-run
|
|
35
|
-
npx gemstack init --yes
|
|
36
|
-
npx gemstack doctor
|
|
37
|
-
npx gemstack update --dry-run
|
|
38
|
-
- name: Upload NPM Tarball
|
|
39
|
-
uses: actions/upload-artifact@v4
|
|
40
|
-
with:
|
|
41
|
-
name: gemstack-npm-tarball
|
|
42
|
-
path: gemstack-*.tgz
|
|
43
|
-
if-no-files-found: error
|
package/gemstack-ai-1.3.0.tgz
DELETED
|
Binary file
|