Skip to content

Commit 3a17c3c

Browse files
author
VoardWalker-Code
committed
merge: promote staging to main — pre-alpha v0.9.0-alpha.4.24
2 parents 0e17f64 + 60fc5d8 commit 3a17c3c

200 files changed

Lines changed: 32764 additions & 308 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, staging]
66
pull_request:
7-
branches: [main]
7+
branches: [main, staging]
88

99
jobs:
1010
test:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: '22'
2020
cache: 'npm'
2121
cache-dependency-path: project/package-lock.json
2222

@@ -26,4 +26,36 @@ jobs:
2626

2727
- name: Run tests
2828
working-directory: project
29-
run: npm test
29+
run: |
30+
npm test 2>&1 | tee test-output.txt
31+
# Fail the step if node exited non-zero (tee masks the exit code)
32+
exit ${PIPESTATUS[0]}
33+
34+
- name: Parse test results
35+
if: always()
36+
id: test-results
37+
working-directory: project
38+
run: |
39+
PASS=$(grep -oP '# pass \K[0-9]+' test-output.txt || echo "0")
40+
FAIL=$(grep -oP '# fail \K[0-9]+' test-output.txt || echo "0")
41+
echo "pass=$PASS" >> "$GITHUB_OUTPUT"
42+
echo "fail=$FAIL" >> "$GITHUB_OUTPUT"
43+
if [ "$FAIL" = "0" ]; then
44+
echo "color=brightgreen" >> "$GITHUB_OUTPUT"
45+
echo "label=$PASS passing" >> "$GITHUB_OUTPUT"
46+
else
47+
echo "color=red" >> "$GITHUB_OUTPUT"
48+
echo "label=$PASS passing, $FAIL failing" >> "$GITHUB_OUTPUT"
49+
fi
50+
51+
- name: Update test count badge
52+
if: github.ref == 'refs/heads/main' && always()
53+
uses: schneegans/dynamic-badges-action@v1.7.0
54+
with:
55+
auth: ${{ secrets.GIST_SECRET }}
56+
gistID: ${{ vars.BADGE_GIST_ID }}
57+
filename: nekocore-test-results.json
58+
label: tests
59+
message: ${{ steps.test-results.outputs.label }}
60+
color: ${{ steps.test-results.outputs.color }}
61+
style: flat-square

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ project/Config/ma-config.json
1111
project/server/data/accounts.json
1212
project/server/data/sessions.json
1313
project/server/data/task-sessions.json
14+
project/server/data/task-sessions.json.tmp-*
1415
project/server/data/checkouts.json
1516

1617
# Browser runtime data — generated by browser app
@@ -56,6 +57,48 @@ project/server/data/nekocore-audit.ndjson
5657
project/skills/*/workspace/*
5758
!project/skills/*/workspace/.gitkeep
5859

60+
# MA private runtime data — never commit
61+
/project/MA/MA-Config/ma-config.json
62+
/project/MA/MA-Config/chat-history.json
63+
/project/MA/MA-Config/model-performance.json
64+
/project/MA/MA-Config/chores.json
65+
/project/MA/MA-entity/*/memories/
66+
/project/MA/MA-entity/*/index/
67+
/project/MA/MA-entity/*/archives/
68+
/project/MA/MA-entity/*/prompt-history/
69+
/project/MA/MA-logs/
70+
71+
# MA dev/debug temp scripts — not for distribution
72+
/project/MA/tmp-*.js
73+
/project/MA/_*.js
74+
/project/MA/test-*.js
75+
76+
# MA workspace projects — starter scaffolds are tracked (BUILD-ORDER.md, PROJECT-MANIFEST.json, package.json).
77+
# Everything MA builds inside these folders (source, tests, node_modules) is gitignored.
78+
# Only the scaffold files are committed — the rest is generated by MA at build time.
79+
/project/MA/MA-workspace/nekocore/node_modules/
80+
/project/MA/MA-workspace/nekocore/server/
81+
/project/MA/MA-workspace/nekocore/contracts/
82+
/project/MA/MA-workspace/nekocore/client/
83+
/project/MA/MA-workspace/nekocore/scripts/
84+
/project/MA/MA-workspace/nekocore/tests/
85+
/project/MA/MA-workspace/nekocore/nekocore-server.js
86+
/project/MA/MA-workspace/nekocore/nekocore-cli.js
87+
/project/MA/MA-workspace/nekocore/nekocore-start.js
88+
/project/MA/MA-workspace/rem-system/node_modules/
89+
/project/MA/MA-workspace/rem-system/server/
90+
/project/MA/MA-workspace/rem-system/contracts/
91+
/project/MA/MA-workspace/rem-system/client/
92+
/project/MA/MA-workspace/rem-system/config/
93+
/project/MA/MA-workspace/rem-system/entities/
94+
/project/MA/MA-workspace/rem-system/scripts/
95+
/project/MA/MA-workspace/rem-system/tests/
96+
/project/MA/MA-workspace/rem-system/rem-server.js
97+
/project/MA/MA-workspace/rem-system/rem-start.js
98+
99+
# Generated system repair script (build artifact from generate-fixer.js)
100+
project/neko_fixer.py
101+
59102
# Wrangler / Cloudflare Pages deploy artifacts — not part of the project
60103
project/wrangler.toml
61104
project/.wrangler/

CHANGELOG.md

Lines changed: 90 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)