agentleFS
Lanqiao-LucaLanqiao-Luca/ai-java-workflow/skills/java-build-isolation/SKILL.md

java-build-isolation

Skill220 starsChanged 8 days agoMITView on GitHub

显式选择可信Maven/Gradle构建树后端,隔离配置缓存并核对真实测试与进程停止。

The file

Files
SKILL.md

目的:将可信 Java 构建适配到独立资源与构建树,核子进程、产物及停止结果。

适用于:已获授权的受信任源码、工具和公开依赖构建;当前后端限制沿合同。

Java构建隔离

适用:受信任项目需要真实构建子JVM,且已授权本机执行。输入为冻结快照、明确工具与依赖种子、写集、额度与截止时间。

方法唯一正文:可信Java构建沙箱合同。本Skill不沿用旧严格模式的“fork拒绝”验收项,也不把构建模式默认为更强隔离。

  1. 明确选择构建入口,核当前平台、工具根与缓存清单。
  2. 按上游合同准备公开依赖;网络预热和离线Graph分开。消费缓存及构建配置的真实身份,不能复用个人HOME。
  3. 调用构建机制,核每实例子进程继承探测及本机回环边界,运行固定前台argv。
  4. 核JUnit报告与独立测试JVM事实,交付冻结候选、停止/回收结果和失败/UNKNOWN;所有业务测试必须由具体Workflow声明。

停止:探测/来源/依赖缺失、测试未实跑、退出不明均不提升。该模式允许fork和loopback,轮询不能保证任意恶意后代控制,不适用于不可信插件。输出原始日志不自动授权公开。

返回:Skills。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.