Overhaul Feynman harness: streamline agents, prompts, and extensions
Remove legacy chains, skills, and config modules. Add citation agent, SYSTEM.md, modular research-tools extension, and web-access layer. Add ralph-wiggum to Pi package stack for long-running loops. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,6 @@ test("buildPiArgs includes configured runtime paths and prompt", () => {
|
||||
workingDir: "/workspace",
|
||||
sessionDir: "/sessions",
|
||||
feynmanAgentDir: "/home/.feynman/agent",
|
||||
systemPrompt: "system",
|
||||
initialPrompt: "hello",
|
||||
explicitModelSpec: "openai:gpt-5.4",
|
||||
thinkingLevel: "medium",
|
||||
@@ -20,12 +19,8 @@ test("buildPiArgs includes configured runtime paths and prompt", () => {
|
||||
"/sessions",
|
||||
"--extension",
|
||||
"/repo/feynman/extensions/research-tools.ts",
|
||||
"--skill",
|
||||
"/repo/feynman/skills",
|
||||
"--prompt-template",
|
||||
"/repo/feynman/prompts",
|
||||
"--system-prompt",
|
||||
"system",
|
||||
"--model",
|
||||
"openai:gpt-5.4",
|
||||
"--thinking",
|
||||
@@ -40,14 +35,11 @@ test("buildPiEnv wires Feynman paths into the Pi environment", () => {
|
||||
workingDir: "/workspace",
|
||||
sessionDir: "/sessions",
|
||||
feynmanAgentDir: "/home/.feynman/agent",
|
||||
systemPrompt: "system",
|
||||
feynmanVersion: "0.1.5",
|
||||
});
|
||||
|
||||
assert.equal(env.PI_CODING_AGENT_DIR, "/home/.feynman/agent");
|
||||
assert.equal(env.FEYNMAN_SESSION_DIR, "/sessions");
|
||||
assert.equal(env.FEYNMAN_BIN_PATH, "/repo/feynman/bin/feynman.js");
|
||||
assert.equal(env.FEYNMAN_PI_NPM_ROOT, "/repo/feynman/.pi/npm/node_modules");
|
||||
assert.equal(env.FEYNMAN_MEMORY_DIR, "/home/.feynman/memory");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user