Initial import of streamline

This commit is contained in:
2026-11-16 17:26:44 -08:00
commit 8e4aec1855
1221 changed files with 274256 additions and 0 deletions
@@ -0,0 +1,37 @@
- ID: streamline-security-evaluate-claude:1.0.9
Config:
description: "Evaluate-only Claude satellite, Streamline 3832288, 60-minute Evaluate, one parallel slot, background source cleanup, host-managed isolated ADB proxy, macOS 27 arm64"
authors: [tanzhehao]
compatiblePlatform: "27"
compatibleArch: arm64
environment:
PATH:
- bin
- jdk17/Contents/Home/bin
STREAMLINE_IMAGE_ROOT: $IMAGE_ROOT
JAVA_HOME: $IMAGE_ROOT/jdk17/Contents/Home
ADB_BIN: $IMAGE_ROOT/bin/adb
CLAUDE_BIN: $IMAGE_ROOT/bin/claude
STREAMLINE_AGENT_MODE: print
STREAMLINE_EVALUATE_AGENT_MODE: print
SATELLITE_WORK_MODE: evaluate
EVAL_TIMEOUT_MS: "3600000"
EVAL_PARALLEL: "1"
STREAMLINE_CLUSTER_TAG: pns
BuildRequirement:
platform: 27
arch: arm64
CopyFile:
- ./overrides/bin: ./bin
- ./overrides/satellite: ./satellite
- ./overrides/MANIFEST.json: ./MANIFEST.json
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/lib: ./lib
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/host-adb: ./host-adb
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/claude-code: ./claude-code
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/config: ./config
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/lark-cli: ./lark-cli
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/jdk17: ./jdk17
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/python3: ./python3
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/python-packages: ./python-packages
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/tools: ./tools
- /Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.8/npm: ./npm
@@ -0,0 +1,16 @@
# Security Evaluate bigMac 镜像 1.0.9
完整构建目录保存在 bigMac 宿主机:
`/Users/bytedance/streamline-security-evaluate-build-1.0.9/`。
其中 `overrides/` 包含由 Streamline 提交 `3832288` 生成的卫星机程序,
以及 `bin-satellite-1.0.9.patch` 记录的启动命令改动。
其他工具来自已验证的本地镜像 `streamline-security-evaluate-claude:1.0.8`。
Claude 模型配置及 60 分钟超时沿用原设置;现有 `EVAL_PARALLEL` 配置和容器内
`satellite start` 的默认并发都改为 1。API Key 仍只在运行时提供,不写入镜像。
Security Evaluate 的源码目录在评估结果确定后由后台清理。三台容器若领取其他类型的
Evaluate 任务,也会受到每台并发 1 的限制;其他节点和 Run 逻辑没有改动。
验证过的镜像保存在宿主机:
`/Users/Shared/streamline-bigmac-images/streamline-security-evaluate-claude_1.0.9`。
本次仅保留本地镜像,未推送 registry。
@@ -0,0 +1,8 @@
--- a/bin/satellite
+++ b/bin/satellite
@@ -191 +191 @@
- local api_key="" api_key_file="" git_ssh_key_file="" eval_parallel="${EVAL_PARALLEL:-2}" cluster_tag=pns node_id=""
+ local api_key="" api_key_file="" git_ssh_key_file="" eval_parallel="${EVAL_PARALLEL:-1}" cluster_tag=pns node_id=""
@@ -321 +321 @@
- *) echo "usage: satellite {start --cluster-tag pns --api-key-file FILE [--git-ssh-key-file FILE] [--eval-parallel 2]|start --cluster-tag pns --api-key KEY [--git-ssh-key-file FILE] [--eval-parallel 2]|stop [--force]|update [STAGED_DIR]|rollback VERSION|status|logs}" >&2; exit 2 ;;
+ *) echo "usage: satellite {start --cluster-tag pns --api-key-file FILE [--git-ssh-key-file FILE] [--eval-parallel 1]|start --cluster-tag pns --api-key KEY [--git-ssh-key-file FILE] [--eval-parallel 1]|stop [--force]|update [STAGED_DIR]|rollback VERSION|status|logs}" >&2; exit 2 ;;