Skip to content

[codex] Raven v2 clean replay#32

Open
Fearvox wants to merge 24 commits into
mainfrom
codex/raven-v2-clean-replay
Open

[codex] Raven v2 clean replay#32
Fearvox wants to merge 24 commits into
mainfrom
codex/raven-v2-clean-replay

Conversation

@Fearvox
Copy link
Copy Markdown
Owner

@Fearvox Fearvox commented May 15, 2026

Summary

Clean replay of the Raven v2 closure onto the current origin/main lineage.

This replaces the unsafe PR #31 shape, which GitHub showed as mergeable but local git and Raven/SC reported as having no merge base.

What changed

  • Replays the Raven v2 rebrand and docs under use-cases/hermes-everos-memory/.
  • Adds the Rust raven-console TUI/CLI scaffold and bin/raven launcher.
  • Adds the DeepSeek auth preflight script, deploy packet/docs, and .algo-profile notes.
  • Hardens Raven console chat boundaries:
    • Hermes subprocess calls now time out instead of hanging indefinitely.
    • Public IPv4 addresses are redacted from sanitized output.
    • Removes an unused command helper.
  • Restores Raven's single-agent loop surface:
    • raven loop / raven loop --json expose typed AgenticLoopState.
    • /loop maps through the REPL dispatcher.
    • TUI l opens the Loop panel with capture, plan, act, observe, verify, and receipt phases.
    • Hermes prompt turns add loop breadcrumbs without greening remote deploy gates.

Scope hygiene

This branch is based directly on origin/main and has a valid merge base.

Not included:

  • docs/upstream-return/*
  • EverCore P0 batch changes
  • .github workflow/script deletions from the previous branch shape

Validation

  • git merge-base HEAD origin/main => pass
  • git diff --check origin/main -- => pass
  • just raven-console-check => pass, 22 Rust tests
  • bin/raven loop => pass, loop verdict remains FLAG while receipts/remote gates are incomplete
  • bin/raven loop --json => pass, sanitized typed loop JSON
  • printf '/loop\n/quit\n' | RAVEN_HERMES_BIN=/bin/echo bin/raven repl => pass
  • RAVEN_TUI_ONCE=1 bin/raven tui => renders [l] Loop and AGENTIC LOOP evidence in one-frame smoke
  • just raven-native-audit => pass, includes AgenticLoopState and loop keybinding evidence

Gate truth

Raven still reports overall FLAG: local packet is PASS, but remote deploy remains blocked until DAS-2666 hard evidence exists. This PR does not turn DAS-2666 green.

Fearvox and others added 22 commits May 13, 2026 01:25
…lack mirror sync

Adds two issue templates under .github/ISSUE_TEMPLATE/ for long-lived,
auditable mirrors of in-flight upstream PRs:

- pr_tracker.yml: general PR mirror (scope, evidence, decision log, closure)
- security_tracker.yml: high-priority variant (CWE, severity, reachability,
  verification, disclosure hygiene)

Both carry a `pr-mirror` label so the Linear evermind-dash project and the
Slack #bots channel can subscribe by label. Bilingual EN + 中文.
…tream

Runs every 6 hours via cron + manual workflow_dispatch.
- Rebases fork main onto upstream/main (preserves fork-only commits like
  the issue templates)
- Force-pushes with --force-with-lease for safety
- Opens a tracking issue on conflict instead of failing silently

Uses default GITHUB_TOKEN — no PAT needed since we only push to fork.
Triggers on issues.opened and issues.labeled. When pr-mirror label is
present, creates a corresponding Linear issue in the EverMind-Dash
project via Linear GraphQL API. Comments back on GitHub with the
EVE-id link.

Idempotency: skips if a '🔗 Linear:' marker comment already exists.
Priority: 'urgent' label -> Linear urgent (1); otherwise medium (3).
On API failure: applies 'sync-failed' label for triage.

Requires (configured separately):
  Secret:   LINEAR_API_KEY    (Linear Personal API key, lin_api_*)
  Vars:     LINEAR_TEAM_ID    (EverMind team UUID)
            LINEAR_PROJECT_ID (EverMind-Dash project UUID)
…nnel

Update the disclosure-hygiene checkbox to reference #p-evermind-dash
(the actual Slack channel linked to the EverMind-Dash Linear project)
instead of the placeholder #bots.
…ents

Two compounding fixes to avoid creating multiple Linear issues from a
single GitHub issue creation:

1. concurrency group keyed on issue.number with cancel-in-progress=false
   serializes runs per issue. Second run will see the first run's
   comment and skip via existing idempotency check.

2. Tighten 'labeled' event filter to only fire when the added label is
   pr-mirror itself, not any other label. Eliminates the four extra
   runs that gh issue create --label A --label B ... triggers (one
   issues.opened + four issues.labeled = 5 events for a 4-label create).

Reproduction: gh issue create with 4 labels including pr-mirror was
firing the workflow 5 times concurrently. Idempotency check has a
~5s race window before the first run posts its bot comment, so 2-3
runs created duplicate Linear issues before the rest skipped.

Verified via Issue #4 sync producing both EVE-3 and EVE-4.
Adds the fork overnight patrol workflow, Linear-aware tracking issue creation, and docs guard support for coming-soon use-case placeholders. Verified with local script checks and passing Docs CI.
Merge the clean three-file docs-gate repair split from the mega-run audit packet. Remote Docs checks passed before merge.

Co-authored-by: Codex <noreply@openai.com>
Replay the fork-side agent guidance onto current main and soften the external-message ban so approved Linear/MUW routing remains possible. Remote Docs checks passed before merge.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>
Excludes raven/.local-runs/ and raven-console/target/ from version
control so dogfood runs and Rust build artifacts stay local.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds .playwright-mcp/ and .goal/ to root .gitignore so per-session
agent traces (Playwright MCP captures, goalv3 state) stay local and
do not pollute the repo working tree.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Renames RIVEN_CONCEPT.md to RAVEN_CONCEPT.md and refreshes the
command contract, README, research ledger, and doomsday fixture
to reflect the v2 Raven framing. Adds NATIVE_FEEL_AUDIT.md and
REFERENCE_NOTES.md as supporting research.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds the raven-console Rust crate (Cargo.toml, Cargo.lock, src/)
implementing a ratatui+crossterm terminal UI with adapters for
hermes, memory, muw, packet, sc, and verify lanes. Also adds the
bin/raven shell launcher that boots the console with the right
context resolution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds scripts/deepseek-auth-preflight.sh which validates that the
EverCore env file is configured for OpenRouter→DeepSeek routing
before deploys. Checks LLM_PROVIDER, LLM_MODEL, base URLs, and
optionally enforces a non-placeholder OPENROUTER_API_KEY.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updates COMPLETION_AUDIT.md, OWNER_PACKET.md, and
SUPERVISOR_DISPATCH.md with the post-Raven-v2 dogfood findings:
audit results, supervisor dispatch flow, and the operator-facing
packet summary.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Refreshes deploy/nixos/ packet, README, and env example; bumps
justfile and package.json. Bootstraps .algo-profile/ with the
circular chat buffer decision note used in raven-console TUI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Appends the Raven v2 closure landing note to COMPLETION_AUDIT.md
with PR URL for the docs_report gate. Closes out the goalv3-cc
goal raven-v2-closure receipt trail.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add a timeout around Hermes chat subprocesses, redact public IPv4 addresses from public-surface output, and remove an unused command helper.

Co-authored-by: Codex <noreply@openai.com>
Fearvox and others added 2 commits May 15, 2026 12:37
Replace the stale bare PR URL with the clean replay draft PR reference and escape table pipes in Raven command contracts.

Co-authored-by: Codex <noreply@openai.com>
Expose the single-agent capture/plan/act/observe/verify/receipt loop through typed snapshot state, CLI/REPL handlers, and the TUI Loop panel. Keep loop receipts and remote deploy gates explicit so local chat evidence cannot green DAS-2666.

Co-authored-by: Codex <noreply@openai.com>
@Fearvox Fearvox marked this pull request as ready for review May 20, 2026 13:13
Copilot AI review requested due to automatic review settings May 20, 2026 13:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants