Repository navigation
chore: add multi-agent coordination files - #2
Merged
Merged
Conversation
Git-track the shared development state and protocol files so both agents always have access to the latest version: - STATUS.md: live project state (read at session start, updated at end) - MULTI_AGENT_PROTOCOL.md: branch ownership, conflict prevention, handoff rules - CODEX_TASK_BRIEF.md: task queue and onboarding for Codex sessions - AGENTS.md: updated §0 to reference repo-relative paths Co-Authored-By: Claude Opus 4.6 <[email protected]>
4 tasks
cryptolir
pushed a commit
that referenced
this pull request
Jun 17, 2026
Three P2 fixes to the load_skill app-session path: - [#1] derive appSkillLoad from the FINAL tool list (tools.some(load_skill)) rather than just appUserId, and suppress the app skills section when load_skill was filtered out by tool policy — so the model is never told to call a tool it does not have. The skills prompt is now built after tool creation in both attempt.ts and compact.ts. - [#2] mirror the whole app-session skill branch in compact.ts, so app-user COMPACTION also gets the path-free app prompt + load-by-name (no <location> leak, no loss of the load_skill behavior). - [#3] new limitAppSkills() applies the same maxSkillsInPrompt/char caps as the normal prompt; both the app prompt and the load_skill allowlist are built from it, so an app session can neither see nor load more skills than a normal prompt shows. Gate: vitest load-skill 11 + system-prompt.skills 8 (+2 limitAppSkills) + overflow-compaction; tsgo clean on touched files; oxlint --type-aware 0/0; oxfmt. Co-Authored-By: Claude Opus 4.8 <[email protected]>
cryptolir
added a commit
that referenced
this pull request
Jun 18, 2026
…) (#74) * feat(skills): load_skill tool for app-user sessions (live skills, jailed) App-user sessions run jailed (tools.fs.workspaceOnly) and cannot read the shared SKILL.md by path, so the live dashboard skills listed in their prompt were unusable (the reason the Havaya Drive method was hard-embedded). Add a read-only, name-scoped load_skill tool that resolves a skill NAME — from the same filtered, prompt-visible set the model is shown — to its SKILL.md content, read server-side. The per-user file jail is untouched. Implements docs/experiments/plans/app-user-skill-access.md (Option A) with the codex 4517821566 refinements: - allowlist = the snapshot's resolvedSkills (filtered/prompt-visible), so it is never a side channel to disableModelInvocation/ineligible skills (#2); - confinement against the matched entry's own baseDir, not a hardcoded path, so multi-root (bundled/managed/workspace) skills resolve; symlink-escape rejected (#1); - gated on a resolved app user via resolveAppUserId ?? appUserIdFromSessionKey (turn-1-safe, excludes _no-app-user) (#3); - 24KB cap + truncated flag; no sibling files in v1 (#4). The app skills prompt lists name+description only (no <location>, no host-path leak) and instructs the model to call load_skill; normal sessions unchanged. Files: new src/agents/tools/load-skill.ts; buildAppSkillsPrompt in skills/workspace.ts; buildSkillsSection app branch (system-prompt.ts) threaded via buildEmbeddedSystemPrompt; appSkills wired through pi-tools -> openclaw-tools; attempt.ts resolves the app user, builds the single skills source, and branches. Gate: vitest load-skill 11 + system-prompt.skills 6 + save-user-section 13 (unchanged); tsgo clean on touched files; oxlint --type-aware 0/0; oxfmt. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix(skills): address codex 4519976882 — tool-filter, compaction, limits Three P2 fixes to the load_skill app-session path: - [#1] derive appSkillLoad from the FINAL tool list (tools.some(load_skill)) rather than just appUserId, and suppress the app skills section when load_skill was filtered out by tool policy — so the model is never told to call a tool it does not have. The skills prompt is now built after tool creation in both attempt.ts and compact.ts. - [#2] mirror the whole app-session skill branch in compact.ts, so app-user COMPACTION also gets the path-free app prompt + load-by-name (no <location> leak, no loss of the load_skill behavior). - [#3] new limitAppSkills() applies the same maxSkillsInPrompt/char caps as the normal prompt; both the app prompt and the load_skill allowlist are built from it, so an app session can neither see nor load more skills than a normal prompt shows. Gate: vitest load-skill 11 + system-prompt.skills 8 (+2 limitAppSkills) + overflow-compaction; tsgo clean on touched files; oxlint --type-aware 0/0; oxfmt. Co-Authored-By: Claude Opus 4.8 <[email protected]> * docs(skills): clarify the load_skill allowlist is the prompt-limited subset Codex recheck 4520156223 non-blocking nit: comments in load-skill.ts and the appSkills option docs (openclaw-tools.ts, pi-tools.ts) described the allowlist as the snapshot's resolvedSkills; after the limit fix it is the prompt-limited subset (via limitAppSkills). Comment-only; keeps the security invariant easy to audit. Co-Authored-By: Claude Opus 4.8 <[email protected]> --------- Co-authored-by: Liran Peretz <[email protected]> Co-authored-by: Claude Opus 4.8 <[email protected]>
cryptolir
pushed a commit
that referenced
this pull request
Jun 30, 2026
- explicit rollout order testingbot -> rest of EU -> US (Codex #1); restart-drain kept as a separate manual stopgap. - clarify the cap bounds old-space-driven RSS, not total RSS; canary verifies actual RSS/swap (Codex #2). - 'more than 1 GB' instead of '> 1 GB' so check-docs stops parsing a blockquote (Codex #3). - quote the env value; keep 512 (not 384). - add profiling finding: memory is activity-driven reclaimable working-state (idle 29 MiB/8d vs busy 480-950 MiB; restart 949->368 MiB), not disk files, not a V8 time-ratchet; leak-vs-bounded unproven (USR1=restart blocks inspector). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
STATUS.md— live project state (read at session start, updated at end)MULTI_AGENT_PROTOCOL.md— branch ownership, conflict prevention, handoff rulesCODEX_TASK_BRIEF.md— task queue and onboarding for Codex sessionsAGENTS.md§0 updated to reference repo-relative paths instead of absolute local pathsTest plan
🤖 Generated with Claude Code