Add remote visual access skill
This commit is contained in:
parent
52c7a553c7
commit
4ad3ff248d
7 changed files with 173 additions and 0 deletions
17
AGENTS.md
17
AGENTS.md
|
|
@ -58,6 +58,7 @@ Record only durable knowledge:
|
||||||
- user clarifications that affect a project's technical specification or workflow.
|
- user clarifications that affect a project's technical specification or workflow.
|
||||||
- MCP servers, installation notes, configuration snippets, and verification steps.
|
- 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.
|
- 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
|
## 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.
|
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/<machine>.md`.
|
||||||
|
6. If the setup produces reusable commands or troubleshooting, update `skills/remote-visual-access.md` or `problems/`.
|
||||||
|
|
||||||
## Update Discipline
|
## Update Discipline
|
||||||
|
|
||||||
When a problem is solved:
|
When a problem is solved:
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ Private repository access is required. A link lets an agent locate the repositor
|
||||||
- Use ISO dates: `YYYY-MM-DD`.
|
- Use ISO dates: `YYYY-MM-DD`.
|
||||||
- Store reusable knowledge globally, even when it was discovered inside a specific project.
|
- 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.
|
- 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
|
## Naming
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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`.
|
- 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`.
|
- 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.
|
- 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.
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ The simulator must support:
|
||||||
|
|
||||||
- inventory and consolidation of scattered local projects/repositories from three computers;
|
- inventory and consolidation of scattered local projects/repositories from three computers;
|
||||||
- completion of existing auto-simulator work;
|
- completion of existing auto-simulator work;
|
||||||
|
- remote visual access for setup/debugging through cameras and VNC where useful;
|
||||||
- a controllable snow-removal truck;
|
- a controllable snow-removal truck;
|
||||||
- a snow-covered area;
|
- a snow-covered area;
|
||||||
- a snow-clearing mechanic;
|
- 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: 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: 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: 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
|
## 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.
|
- 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.
|
- Existing local simulator projects must be inventoried before merging or rewriting.
|
||||||
- Project consolidation must preserve useful work, decisions, and reusable solutions.
|
- 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 user must be able to control the truck.
|
||||||
- The environment must include snow that can be removed, pushed, reduced, or marked as cleared.
|
- The environment must include snow that can be removed, pushed, reduced, or marked as cleared.
|
||||||
- The simulator must track snow-clearing progress.
|
- 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.
|
- 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.
|
- 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.
|
- 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
|
## Technical Assumptions
|
||||||
|
|
||||||
|
|
@ -97,6 +103,8 @@ The simulator must support:
|
||||||
- Input mapping for Moza steering wheel, pedals, and gearbox.
|
- Input mapping for Moza steering wheel, pedals, and gearbox.
|
||||||
- Input mapping for plow joystick.
|
- Input mapping for plow joystick.
|
||||||
- Mirror camera definitions and NDI stream names for tablets.
|
- 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
|
## Hardware And Installation
|
||||||
|
|
||||||
|
|
@ -165,6 +173,8 @@ The simulator must support:
|
||||||
- Inventory existing repositories and projection work.
|
- Inventory existing repositories and projection work.
|
||||||
- Identify and document all three source computers.
|
- Identify and document all three source computers.
|
||||||
- Inventory local projects and repositories on 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.
|
- Decide merge strategy for scattered simulator projects.
|
||||||
- Confirm the final runtime computer, expected to be `Pump`.
|
- Confirm the final runtime computer, expected to be `Pump`.
|
||||||
- Choose target platform and engine.
|
- Choose target platform and engine.
|
||||||
|
|
@ -199,3 +209,5 @@ The simulator must support:
|
||||||
- How many tablet mirror feeds are required?
|
- How many tablet mirror feeds are required?
|
||||||
- What network is used for NDI traffic?
|
- What network is used for NDI traffic?
|
||||||
- What is the final joystick hardware interface for the plow controller?
|
- 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?
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,4 @@
|
||||||
- `self-learning-agent-loop.md` - required loop for agents to learn from work and update shared memory.
|
- `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.
|
- `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.
|
- `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.
|
||||||
|
|
|
||||||
105
skills/remote-visual-access.md
Normal file
105
skills/remote-visual-access.md
Normal file
|
|
@ -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://<CAMERA_USER>:<CAMERA_PASSWORD>@<CAMERA_HOST>/<PATH>
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/<machine>.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/<machine>.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/<machine>.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.
|
||||||
|
|
||||||
28
templates/remote-visual-access.md
Normal file
28
templates/remote-visual-access.md
Normal file
|
|
@ -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.
|
||||||
|
|
||||||
Reference in a new issue