Feature/agent sec core/build all update 2#5
Open
yangdao479 wants to merge 23 commits into
Open
Conversation
The BPF verifier rejects trace_write_enter because it cannot prove payload_len (R2) is non-negative after 64→32 bit truncation. Add a bitmask `& (MAX_STDOUT_PAYLOAD - 1)` before bpf_probe_read_user to satisfy the verifier's range check. Signed-off-by: chengshuyi <chengshuyi@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
- add run_id field to HookInput interface (optional, backward-compat) - add setCurrentRunId/getCurrentRunId accessors to Config - set currentRunId from prompt_id in GeminiClient.sendMessageStream() - reset currentRunId on session init in Config - populate run_id in HookEventHandler.createBaseInput() - add runId field to ChatRecord in chatRecordingService - update hook reference and writing-hooks docs - add unit tests for config, client, and hookEventHandler
- Add 'skill_view' to SKILL_FUNCTION_NAMES for Hermes skill load detection
- Support Hermes argument format {"name": "skill-name"} in extract_skill_name_from_args
- Add plain-text fallback regex for Hermes <available_skills> format (- skill-name: desc)
- XML format takes priority; plain-text fallback only when XML yields no results
Closes alibaba#504
…n compatibility Signed-off-by: Shile Zhang <shile.zhang@linux.alibaba.com>
Signed-off-by: Shile Zhang <shile.zhang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
6bafa75 to
e53f4cd
Compare
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
e53f4cd to
79cf23c
Compare
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
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.
Description
Related Issue
closes #
Type of Change
Scope
cosh(copilot-shell)sec-core(agent-sec-core)skill(os-skills)sight(agentsight)tokenless(tokenless)Checklist
cosh: Lint passes, type check passes, and tests passsec-core(Rust):cargo clippy -- -D warningsandcargo fmt --checkpasssec-core(Python): Ruff format and pytest passskill: Skill directory structure is valid and shell scripts pass syntax checksight:cargo clippy -- -D warningsandcargo fmt --checkpasstokenless:cargo clippy -- -D warningsandcargo fmt --checkpasspackage-lock.json/Cargo.lock)Testing
Additional Notes