xiaohongshu
xiaohongshu
fresh-install-testing
Test Orient from a clean clone to validate the full development setup and test suite
Full skill instructions
Test Orient from a clean clone to validate the full development setup and test suite.
cd /Users/tombensim/code/tombensim
git clone https://github.com/orient-bot/orient.git orient-fresh-test
cd orient-fresh-test
Note: The remote URL is https://github.com/orient-bot/orient.git (not the personal fork).
# Verify LFS binaries are fetched (not pointers)
git lfs pull
# Verify bundled binary checksums match
./installer/install-local.sh --check
./run.sh doctor --fix
This will:
.env from .env.example if missing.mcp.config.local.json from templatepnpm install automaticallycp /Users/tombensim/code/tombensim/orient/.env /Users/tombensim/code/tombensim/orient-fresh-test/.env
This copies Slack credentials and other secrets needed for live testing.
pnpm build:packages
Builds all 16 workspace packages. Required before running tests.
./run.sh dev-local
This starts the development environment using SQLite (no PostgreSQL required).
./run.sh stop
| Category | Command | Expected Tests |
|---|---|---|
| Unit | pnpm test:unit | ~243 |
| Integration | INTEGRATION_TESTS=true pnpm test:integration | ~43 |
| Contract | pnpm vitest run tests/contracts/ | ~20 |
| Config | pnpm vitest run tests/config/ | ~22 |
| Services | pnpm vitest run tests/services/ | ~22 |
| E2E | E2E_TESTS=true pnpm test:e2e | ~50 |
| Eval | pnpm test:eval | ~53 |
| Docker | pnpm test:docker:build (optional, slow) | ~10 |
Timeouts vs Failures:
Expected Skips:
The test runner doesn't automatically read .env. Export credentials explicitly:
cd /Users/tombensim/code/tombensim/orient-fresh-test
export SLACK_BOT_TOKEN=$(grep SLACK_BOT_TOKEN .env | cut -d= -f2)
export SLACK_USER_TOKEN=$(grep SLACK_USER_TOKEN .env | cut -d= -f2)
E2E_TESTS=true RUN_SLACK_LIVE_TESTS=true \
SLACK_BOT_TOKEN="$SLACK_BOT_TOKEN" \
SLACK_USER_TOKEN="$SLACK_USER_TOKEN" \
pnpm vitest run tests/e2e/slack-live.e2e.test.ts
Note: source .env often fails due to comments or special characters in .env files.
./run.sh dev-local
curl -s http://localhost:4098/qr/status | jq .
# Should show: {"qrGenerated":true,"connected":true,"state":"open"}
Symptom: Phone shows "logging in" but never completes, or immediately logs out.
Cause: Session conflict with another instance using the same WhatsApp account.
Solution:
grep -E "(loggedOut|logged out)" .dev-data/instance-0/logs/*.log
Log Locations:
.dev-data/instance-0/logs/dashboard.log.dev-data/instance-0/logs/whatsapp-*.logcurl -s http://localhost:4098/health | jq .
# Should return: {"status":"ok","timestamp":"..."}
curl -s -o /dev/null -w "%{http_code}" http://localhost:4098/
# Should return: 200
curl -s http://localhost:4098/qr/status | jq .
# Should return: {"qrGenerated":true,"connected":true,"state":"open"}
sqlite3 .dev-data/instance-0/orient.db "SELECT COUNT(*) FROM agents;"
# Should return: 5 (or more)
./installer/install-local.sh --check # Verify versions/checksums
./installer/install-local.sh # Install to ~/.orient/bin/
# Clean slate
rm -rf ~/.orient
# Run installer
bash installer/install.sh
# Verify
orient doctor
orient start
curl -s http://localhost:4098/health | jq .
orient stop
pnpm test:installer:docker
After installer:
orient --help # Shows help
orient doctor # All checks pass
orient start # Starts services
orient status # Shows "online" status
orient logs # Shows logs
orient stop # Stops services
orient config # Opens config in editor
orient version # Shows 0.2.0
cd /Users/tombensim/code/tombensim/orient-fresh-test
./run.sh stop
cd ..
rm -rf orient-fresh-test
# Clone and setup
cd /Users/tombensim/code/tombensim
rm -rf orient-fresh-test
git clone https://github.com/orient-bot/orient.git orient-fresh-test
cd orient-fresh-test
git lfs pull
./run.sh doctor --fix
cp ../orient/.env .env
pnpm build:packages
# Start dev-local mode
./run.sh dev-local
# Run all tests
pnpm test:unit
INTEGRATION_TESTS=true pnpm test:integration
pnpm vitest run tests/contracts/
pnpm vitest run tests/config/
pnpm vitest run tests/services/
E2E_TESTS=true pnpm test:e2e
pnpm test:eval
# Verify health
curl -s http://localhost:4098/health | jq .
# Cleanup
./run.sh stop
| Category | Tests Passed | Notes |
|---|---|---|
| Unit | ~243 | |
| Integration | ~43 | |
| Contract | ~20 | |
| Config | ~22 | |
| Services | ~22 | |
| E2E | ~50 | Timeout failures acceptable |
| Eval | ~15 | 38 known failures (acceptable) |
| Slack Live | ~9 | Requires credential export |
| Total | ~380+ |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience