Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
d30656b
fix: brain test isolation — conversation-memory + knowledge-pack pass…
Mar 30, 2026
ce345c9
chore: remove debug artifact
Mar 30, 2026
442149a
chore: v0.2.0 changelog and version bump
Mar 30, 2026
d0de173
feat: community knowledge pipeline — git-based model improvement
Mar 30, 2026
6964ba1
feat: status dashboard API — real-time agent health and metrics
Mar 30, 2026
73430c6
feat: VS Code extension skeleton — cocapn lives in your editor
Mar 30, 2026
eb98000
feat: CLI status command — terminal agent health display
Mar 30, 2026
e554a72
feat: GitHub Action — auto-run cocapn agent on push
Mar 30, 2026
16135ec
fix: vscode extension package name conflict (cocapn → cocapn-vscode)
Mar 30, 2026
436976b
feat: CLI chat command — terminal REPL with streaming responses
Mar 30, 2026
43fa210
feat: cloud worker v0.2.0 — soul.md personality, status API, health v…
Mar 30, 2026
2f5c139
chore: configure real KV namespace IDs, deploy v0.2.0 cloud worker
Mar 30, 2026
798273c
feat: CLI memory command — browse and manage agent memory
Mar 30, 2026
808a09c
feat: CLI export command — export agent data in multiple formats
Mar 30, 2026
773f061
feat: CLI deploy command — one-command deployment to Cloudflare/Docker
Mar 30, 2026
62ed9f3
feat: CLI plugin command — install, list, remove, enable, disable
Mar 30, 2026
1ea6da4
feat: CLI sync command — git sync between local and remote repos
Mar 30, 2026
7556f08
feat: CLI wiki command — manage agent wiki from terminal
Mar 30, 2026
4765b0d
feat: CLI fleet command — manage fleet of agents
Mar 30, 2026
2a788e4
feat: CLI config command — manage agent configuration
Mar 30, 2026
5d6e4ef
chore: remove CLI commands for killed packages
Mar 30, 2026
5f92fb0
feat: CLI logs command — view and search agent logs
Mar 30, 2026
00d7934
feat: MCP brain tools v0.2.0 — mode-aware, RepoLearner, knowledge pip…
Mar 30, 2026
e3028e5
feat: CLI doctor command — diagnose and fix common issues
Mar 30, 2026
0762dcc
feat: CLI upgrade command — self-upgrade to latest version
Mar 30, 2026
940da01
feat: CLI reset command — reset agent brain/knowledge with backups
Mar 30, 2026
3fabcb2
feat: CLI serve command — serve web UI locally with API proxy
Mar 30, 2026
7b15e14
feat: CLI backup command — backup and restore agent data
Mar 30, 2026
8ea4f20
feat: DMlog.ai deployment template — first vertical ready to ship
Mar 30, 2026
58736f8
feat: web chat UI — personality header with agent name, greeting, mod…
Mar 30, 2026
dd02693
sync: chat-html.ts with ui-minimal personality header
Mar 30, 2026
5b6030e
feat: CLI invite command — share agent with invite links
Mar 30, 2026
711cd2c
feat: CLI template + invite commands — share agents and manage templates
Mar 30, 2026
f187725
fix: CLI integration tests — update for v0.2.0 (removed tree/graph, u…
Mar 30, 2026
a7a76d3
chore: remove test artifacts, add test-temp to gitignore
Mar 30, 2026
28648e3
feat: Fishinglog.ai and Deckboss.ai deployment templates
Mar 30, 2026
a8774b0
security: hardening pass — path traversal, command injection, input v…
Mar 30, 2026
628d866
feat: CLI remote command — manage remote agent instances
Mar 30, 2026
5b4e604
feat: CLI auth command — authentication and API key management
Mar 30, 2026
5fdf51b
fix: CLI init test — resilient to non-interactive setup
Mar 30, 2026
88b72d0
feat: plugin runtime — dynamic loading, sandboxing, lifecycle, and bu…
Mar 30, 2026
16f2ba5
feat: graceful shutdown — signal handlers, connection draining, error…
Mar 30, 2026
2c2db3f
feat: LLM request deduplication, concurrency control, and status debo…
Mar 30, 2026
d9fcf60
feat: typed event bus for internal bridge communication
Mar 30, 2026
a40582e
feat: deep health checks and readiness endpoint
Mar 30, 2026
94f7331
fix: publisher test assertions match implementation (filter private f…
Mar 30, 2026
36662a0
feat: webhooks CLI command — list, add, remove, test, logs
Mar 30, 2026
a5c981e
feat: learn command and entity extractor — teach the agent from docum…
Mar 30, 2026
f43eacb
feat: CLI learn command + knowledge entity extractor + webhook manage…
Mar 30, 2026
eaa0245
feat: notify command — notification system for agent events
Mar 30, 2026
a6372ec
feat: analytics dashboard API — usage metrics and insights endpoints
Mar 30, 2026
20ad045
feat: middleware pipeline — composable request/response pipeline for …
Mar 30, 2026
7ce72e7
feat: cocapn-starter template repos — minimum viable fork for new users
Mar 30, 2026
e5a4abd
feat: complete onboarding system — dual-mode wizard (terminal + web),…
Mar 30, 2026
224cffc
feat: mobile connection layer — QR pairing, device management, app pr…
Mar 31, 2026
0766646
feat: GitHub Actions CI/CD pipeline — run agent entirely from GitHub
Mar 31, 2026
781529b
feat: private-agent-as-gateway pattern — all public edits flow throug…
Mar 31, 2026
cac6033
feat: agent management system — repo-native AI agents (Manus/OpenClaw…
Mar 31, 2026
d2a5a11
feat: CLI settings command — comprehensive agent settings management
Mar 31, 2026
2d9c8b9
feat: themes system — 7 built-in themes, custom theme creation, CLI m…
Mar 31, 2026
8ca20ec
feat: cloud bridge — WebSocket relay, API proxy, local tunnel, heartbeat
Mar 31, 2026
0adec5a
feat: CLI import command — import from ChatGPT, Claude, markdown, JSO…
Mar 31, 2026
5c35527
feat: schedule command — cron jobs and scheduled tasks with cron parser
Mar 31, 2026
030460e
Merge pull request #1 from SuperInstance/main
Lucineer Mar 31, 2026
cb4afa1
feat: Docker sandbox — copy-paste-ready container with install script…
Mar 31, 2026
e4adb2f
feat: 10 real-world use-case templates with soul, config, and themes
Mar 31, 2026
a2ca280
feat: 8 novel agent concepts — adversarial review, dream simulation, …
Mar 31, 2026
85c994f
feat: 8 complete starter repos + 8 novel agent concepts + Ollama test…
Mar 31, 2026
64c3a3e
feat: dungeon-master starter expansion — D&D 5e data, spells, monster…
Mar 31, 2026
caa0e3c
feat: Tabula Rasa — minimal sentient seed for any repo, first-person …
Mar 31, 2026
2456606
feat: first-person experience module — consciousness, self-narrative,…
Mar 31, 2026
a108a17
feat: web chat UI + HTTP server — dark theme, streaming SSE, agent st…
Mar 31, 2026
ebb3aef
feat: CLI entry point — parseArgs from util, soul.ts integration, --w…
Mar 31, 2026
4032e94
chore: package.json + tsconfig — zero runtime deps, Node 18+, ESM strict
Mar 31, 2026
5de079f
feat: universal soul seed — soul compiler, git awareness, memory fix,…
Mar 31, 2026
451f918
feat: integration tests + test-flow script — web routes, memory, awar…
Mar 31, 2026
a990f5a
docs: MVP seed design doc + DeepSeek reasoner analysis
Mar 31, 2026
7811f7e
feat: npx cocapn experience — install, quickstart, killer README, npm…
Mar 31, 2026
56550b5
feat: MVP seed polished — streaming, error handling, git/memory/whoam…
Mar 31, 2026
a99892a
feat: add extract.ts — learn facts, decisions, tone from conversations
Mar 31, 2026
4b78403
refactor: remove dead functions setFact, getFact from memory
Mar 31, 2026
cc31e38
feat: add context.ts — smart context window with budget-aware priorit…
Mar 31, 2026
b7a43c9
feat: add reflect.ts — periodic self-reflection and pattern detection
Mar 31, 2026
cc96a2b
feat: enhance soul.ts with buildFullSystemPrompt — combine soul, awar…
Mar 31, 2026
495f022
feat: add summarize.ts — conversation summarization for long sessions
Mar 31, 2026
6b0b27f
feat: two-tier memory — hot JSON + cold git search
Mar 31, 2026
a324f4c
feat: add intelligence layer tests — extract, context, reflect, summa…
Mar 31, 2026
a198e1b
feat: polish terminal chat UX
Mar 31, 2026
e1eec41
feat: polish web chat UI
Mar 31, 2026
23f2f24
feat: multi-LLM support - OpenAI, Ollama, custom providers
Mar 31, 2026
ec752c7
feat: update cocapn.json schema with llm config object
Mar 31, 2026
b5235ed
feat: rewrite install.sh with multi-LLM provider selection
Mar 31, 2026
2faa11e
docs: add seed architecture documentation
Mar 31, 2026
656a442
docs: add seed usage examples
Mar 31, 2026
24e4d80
docs: add seed API reference
Mar 31, 2026
e41060d
docs: add soul.md writing guide
Mar 31, 2026
354de92
docs: add Getting Started in 60 Seconds to root README
Mar 31, 2026
eb4958c
feat: return server from startWebServer for test cleanup
Mar 31, 2026
665433e
test: add E2E integration test with mock LLM
Mar 31, 2026
aa29dbc
test: add live DeepSeek API test (skipped without key)
Mar 31, 2026
fc99910
test: add web server E2E test
Mar 31, 2026
9c75417
feat: add extensible plugin system to seed
Mar 31, 2026
d905d91
feat: build seed deployment story — Docker, Cloudflare Workers, deplo…
Mar 31, 2026
a8181de
feat(seed): add theme engine — presets, theme.css parsing, CSS variab…
Mar 31, 2026
d787f8f
feat(seed): inject theme CSS into web UI, add avatar/theme to API status
Mar 31, 2026
c6f7444
feat(seed): rebuild chat UI with theming, markdown, dark/light toggle…
Mar 31, 2026
b10c115
feat(seed): add 5 theme presets — ocean, forest, sunset, midnight, mi…
Mar 31, 2026
5572d4a
feat(seed): add theme and avatar fields to soul.md frontmatter
Mar 31, 2026
18ba2a3
test(seed): add theme loading, CSS variable generation, and fallback …
Mar 31, 2026
8add292
feat(seed): add A2A protocol — agent-to-agent communication module
Mar 31, 2026
265f464
feat(seed): add A2A endpoints to web server
Mar 31, 2026
a2e9d0e
feat(seed): add /a2a terminal commands
Mar 31, 2026
9abd6b0
feat(seed): add A2A-aware soul prompt for visiting agents
Mar 31, 2026
2de91f6
test(seed): add A2A handshake, message, peer, and soul prompt tests
Mar 31, 2026
317c19b
docs(seed): add CHANGELOG.md for v0.1.0 release
Mar 31, 2026
0d25778
docs(seed): add MIT license
Mar 31, 2026
9623360
build(seed): add .npmignore for clean publish
Mar 31, 2026
045cf01
docs(seed): add contributing, security, and roadmap guides
Mar 31, 2026
e4d6b3d
feat(seed): add multi-user support to memory and extract
Mar 31, 2026
f232a04
feat(seed): add user sessions and identification to web server
Mar 31, 2026
b6f2026
feat(seed): add multi-user context building with privacy
Mar 31, 2026
45dd944
test(seed): add multi-user memory, extract, context, and web tests
Mar 31, 2026
74bd442
feat(seed): add knowledge base module
Mar 31, 2026
e9068ce
feat(seed): add learn module for conversation knowledge extraction
Mar 31, 2026
556dde9
feat(seed): include knowledge entries in LLM context
Mar 31, 2026
da6bad0
test(seed): add knowledge, learn, and context integration tests
Mar 31, 2026
24f5348
feat(seed): rebuild web UI with polished dark chat interface
Mar 31, 2026
78693a7
fix(seed): handle EADDRINUSE with clear error message
Mar 31, 2026
2c0f96f
fix(seed): add missing knowledge routes to web server
Mar 31, 2026
7df8544
feat(seed): add graceful shutdown to web server
Mar 31, 2026
2395a68
feat(seed): add /status command to terminal
Mar 31, 2026
2d9dba8
feat(seed): add --version / -v flag
Mar 31, 2026
018f95c
feat(seed): add cocapn/.gitignore for private data
Mar 31, 2026
ef7021c
docs: DeepSeek-Reasoner intelligence layer architecture (47KB)
Mar 31, 2026
9f2deaf
docs: add INTELLIGENCE-LAYER design doc
Mar 31, 2026
9edea4f
feat(seed): add intelligence layer, MCP server, and research modules
Mar 31, 2026
dad5833
test(seed): add intelligence layer tests (38 new, 246 total)
Mar 31, 2026
3a8792b
docs(seed): add DEMOS.md with three demo app descriptions
Mar 31, 2026
14016ca
chore: add demo app directories to .gitignore
Mar 31, 2026
2cee58f
feat: seed polish — channels, analytics, repo browser, PWA manifest, …
Mar 31, 2026
5217a0f
docs: FishingLog.ai vision — edge AI fishing vessel system
Mar 31, 2026
fbad172
chore: rename CedarBeach2019 → Lucineer across all docs
Mar 31, 2026
a1a56fe
docs: coding agent architecture synthesis - Aider, Pi, Kimi CLI, Clau…
Mar 31, 2026
f11eaad
fix: resolve 4 failing seed tests
Mar 31, 2026
6a2d2c1
feat: add Aider-style repo map with PageRank ranking
Mar 31, 2026
2c16a0a
feat: 323 tests passing, repo map, test fixes, deployment polish
Mar 31, 2026
3bd3a9c
chore: fishinglog-ai built and deployed to GitHub
Mar 31, 2026
88fec99
chore: gitignore external repo clones
Mar 31, 2026
cdbf3a9
docs: Tripartite Architecture — Pathos/Logos/Ethos (470 lines)
Mar 31, 2026
88be9db
feat: VS Code extension scaffold (package.json, extension.ts, sidebar)
Apr 1, 2026
8186fd4
feat: commands, context menu, file watcher, terminal integration
Apr 1, 2026
272cfa5
feat: language server, diagnostics, README
Apr 1, 2026
6fdea4d
docs: IDE Integration Design — Claude Code audit, plugin landscape, c…
Apr 1, 2026
3e48b8a
docs: DeepSeek-Reasoner synthesis — agent IS repo vs agent works ON repo
Apr 1, 2026
03c5877
feat: vision module — image generation via Google Gemini API
Apr 1, 2026
df7ea01
docs: DeepSeek-Reasoner vision pipeline architecture (262 lines)
Apr 1, 2026
4baa6cd
feat: style registry — reusable art style presets for all cocapn apps
Apr 1, 2026
a4039a7
feat: generate module — universal asset generation with batch queue
Apr 1, 2026
d65fba2
feat: research daemon — background auto-research system
Apr 1, 2026
6272fdb
feat: generate config schema + tests for generate, research-daemon, s…
Apr 1, 2026
32613f5
feat: unified installer, plugin registry, cross-agent glue
Apr 1, 2026
effb94d
feat: wire Google Gemini into generate + research-daemon, add google.…
Apr 1, 2026
f22ac68
docs: Gemini 3.1 Pro + 2.5 Pro analysis — challenges, strategy, research
Apr 1, 2026
477e657
feat: full config schema validation for cocapn.json
Apr 1, 2026
7774ac7
feat: fork sync — detect upstream, merge, conflict reporting
Apr 1, 2026
794e5c5
feat: scalable memory with archival, indexing, and binary search
Apr 1, 2026
ab95e74
docs: Deep thinking wave — Gemini + DeepSeek on future, competition, …
Apr 1, 2026
267aaa3
feat: add 5 killer example plugins with tests
Apr 1, 2026
cf974f0
docs: Gemini on fishing edge AI + plugin ecosystem design
Apr 1, 2026
fb67dcb
docs: Gemini enterprise design + 8 character/monster portraits
Apr 1, 2026
37f9c79
docs: PersonalLog companion design, Jetson ML specs, blind spots anal…
Apr 1, 2026
623944e
docs: Community sentiment analysis + platform synergy across all models
Apr 1, 2026
3b255b6
docs: The Cocapn Paradigm white paper — vessels, captains, deckhands
Apr 1, 2026
117b5cf
feat: implement Atomic Log — universal data structure for all vessels
Apr 1, 2026
6cada36
feat: implement Universal Handoff Protocol — vessel, handoff, fleet m…
Apr 1, 2026
983b0a7
docs: overnight build session — 24 themed vessels + papermill + white…
Apr 1, 2026
77f307c
docs: easter egg — the vagus nerve manifesto (a2a.ts)
Apr 1, 2026
24c483a
feat: Claude Code integration — .claude/settings, wiki, GitHub templates
Apr 2, 2026
684b71a
feat: minimal vessel — landing page + ecosystem links
Apr 2, 2026
8fc3838
docs: update copyright to Superinstance & Lucineer (DiGennaro et al.)
Apr 2, 2026
0eb8c74
Create worker with landing page, add KV namespace
Apr 2, 2026
a48b5ab
feat: soft actualization, seed routes, confidence scoring, fleet meta…
Apr 3, 2026
7d04719
fix: address test/audit findings
Apr 3, 2026
32bbf74
feat: live demo landing — fleet command center, BYOK, fork/star/clone
Apr 3, 2026
abd8f61
feat: deadband response caching and efficiency metrics. Author: Super…
Apr 3, 2026
5465699
feat: wire deadband caching + confidence tracking into chat flow
Apr 3, 2026
a6afd5f
feat: Phase 2 — self-evaporation engine (lock→cache→LLM pipeline)
Apr 3, 2026
4986123
feat: wire evaporation pipeline + confidence tracking into chat flow
Apr 3, 2026
53c4f1c
feat: Phase 4 — structural memory and cross-repo pattern recognition
Apr 3, 2026
93a4c66
feat: fleet efficiency dashboard and aggregated metrics
Apr 3, 2026
5d4c690
feat: Phase 4B — fleet knowledge graph with cross-domain queries
Apr 3, 2026
fe551ff
feat: add SiliconFlow as BYOK provider (DeepSeek, Kimi, Qwen, GLM-5V)
Apr 3, 2026
e436bb3
feat: Cocapn SDK core — agent, vessel, fleet classes
Apr 3, 2026
294d61a
feat: add missing standard routes (evaporation, kg, memory)
Apr 3, 2026
a529cc6
fix: remove duplicate /api/kg routes
Apr 3, 2026
86b0d36
feat: add Qwen3-Coder-480B to BYOK providers
Apr 3, 2026
c98531f
feat: cross-domain transitions, adversarial heritage, autonomous schema
Apr 3, 2026
ffb1eaf
feat: crystallized actualization — graph that learns from its own sim…
Apr 3, 2026
6c433f8
Add 3 utopian seeds: Fleet Commons, Context Pods, Friction Layer
Apr 3, 2026
97a3b8a
Add cocapn logo v1 to landing page
Apr 4, 2026
219aeb7
Remove broken server-side intelligence endpoint (1042 worker-to-worker)
Apr 4, 2026
22c686d
Add /intelligence redirect to fleet dashboard
Apr 4, 2026
a16d53a
Fleet README refresh — consistent voice, logo, fleet navigation
Apr 4, 2026
7ed52e3
HN-ready README — the agent runtime
Apr 6, 2026
89e7909
Update README - fleet documentation refresh
Lucineer Apr 7, 2026
6e7f0d8
Update README - fleet refresh
Lucineer Apr 7, 2026
7118b36
Update README - fleet refresh
Lucineer Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"permissions": {
"allow": [
"Read",
"Write",
"Bash(npx wrangler *)",
"Bash(git *)",
"Bash(node *)",
"Bash(npm *)"
],
"deny": []
},
"plugins": [],
"agentDefaults": {
"model": "claude-sonnet-4-20250514"
}
}
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description
<!-- What does this PR do? -->

## Type
- [ ] Feature
- [ ] Bug fix
- [ ] Refactor
- [ ] Documentation

## Testing
<!-- How was this tested? -->

## Author
Superinstance
135 changes: 135 additions & 0 deletions .github/workflows/cocapn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
name: Cocapn Agent

on:
push:
branches: [main]
schedule:
- cron: '0 */6 * * *' # every 6 hours
workflow_dispatch:
inputs:
mode:
description: 'Agent mode'
required: false
default: 'private'
type: choice
options:
- private
- public
- maintenance

permissions:
contents: read

jobs:
agent:
name: Run Cocapn Agent
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # full history for RepoLearner

- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install cocapn CLI
run: npm install -g cocapn

- name: Start agent in background
run: |
cocapn start --mode ${{ inputs.mode || 'private' }} &
AGENT_PID=$!
echo "AGENT_PID=$AGENT_PID" >> "$GITHUB_ENV"
echo "Agent started (PID $AGENT_PID)"

- name: Wait for health check
run: |
echo "Waiting for agent to become healthy..."
for i in $(seq 1 30); do
if curl -sf http://localhost:3100/api/status > /dev/null 2>&1; then
echo "Agent is healthy after ${i}s"
exit 0
fi
sleep 1
done
echo "::warning::Agent did not become healthy within 30s, proceeding with offline checks"
kill $AGENT_PID 2>/dev/null || true

- name: Validate brain integrity
run: |
echo "=== Brain Integrity Check ==="
cocapn status --json > status.json 2>&1 || true

# Check facts store exists and is valid JSON
if [ -f memory/facts.json ]; then
echo "facts.json: $(python3 -c "import json; d=json.load(open('memory/facts.json')); print(f'{len(d)} entries')" 2>/dev/null || echo 'parse error')"
else
echo "::warning::facts.json not found"
fi

# Check memories store
if [ -f memory/memories.json ]; then
echo "memories.json: $(python3 -c "import json; d=json.load(open('memory/memories.json')); print(f'{len(d)} entries')" 2>/dev/null || echo 'parse error')"
else
echo "::warning::memories.json not found"
fi

# Check soul.md
if [ -f soul.md ]; then
echo "soul.md: $(wc -l < soul.md) lines"
else
echo "::warning::soul.md not found"
fi

# Check wiki
if [ -d wiki ]; then
WIKI_COUNT=$(find wiki -name '*.md' | wc -l)
echo "wiki: ${WIKI_COUNT} pages"
fi

- name: Run tests
if: ${{ inputs.mode != 'public' }}
run: |
echo "=== Running Tests ==="
if [ -f package.json ] && grep -q '"test"' package.json; then
npm test 2>&1 || echo "::warning::Some tests failed"
elif [ -d packages/local-bridge ]; then
cd packages/local-bridge && npx vitest run 2>&1 || echo "::warning::Some tests failed"
else
echo "No test runner found, skipping"
fi

- name: Report status
if: always()
run: |
echo "### Cocapn Agent Report" >> "$GITHUB_STEP_SUMMARY"
echo "" >> "$GITHUB_STEP_SUMMARY"

if [ -f status.json ]; then
echo '```json' >> "$GITHUB_STEP_SUMMARY"
cat status.json >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
else
echo "_No status data available (agent may not have started)_" >> "$GITHUB_STEP_SUMMARY"
fi

# Brain summary
echo "" >> "$GITHUB_STEP_SUMMARY"
echo "**Brain Stores:**" >> "$GITHUB_STEP_SUMMARY"
for store in facts.json memories.json procedures.json relationships.json; do
if [ -f "memory/$store" ]; then
echo "- \`memory/$store\`: $(wc -c < "memory/$store") bytes" >> "$GITHUB_STEP_SUMMARY"
fi
done

- name: Cleanup
if: always()
run: |
if [ -n "$AGENT_PID" ]; then
kill $AGENT_PID 2>/dev/null || true
echo "Agent stopped"
fi
57 changes: 57 additions & 0 deletions .github/workflows/seed-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Seed Deploy

on:
push:
branches: [main]
paths: ['packages/seed/**']
pull_request:
branches: [main]
paths: ['packages/seed/**']

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/seed
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npm install
- run: npm run typecheck
- run: npm test

deploy-cloudflare:
needs: test
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/seed
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npx wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

publish-npm:
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/seed
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
- run: npm install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 2 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
node_modules/
dist/
*.cjs
*.js.map
*.d.ts.map
.env
.env.*
.env.local
.env.production
*.secret.yml
secrets/*.yml
!secrets/*.yml.example
*.age
.DS_Store
.remember/
.idea/
.vscode/
*.swp
*.swo
*~
.wrangler/
.dev.vars
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ All notable changes to cocapn will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - 2026-03-30

### Breaking Changes
- **Paradigm shift**: The repo IS the agent (not 'an agent runtime')
- **Two-repo model**: Private brain repo + public face repo
- **Removed**: tree-search, graph, assembly, testing, browser-automation, landing, marketplace packages (~30K lines)

### New Features
- **RepoLearner**: Git history analysis for repo understanding
- **Publishing Layer**: Public/private boundary enforcement, PII sanitizer, mode switcher
- **Brain Mode-Aware Access**: Public mode filters private.* facts
- **soul.md Compiler**: YAML frontmatter parsing, section extraction, public/private system prompts
- **Soul Templates**: 5 ready-to-use templates (fishing-buddy, dungeon-master, deckboss, developer-assistant, student-tutor)
- **A2A I/O Layer**: Agent-to-agent communication with HTTP and local transport
- **Local LLM Provider**: Ollama + llama.cpp for offline/air-gapped deployment
- **TwoRepoSync**: Manages private brain + public face repos simultaneously
- **Docker Support**: Multi-stage Dockerfile, docker-compose, air-gapped deployment
- **Onboarding Wizard**: Interactive `cocapn setup` CLI command
- **Community Knowledge Pipeline**: Git-based model improvement (ingest, validate, export)
- **Status Dashboard API**: Real-time agent health, memory, fleet metrics

### Improvements
- Brain lock path now per-repo (not global homedir)
- Brain test isolation fixed (conversation-memory, knowledge-pack pass in batch)
- create-cocapn tests converted from node:test to vitest
- README rewritten for repo-first paradigm
- CLAUDE.md rewritten for new architecture

### Infrastructure
- 134 commits, 280 source files, 119 test files, ~98K lines TypeScript
- 832+ tests pass across 14+ test suites

## [0.1.0] - 2026-03-29

### Added
Expand Down Expand Up @@ -68,4 +100,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- CONTRIBUTING.md, SECURITY.md
- 104 test files, ~1500+ tests

[0.1.0]: https://github.com/CedarBeach2019/cocapn/releases/tag/v0.1.0
[0.2.0]: https://github.com/Lucineer/cocapn/releases/tag/v0.2.0
[0.1.0]: https://github.com/Lucineer/cocapn/releases/tag/v0.1.0
Loading
Loading