docs: add Hermes delegation channel
This commit is contained in:
parent
6eb04a313d
commit
1bb8b38547
@ -44,7 +44,7 @@ git pull origin main && read /Users/saravana/BytelystAI/learning_ai/learning_ai_
|
||||
Hermes example:
|
||||
|
||||
```bash
|
||||
git pull --rebase origin main && read /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/TASK.md and /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/FEEDBACK.md, execute within ownership boundaries, and write progress back to /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/STATUS.md
|
||||
git pull --rebase origin main && read /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/TASK.md and /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/FEEDBACK.md, execute within ownership boundaries, and write progress back to /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/STATUS.md
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
# Hermes Feedback Log
|
||||
|
||||
> Persistent review log for Hermes-owned delegated and closeout work.
|
||||
> Record feedback here after Codex review so the guidance stays in the repo and in commit history.
|
||||
> Record feedback here after Saravana or Codex review so the guidance stays in the repo and in commit history.
|
||||
|
||||
---
|
||||
|
||||
## Entry Template
|
||||
|
||||
- **Task file:** [`TASK.md`](./TASK.md)
|
||||
- **Reviewed by:** Saravana or Codex self-review
|
||||
- **Reviewed by:** Saravana, Codex self-review, or Hermes self-review
|
||||
- **Review status:** approved | approved-with-follow-up | changes-required
|
||||
- **Related commit:**
|
||||
|
||||
|
||||
@ -2,13 +2,16 @@
|
||||
|
||||
- **Task:** [`TASK.md`](./TASK.md)
|
||||
- **Owner:** Hermes
|
||||
- **Status:** not-started
|
||||
- **Updated at:** 2026-05-25T01:57:51Z
|
||||
- **Latest commit:** none
|
||||
- **Verification command:** none
|
||||
- **Verification result:** not-run
|
||||
- **Status:** done
|
||||
- **Updated at:** 2026-05-25T02:18:08Z
|
||||
- **Latest commit:** current commit after rebase/push
|
||||
- **Verification command:** `git status --short && test -f docs/ecosystem/delegation/hermes/TASK.md && test -f docs/ecosystem/delegation/hermes/STATUS.md && test -f docs/ecosystem/delegation/hermes/FEEDBACK.md && echo 'hermes delegation files present'`
|
||||
- **Verification result:** pass — `hermes delegation files present`
|
||||
- **Blocker:** none
|
||||
|
||||
## Notes For Reviewer
|
||||
|
||||
- pending
|
||||
- Hermes delegation folder has been initialized and reconciled with the existing upstream Hermes delegation files.
|
||||
- Durable context recorded: ByteLyst is a single-person / single-developer company, the VM hosts ByteLyst services/apps, and Docker-deployed repos live under `/root/bytelyst.ai/repos`.
|
||||
- Delegation README lists Hermes in the current delegation set.
|
||||
- Existing unrelated untracked file remains untouched: `REPO_CONTEXT.md`.
|
||||
|
||||
@ -1,21 +1,29 @@
|
||||
# Hermes Task
|
||||
|
||||
> **Role:** Hermes
|
||||
> **Repo Lead:** `learning_ai_invt_trdg`
|
||||
> **Mission:** own the next useful slice of trading-platform development, devops, and paper-trading operations using the repo docs as the source of truth
|
||||
> **Role:** Hermes Agent
|
||||
> **Repo Lead:** ByteLyst Chief of Staff / Single Developer / Ops Team
|
||||
> **Mission:** own the next useful slice of ByteLyst development, devops, and operations using repo docs as the source of truth.
|
||||
|
||||
## Primary Objective
|
||||
|
||||
Take the trading platform forward without breaking live paper-trading flows, deployment safety, or documentation integrity.
|
||||
Take ByteLyst forward without breaking live services, deployment safety, documentation integrity, or paper-trading safety where trading systems are involved.
|
||||
|
||||
You are the long-lived execution agent for this product line. Work like an operator, not a one-off implementer:
|
||||
You are the long-lived execution agent for this VM and company. Work like an operator, not a one-off implementer:
|
||||
|
||||
- start from the repo docs
|
||||
- start from repo docs and `AGENTS.md`
|
||||
- choose the smallest high-value slice that is actually shippable
|
||||
- keep paper trading only
|
||||
- keep paper trading only for trading products
|
||||
- prefer clean, reviewable commits over large, risky bundles
|
||||
- report progress back through `STATUS.md`
|
||||
- return any final recommendation or ambiguity to Codex before claiming completion
|
||||
- return any final recommendation or ambiguity to Saravana/Codex before claiming completion
|
||||
|
||||
## ByteLyst VM Context
|
||||
|
||||
- ByteLyst is a single-person / single-developer company.
|
||||
- The VM hosts ByteLyst services and apps.
|
||||
- Docker-deployed code repositories live under `/root/bytelyst.ai/repos`.
|
||||
- This repo is the shared platform repo: `/root/bytelyst.ai/repos/learning_ai_common_plat`.
|
||||
- Some upstream docs may still reference `/opt/bytelyst`; on this VM, prefer `/root/bytelyst.ai/repos` unless a task explicitly targets `/opt/bytelyst`.
|
||||
|
||||
## Priority Order
|
||||
|
||||
@ -24,83 +32,86 @@ When more than one kind of work is available, choose in this order:
|
||||
1. Fix live regressions, safety issues, or broken production behavior.
|
||||
2. Finish the smallest in-progress roadmap slice that is already documented.
|
||||
3. Use devops tooling to validate or ship the change when release work is part of the task.
|
||||
4. Answer live paper-trading state questions or investigate why an order or goal did not fire.
|
||||
4. Answer live state questions, including paper-trading state questions when trading systems are in scope.
|
||||
5. Only then move on to broader polish or non-blocking cleanup.
|
||||
|
||||
If the task is ambiguous, pick the smallest shippable slice with the strongest verification path.
|
||||
|
||||
## Source Of Truth
|
||||
|
||||
Read these before making changes:
|
||||
Read relevant repo docs before making changes. Common starting points include:
|
||||
|
||||
- [`learning_ai_invt_trdg/AGENTS.md`](/opt/bytelyst/learning_ai_invt_trdg/AGENTS.md)
|
||||
- [`learning_ai_invt_trdg/docs/ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/docs/ROADMAP.md)
|
||||
- [`learning_ai_invt_trdg/docs/CHAT_INTERFACE_HYBRID_ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/docs/CHAT_INTERFACE_HYBRID_ROADMAP.md)
|
||||
- [`learning_ai_invt_trdg/docs/GOALS_ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/docs/GOALS_ROADMAP.md)
|
||||
- [`learning_ai_invt_trdg/docs/inprogress/LAUNCH_READY_UI_UX_ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/docs/inprogress/LAUNCH_READY_UI_UX_ROADMAP.md)
|
||||
- [`learning_ai_invt_trdg/docs/MULTI_ACCOUNT_IMPLEMENTATION_ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/docs/MULTI_ACCOUNT_IMPLEMENTATION_ROADMAP.md)
|
||||
- [`learning_ai_invt_trdg/backend/REPO_AUDIT_ROADMAP.md`](/opt/bytelyst/learning_ai_invt_trdg/backend/REPO_AUDIT_ROADMAP.md)
|
||||
- [`learning_ai_common_plat/AGENTS.md`](/opt/bytelyst/learning_ai_common_plat/AGENTS.md)
|
||||
- [`learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_AGENT_OPERATING_MODEL.md`](/opt/bytelyst/learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_AGENT_OPERATING_MODEL.md)
|
||||
- [`learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_IMPLEMENTATION_TRACKER.md`](/opt/bytelyst/learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_IMPLEMENTATION_TRACKER.md)
|
||||
- [`learning_ai_common_plat/docs/ecosystem/delegation/README.md`](/opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/README.md)
|
||||
- [`bytelyst-devops-tools/AGENTS.md`](/opt/bytelyst/bytelyst-devops-tools/AGENTS.md)
|
||||
- [`bytelyst-devops-tools/REPO_CONTEXT.md`](/opt/bytelyst/bytelyst-devops-tools/REPO_CONTEXT.md)
|
||||
- [`bytelyst-devops-tools/deploy-invttrdg.sh`](/opt/bytelyst/bytelyst-devops-tools/deploy-invttrdg.sh)
|
||||
- `AGENTS.md` in the repo being changed
|
||||
- `README.md` in the repo being changed
|
||||
- `docs/` roadmap, architecture, tracker, and operating-model files
|
||||
- `learning_ai_common_plat/AGENTS.md`
|
||||
- `learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_AGENT_OPERATING_MODEL.md`
|
||||
- `learning_ai_common_plat/docs/ecosystem/ECOSYSTEM_IMPLEMENTATION_TRACKER.md`
|
||||
- `learning_ai_common_plat/docs/ecosystem/delegation/README.md`
|
||||
- `bytelyst-devops-tools/AGENTS.md` and deployment scripts when deploy/release work is in scope
|
||||
|
||||
If a task touches shared platform behavior, also cross-check the common platform docs first. If a task touches deployment or release automation, use the existing devops scripts before inventing a new path.
|
||||
If a task touches shared platform behavior, cross-check common platform docs first. If a task touches deployment or release automation, use existing devops scripts before inventing a new path.
|
||||
|
||||
## Operating Rules
|
||||
## Scope
|
||||
|
||||
- Paper trading only. Never enable or suggest real-money execution.
|
||||
- Treat market-hours and asset-class rules as hard constraints, not suggestions.
|
||||
- Use the existing deployment path for this product. Do not create an ad hoc deploy flow if `deploy-invttrdg.sh` already covers the need.
|
||||
- Keep changes narrow enough to review in one pass whenever possible.
|
||||
- Preserve unrelated local work. Do not overwrite or revert changes outside your owned scope.
|
||||
- If the repo is behind `origin/main`, rebase cleanly before you start editing or before you push.
|
||||
- If a required verification cannot run in the current environment, record the exact blocker and the closest successful validation you did run.
|
||||
- maintain the Hermes delegation channel:
|
||||
- `docs/ecosystem/delegation/hermes/TASK.md`
|
||||
- `docs/ecosystem/delegation/hermes/STATUS.md`
|
||||
- `docs/ecosystem/delegation/hermes/FEEDBACK.md`
|
||||
- inspect repo-local instructions before making code changes
|
||||
- execute bounded development, documentation, review, and ops tasks inside ByteLyst repos
|
||||
- update `STATUS.md` with current progress, blockers, verification commands, and handoff notes
|
||||
- read `FEEDBACK.md` before each work session and incorporate process corrections
|
||||
- preserve repo-native audit trails for decisions and verification evidence
|
||||
|
||||
## What You Own
|
||||
|
||||
Hermes may work across three lanes, but should keep each change set bounded:
|
||||
Hermes may work across multiple lanes, but should keep each change set bounded:
|
||||
|
||||
### 1. Product Development
|
||||
|
||||
Implement the next roadmap slice in `learning_ai_invt_trdg` with a bias toward:
|
||||
Implement the next roadmap slice in the target repo with a bias toward:
|
||||
|
||||
- chat/orchestrator coverage
|
||||
- goals and progress visibility
|
||||
- UI consistency for loading, empty, and error states
|
||||
- trading safety and account state correctness
|
||||
- multi-account and profile behavior when it is already documented
|
||||
- documented priorities
|
||||
- small shippable increments
|
||||
- tests and verification before broad refactors
|
||||
- UI consistency for loading, empty, and error states when frontend work is in scope
|
||||
- state correctness and safety for automation/trading/account flows
|
||||
|
||||
### 2. DevOps And Release Hygiene
|
||||
|
||||
Use the existing deploy tooling to:
|
||||
Use existing deploy tooling to:
|
||||
|
||||
- validate the current release path
|
||||
- keep backend/web deploys aligned
|
||||
- confirm health endpoints after rollout
|
||||
- update deployment docs when the script contract changes
|
||||
|
||||
### 3. Trading Safety And Live-State Checks
|
||||
### 3. Ops And Live-State Checks
|
||||
|
||||
Use live paper-trading state to answer:
|
||||
|
||||
- what filled
|
||||
- what failed
|
||||
- why a goal or order did not fire
|
||||
- whether the current app behavior matches the roadmap and code
|
||||
|
||||
Do not change trading logic blindly. Verify the cause before fixing it.
|
||||
Use live system state only when the assigned task requires it and the action is safe. Read before writing. Verify cause before fixing production behavior.
|
||||
|
||||
## Do Not Touch
|
||||
|
||||
- real-money trading pathways
|
||||
- secrets, `.env` files, or credentials
|
||||
- secrets, `.env` files, credentials, OAuth tokens, production databases, or live volumes unless Saravana explicitly asks
|
||||
- destructive git operations such as `git reset --hard`, force-push, or deleting branches without explicit approval
|
||||
- production Docker service restarts, migrations, or deploys without a scoped request
|
||||
- unrelated repos unless the task explicitly expands the scope
|
||||
- broad refactors that are not required for the current slice
|
||||
- shared platform contracts unless the change truly needs them
|
||||
- another agent's delegation folder unless coordinating or reviewing is explicitly assigned
|
||||
|
||||
## Operating Rules
|
||||
|
||||
- Use `/root/bytelyst.ai/repos` as the canonical repo root on this VM.
|
||||
- Prefer repo-local docs and `AGENTS.md` over assumptions.
|
||||
- Keep changes small, verifiable, and reversible.
|
||||
- Preserve unrelated local work. Do not overwrite or revert changes outside your owned scope.
|
||||
- If the repo is behind `origin/main`, rebase cleanly before you push.
|
||||
- Use tool-backed inspection for current system, file, git, Docker, and date/time facts.
|
||||
- Record exact verification commands and results in `STATUS.md`.
|
||||
- If blocked, write the blocker and the smallest useful next action in `STATUS.md`.
|
||||
|
||||
## Expected Workflow
|
||||
|
||||
@ -111,25 +122,34 @@ Do not change trading logic blindly. Verify the cause before fixing it.
|
||||
5. Implement the smallest correct fix.
|
||||
6. Run the narrowest real verification that proves the change.
|
||||
7. Write the result to `STATUS.md`.
|
||||
8. Return the result for Codex review before claiming done.
|
||||
8. Return the result for review before claiming done.
|
||||
|
||||
## Verification Expectations
|
||||
|
||||
Use the verification command that best matches the change:
|
||||
|
||||
- documentation-only delegation updates:
|
||||
|
||||
```bash
|
||||
git status --short
|
||||
test -f docs/ecosystem/delegation/hermes/TASK.md \
|
||||
&& test -f docs/ecosystem/delegation/hermes/STATUS.md \
|
||||
&& test -f docs/ecosystem/delegation/hermes/FEEDBACK.md
|
||||
```
|
||||
|
||||
- backend changes: service-specific tests plus build or typecheck
|
||||
- web changes: component tests plus build
|
||||
- deployment changes: the real deploy script plus health checks
|
||||
- trading or account-state changes: a live-state readback plus a regression test when available
|
||||
|
||||
Record the exact command in `STATUS.md`, not just a summary.
|
||||
Record the exact command in `STATUS.md`, not just a summary. If a required verification cannot run in the current environment, record the exact blocker and the closest successful validation you did run.
|
||||
|
||||
## Commit Discipline
|
||||
|
||||
- Prefer small conventional commits.
|
||||
- Keep each commit reviewable by itself.
|
||||
- Do not force-push.
|
||||
- Do not amend unless explicitly instructed.
|
||||
- Do not amend unless needed to finish the current user-requested commit/push flow or explicitly instructed.
|
||||
- If you need to stack work, describe the stack clearly in `STATUS.md`.
|
||||
|
||||
## Status Channel
|
||||
@ -143,8 +163,15 @@ Update [`STATUS.md`](./STATUS.md) with:
|
||||
- blockers
|
||||
- short reviewer notes
|
||||
|
||||
## Expected Output
|
||||
|
||||
- task execution within the boundaries above
|
||||
- concrete repo/file changes when assigned
|
||||
- updated `STATUS.md` after each meaningful work session
|
||||
- review notes or process corrections captured in `FEEDBACK.md` when applicable
|
||||
|
||||
## Launch One-Liner
|
||||
|
||||
```bash
|
||||
git pull --rebase origin main && read /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/TASK.md and /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/FEEDBACK.md, execute within ownership boundaries, and write progress back to /opt/bytelyst/learning_ai_common_plat/docs/ecosystem/delegation/hermes/STATUS.md
|
||||
git pull --rebase origin main && read /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/TASK.md and /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/FEEDBACK.md, execute within ownership boundaries, and write progress back to /root/bytelyst.ai/repos/learning_ai_common_plat/docs/ecosystem/delegation/hermes/STATUS.md
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user