Skip to content

Feature/agent sec core/build all update 2#5

Open
yangdao479 wants to merge 23 commits into
mainfrom
feature/agent-sec-core/build-all-update-2
Open

Feature/agent sec core/build all update 2#5
yangdao479 wants to merge 23 commits into
mainfrom
feature/agent-sec-core/build-all-update-2

Conversation

@yangdao479

Copy link
Copy Markdown
Owner

Description

Related Issue

closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional change)
  • Performance improvement
  • CI/CD or build changes

Scope

  • cosh (copilot-shell)
  • sec-core (agent-sec-core)
  • skill (os-skills)
  • sight (agentsight)
  • tokenless (tokenless)
  • Multiple / Project-wide

Checklist

  • I have read the Contributing Guide
  • My code follows the project's code style
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the documentation accordingly
  • For cosh: Lint passes, type check passes, and tests pass
  • For sec-core (Rust): cargo clippy -- -D warnings and cargo fmt --check pass
  • For sec-core (Python): Ruff format and pytest pass
  • For skill: Skill directory structure is valid and shell scripts pass syntax check
  • For sight: cargo clippy -- -D warnings and cargo fmt --check pass
  • For tokenless: cargo clippy -- -D warnings and cargo fmt --check pass
  • Lock files are up to date (package-lock.json / Cargo.lock)

Testing

Additional Notes

chengshuyi and others added 20 commits May 11, 2026 19:29
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>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
@yangdao479 yangdao479 force-pushed the feature/agent-sec-core/build-all-update-2 branch from e53f4cd to 79cf23c Compare May 14, 2026 09:41
Signed-off-by: yizheng <YiZheng.Yang@linux.alibaba.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants