Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

chore: remove memory file from repo (saved to OpenClaw memory instead)

Mario4b5a72b663b7
diff --git a/memory/LATEST.md b/memory/LATEST.md
deleted file mode 100644
index 784f3945..00000000
--- a/memory/LATEST.md
+++ /dev/null
@@ -1,132 +0,0 @@
-# Latest Session Work - 2026-03-01 Evening
-
-## Summary
-
-Production-ready multi-instance Pinchtab with comprehensive testing, CLI, and profile management refinements. PR #60 open showing Phase 6 completion + improvements.
-
-## Session Work (2026-03-01 Evening)
-
-### 1. Initial Issues & Fixes
-- Fixed Go 1.26 HTTP routing conflict (explicit method prefixes: GET /snapshot, POST /navigate)
-- Fixed nil pointer panic in Logs() endpoint
-- Fixed GET /profiles returning null instead of []
-- Fixed POST /instances/launch to support empty body with auto-generated names
-
-### 2. CLI Enhancements ✅
-- **`pinchtab instance launch`** - Create instances
- - `--mode headed` for visible Chrome
- - `--port 9999` for specific port
- - Returns instance ID for scripting
-
-- **`pinchtab instance logs <id>`** - Get instance logs for debugging
-- **`pinchtab instance stop <id>`** - Stop instance
-- **`pinchtab instances`** - List instances (JSON format)
-- Updated help text with subcommands
-
-### 3. Profile Management Improvements ✅
-- **Mark temporary profiles**: Added `Temporary` field to ProfileInfo
-- **Auto-generated instance profiles** (instance-*) marked as temporary
-- **Filter GET /profiles** - excludes temporary by default
-- **GET /profiles?all=true** - shows all including temporary
-- **Delete on stop** - Both profile directory AND metadata deleted when instance stops
-
-### 4. Instance Lifecycle ✅
-```bash
-# Create
-./pinchtab instance launch # headless, auto-port, auto-name
-./pinchtab instance launch --mode headed # visible window
-./pinchtab instance launch --port 9999 # specific port
-
-# Monitor
-./pinchtab instances # list all (JSON)
-./pinchtab instance logs inst_XXXXX # debug
-
-# Stop (cleans up everything)
-./pinchtab instance stop inst_XXXXX # kills instance + deletes temp profile
-```
-
-## Commits (Today)
-
-1. `7063fdd` - HTTP method prefixes for Go 1.26
-2. `d7e8537` - Nil check in Logs()
-3. `fab7eba` - Empty array for empty profiles
-4. `512c013` - Empty body POST /instances/launch
-5. `8449f1c` - CLI instances JSON output
-6. `e822022` - Add 'instance' to CLI commands
-7. `1644c3e` - pinchtab launch command
-8. `a43429a` - Refactor: instance launch (mode/port params)
-9. `4a1d467` - instance logs/stop subcommands
-10. `d929731` - Auto-delete temp profiles on shutdown
-11. `5fa7655` - Mark + filter temp profiles from GET /profiles
-
-## PR Created
-
-**PR #60** - "feat: Phase 6 completion + orchestrator improvements + CLI enhancements"
-- Phase 6 complete (multi-instance architecture)
-- 11 automated integration tests
-- Comprehensive manual testing guide (16 scenarios)
-- Phase 7 & 8 proposals (performance & UI enhancements)
-- 5 bug fixes + CLI enhancements
-- All 195+ tests passing
-
-## Test Status
-
-✅ **195+ unit tests passing** (all packages)
-✅ **Pre-commit checks passing** (gofmt, vet, test, docs validation)
-✅ **11 automated integration tests** for orchestrator
-✅ **16 manual test scenarios** documented
-✅ **No regressions** from all changes
-
-## Architecture Notes
-
-### Instance Lifecycle
-1. Create: `pinchtab instance launch` → auto-generated profile (temporary: true)
-2. Run: Instance spawned on auto-allocated port (9868+)
-3. Use: Navigate, snapshot, actions, etc. via CLI or API
-4. Stop: `pinchtab instance stop` → Delete profile + release port
-
-### Profile Types
-- **User-created**: Persistent, appears in /profiles list
-- **Temporary (instance-*)**: Ephemeral, auto-deleted on instance stop, hidden from /profiles by default
-
-### API Endpoints
-- **Instance mgmt**: POST /instances/launch, GET /instances, POST /instances/{id}/stop
-- **Profiles**: GET /profiles (filtered), GET /profiles?all=true (all including temp)
-- **Instance ops**: 40+ proxy endpoints (navigate, snapshot, screenshot, etc.)
-
-## Key Files Modified
-
-- `cmd/pinchtab/cmd_cli.go` - New instance commands
-- `internal/orchestrator/orchestrator.go` - Profile deletion
-- `internal/profiles/profiles.go` - Temporary flag + filtering
-- `internal/profiles/handlers.go` - GET /profiles filtering
-- `internal/bridge/api.go` - ProfileInfo.Temporary field
-- `cmd/pinchtab/cmd_dashboard.go` - HTTP method prefixes
-- `internal/orchestrator/handlers.go` - Empty body support
-
-## Current Status
-
-- **Branch**: feat/make-cli-useful
-- **Latest commit**: 5fa7655 (mark + filter temp profiles)
-- **Tests**: All 195+ passing
-- **PR**: #60 open for review
-- **Ready for**: Production deployment or continued iteration
-
-## Next Steps (Optional)
-
-**Phase 7**: Performance optimization
-- Benchmarking (latency, memory, concurrent limits)
-- Connection pooling, caching, batch operations
-- 100+ instance stress testing
-
-**Phase 8**: Dashboard UI enhancements
-- Instance monitoring (Chrome status, memory/CPU)
-- Batch operations
-- Search/filter, details modal, live logs
-
----
-
-**Session Duration**: ~1 hour
-**Lines Changed**: 100+ across 11 commits
-**Test Coverage**: Maintained 195+ tests + added 11 new integration tests
-**Documentation**: Phase 7 & 8 proposals (877 LOC), manual testing guide (518 LOC)