diff --git a/AGENTS.md b/AGENTS.md index 4ddf1d2..e9a86c3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -58,6 +58,7 @@ Record only durable knowledge: - user clarifications that affect a project's technical specification or workflow. - MCP servers, installation notes, configuration snippets, and verification steps. - short summaries from separate agent dialogues when they contain useful decisions, solved problems, requirements, or project state. +- remote visual access setup: webcams/cameras for external environment analysis and VNC access for remote computer control. ## Global Knowledge First @@ -133,6 +134,22 @@ After writing the dialogue summary: Do not paste full chat transcripts unless the user explicitly asks. Summarize them. +## Remote Visual Access + +Agents should help maintain remote visual access on project computers: + +- webcam or camera access for analyzing the external physical environment; +- VNC access for remote desktop control when appropriate. + +Rules: + +1. Prefer free official or well-maintained open-source tools. +2. TigerVNC is the preferred VNC option unless a machine has a better native/official remote desktop path. +3. Store hostnames, ports, roles, setup steps, and verification methods. +4. Do not store VNC passwords, camera passwords, tokens, or private keys. +5. When a camera or VNC endpoint is configured, update the relevant `locations/.md`. +6. If the setup produces reusable commands or troubleshooting, update `skills/remote-visual-access.md` or `problems/`. + ## Update Discipline When a problem is solved: diff --git a/README.md b/README.md index b026dca..d2326b5 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Private repository access is required. A link lets an agent locate the repositor - Use ISO dates: `YYYY-MM-DD`. - Store reusable knowledge globally, even when it was discovered inside a specific project. - Prefer free official MCP servers; document any unofficial or paid MCP server before using it. +- For physical/remote machines, document camera access and VNC access without storing secrets. ## Naming diff --git a/projects/garage/agent-log.md b/projects/garage/agent-log.md index 5db3c7f..89f8dd3 100644 --- a/projects/garage/agent-log.md +++ b/projects/garage/agent-log.md @@ -133,3 +133,12 @@ - Files changed: Updated `projects/garage/repositories.md`, `projects/garage/computers.md`, `locations/project-repos-192-168-1-66.md`, `problems/index.md`; added `problems/2026-05-24-stereowallnd-embedded-camera-credentials.md`. - Verified: `airM1` can run `git ls-remote` against both bare repositories. `airM1` was added to group `stereowallnd`. - Next handoff: Clone/inspect both repositories as `airM1`, add missing root `AGENTS.md` to `Kamaz_Cleaner`, and decide merge strategy. + +## 2026-05-24 - Remote Visual Access Requirement + +- Machine: current Codex desktop machine. +- Agent: Codex. +- Summary: User requested a shared capability for all computers to connect webcams/cameras for external environment analysis and control computers through VNC, suggesting TigerVNC. +- Files changed: Added `skills/remote-visual-access.md`, `templates/remote-visual-access.md`, and updated global/project instructions. +- Verified: Requirement captured without storing any camera/VNC credentials. +- Next handoff: Inventory available cameras and choose VNC setup per machine, preferring TigerVNC where suitable. diff --git a/projects/garage/technical-spec.md b/projects/garage/technical-spec.md index 46c12a8..a25cfa2 100644 --- a/projects/garage/technical-spec.md +++ b/projects/garage/technical-spec.md @@ -16,6 +16,7 @@ The simulator must support: - inventory and consolidation of scattered local projects/repositories from three computers; - completion of existing auto-simulator work; +- remote visual access for setup/debugging through cameras and VNC where useful; - a controllable snow-removal truck; - a snow-covered area; - a snow-clearing mechanic; @@ -36,6 +37,8 @@ The simulator must support: - Use case: view truck mirrors on tablets through NDI video streams. - Use case: inspect three garage computers as sources of existing simulator code, assets, calibration work, and project fragments. - Use case: consolidate scattered local projects into a coherent garage simulator project without losing useful history or solutions. +- Use case: connect cameras/webcams so agents can inspect the physical simulator environment and calibration state. +- Use case: control project computers remotely through VNC, preferably TigerVNC when suitable. ## Functional Requirements @@ -45,6 +48,8 @@ The simulator must support: - Each source computer must be documented in `locations/` once its name, role, and access method are known. - Existing local simulator projects must be inventoried before merging or rewriting. - Project consolidation must preserve useful work, decisions, and reusable solutions. +- Project computers should support camera/webcam viewing for physical environment analysis where useful. +- Project computers should support VNC remote control where useful; TigerVNC is the preferred open-source option unless a better native/official option is selected. - The user must be able to control the truck. - The environment must include snow that can be removed, pushed, reduced, or marked as cleared. - The simulator must track snow-clearing progress. @@ -72,6 +77,7 @@ The simulator must support: - The simulator should separate rendering, input devices, projection calibration, and NDI output enough that they can be tested independently. - Source-computer inventory must be documented so agents can understand where each project fragment came from. - Repository/project merging must follow the shared multi-repository workflow and avoid destructive actions until inventory is complete. +- Camera and VNC credentials must not be stored in this repository. ## Technical Assumptions @@ -97,6 +103,8 @@ The simulator must support: - Input mapping for Moza steering wheel, pedals, and gearbox. - Input mapping for plow joystick. - Mirror camera definitions and NDI stream names for tablets. +- Camera/webcam inventory for external environment analysis. +- VNC endpoint inventory for remote control. ## Hardware And Installation @@ -165,6 +173,8 @@ The simulator must support: - Inventory existing repositories and projection work. - Identify and document all three source computers. - Inventory local projects and repositories on all three source computers. +- Inventory cameras/webcams useful for setup and calibration analysis. +- Configure or document VNC access for project computers, preferably TigerVNC where suitable. - Decide merge strategy for scattered simulator projects. - Confirm the final runtime computer, expected to be `Pump`. - Choose target platform and engine. @@ -199,3 +209,5 @@ The simulator must support: - How many tablet mirror feeds are required? - What network is used for NDI traffic? - What is the final joystick hardware interface for the plow controller? +- Which cameras/webcams are available for physical environment analysis? +- Which computers should run VNC, and should TigerVNC be used on each? diff --git a/skills/index.md b/skills/index.md index e4169c9..dd3de50 100644 --- a/skills/index.md +++ b/skills/index.md @@ -10,3 +10,4 @@ - `self-learning-agent-loop.md` - required loop for agents to learn from work and update shared memory. - `mcp-server-management.md` - how agents keep a shared MCP server set synchronized across machines. - `dialog-summary-import.md` - how agents summarize useful context from separate dialogues into this repository. +- `remote-visual-access.md` - how agents set up webcams/cameras and VNC for remote visual analysis and control. diff --git a/skills/remote-visual-access.md b/skills/remote-visual-access.md new file mode 100644 index 0000000..a1a487b --- /dev/null +++ b/skills/remote-visual-access.md @@ -0,0 +1,105 @@ +# Remote Visual Access + +## Purpose + +Give agents a repeatable way to see the physical environment through cameras and control remote computers through VNC. + +## Scope + +This skill covers: + +- connecting webcams or network cameras; +- viewing camera images for external environment analysis; +- configuring VNC for remote desktop control; +- documenting machine-specific visual access without storing secrets. + +## Tool Preference + +For VNC, prefer: + +- TigerVNC: https://github.com/TigerVNC/tigervnc + +Reason: + +- free; +- open source; +- cross-platform; +- widely used. + +Use a native or official remote desktop path instead when it is clearly better for the target OS or project requirements. + +## Camera Access Requirements + +For each webcam or network camera, document: + +- machine/location; +- device name or camera role; +- connection type: USB, RTSP, HTTP snapshot, NDI, browser source, or other; +- local device path or URL pattern with credentials redacted; +- resolution and frame rate if known; +- purpose: external environment analysis, projection calibration, operator view, safety check, etc.; +- command or app used to view/capture frames; +- verification method. + +Never store camera passwords or tokens. Use placeholders: + +```text +rtsp://:@/ +``` + +## VNC Requirements + +For each VNC endpoint, document: + +- machine name; +- host/IP; +- VNC server implementation; +- port; +- display/session name; +- access method; +- whether it starts on boot; +- verification command; +- security notes. + +Never store VNC passwords. Store only that credentials exist outside the repository. + +## Suggested TigerVNC Setup Notes + +Record OS-specific commands in the target machine's `locations/.md` after verifying them. + +Generic fields to capture: + +```text +VNC server: TigerVNC +Host: +Port: +Display: +User: +Starts on boot: +Credentials stored outside repository: +Verification: +``` + +## Agent Procedure + +1. Identify the target machine and project. +2. Check `locations/.md` for existing camera/VNC setup. +3. Install or verify camera/VNC tools if access is available. +4. Confirm the agent can view a camera frame or connect to the VNC session. +5. Update `locations/.md` with non-secret setup details. +6. If this solves a reusable problem, add a `problems/` entry. +7. If a new tool becomes standard, update the relevant registry or skill. + +## Security + +Do not store: + +- camera passwords; +- VNC passwords; +- API tokens; +- SSH private keys; +- session cookies; +- full secret URLs. + +If a repository already contains embedded camera or VNC credentials, record the risk and recommend rotation/redaction. + diff --git a/templates/remote-visual-access.md b/templates/remote-visual-access.md new file mode 100644 index 0000000..50fb654 --- /dev/null +++ b/templates/remote-visual-access.md @@ -0,0 +1,28 @@ +# Remote Visual Access + +## Machine + +Machine name. + +## Cameras + +| Name | Role | Type | Address/Device | Viewer/Capture Command | Status | +| --- | --- | --- | --- | --- | --- | +| camera-name | purpose | USB/RTSP/HTTP/NDI | redacted pattern | command/app | unknown | + +## VNC + +| Server | Host | Port | User | Starts On Boot | Status | +| --- | --- | --- | --- | --- | --- | +| TigerVNC | host | 5900 | user | unknown | unknown | + +## Verification + +- Camera: +- VNC: + +## Security Notes + +- Credentials are stored outside this repository. +- Secret URLs must use placeholders. +