Skip to content

sync: update Matrix pilot with nearai/main 2026-07-02 - #48

Merged
github-actions[bot] merged 4 commits into
native-matrix-channel-pilotfrom
sync/native-matrix-pilot
Jul 2, 2026
Merged

github-actions[bot] merged 4 commits into
native-matrix-channel-pilotfrom
sync/native-matrix-pilot

Conversation

@personal-upstream-sync

Copy link
Copy Markdown

Automated sync from nearai/ironclaw. The upstream-main branch is an exact fast-forward mirror of nearai/main; this PR imports it into native-matrix-channel-pilot for CI with upstream source winning unrelated-history conflicts. When checks pass, the Matrix pilot branch is fast-forwarded so upstream ancestry is preserved.

serrrfirat and others added 4 commits July 2, 2026 11:07
* test(reborn): add semantic judge fallback to live QA

* test(reborn): isolate live QA semantic judge

* test(reborn): harden semantic judge parsing
…e discovery (nearai#5532)

* chore(agents): wire codebase knowledge graph + OpenWiki for agent code discovery

Give every agent (fresh session, teammate, cloud, CI) first-class code discovery
so they stop rebuilding the map by grepping 1.27M lines. Two complementary layers,
both auto-maintained.

Graph (structural, precise -- codebase-memory MCP):
- .mcp.json: declare the codebase-memory-mcp server at project scope so any Claude
  Code session in this repo auto-connects (it was only in personal global config,
  so only one machine had access)
- scripts/dev-setup.sh: install the single static binary (no deps, no keys, local)
- .gitignore: treat .codebase-memory/ as a build artifact (it was neither tracked
  nor ignored -- one `git add .` from a 234MB accidental commit)
- scripts/codebase-graph.sh: freshness helper (indexed commit vs HEAD)

OpenWiki (narrative, prose -- auto-generated, read-only):
- .github/workflows/openwiki-update.yml: weekly + manual regen of openwiki/,
  Anthropic provider (ANTHROPIC_API_KEY), auto-merged PR opened via the
  GH_RELEASES_MANAGER app so required checks trigger and it lands on main hands-off

Docs:
- CLAUDE.md / AGENTS.md: "Code Discovery" section -- query the graph first (with
  recipes: search_graph / trace_path calls|data_flow|cross_service), read openwiki/
  for narrative orientation

Behavior: no product code touched. dev-setup/CI gain an install step; agents gain
tools they call, not code that runs in the app.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* docs(agents): steer new work to the Reborn stack, not the v1 src/ monolith

Add a "Reborn-first" directive to AGENTS.md + CLAUDE.md: new features go in
crates/ (product_workflow -> composition -> webui_v2 -> runtime/serve -> frontend,
entry reborn_cli), not src/main.rs. src/ is v1 in retirement -- maintain existing
behavior, don't add new features. Fills the gap where the docs' "Where to Work"
pointed almost entirely at src/, steering agents into v1 by default.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* ci(openwiki): open a PR for human review, not auto-merge (SOC 2)

Auto-merging the generated wiki to main bypasses human change review, which
SOC 2 change management (CC8.1 / separation of duties) does not allow. Drop the
enable-auto-merge step; the bot only authors the PR and a human reviews + merges.
Keep the GitHub App token so required checks still trigger on the bot PR (a
GITHUB_TOKEN-opened PR triggers no workflows, leaving the reviewer no checks).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added scope: ci scope: docs size: XL Changed-line size classification risk: medium Risk classification contributor: experienced Contributor history classification labels Jul 2, 2026
@github-actions
github-actions Bot merged commit 7d4014d into native-matrix-channel-pilot Jul 2, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor: experienced Contributor history classification risk: medium Risk classification scope: ci scope: docs size: XL Changed-line size classification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant