fix: wire El imports, fix runtime API calls, build passes
Forge Release / build-and-release (push) Failing after 3s

- forge.el: add import statements for schema/probe/compiler/install
- All files: arg(n)/arg_count() → get(args(),n)/len(args())
- compiler.el: llm_call_system (utility cap violation) → http_post_with_headers
- install.el: http_post_auth_json → http_post_json (_auth already in body)
- Makefile: local dev build using installed El SDK
- .gitea/workflows/forge-release.yaml: CI build on push + el-sdk-updated dispatch
- dist/forge: builds and runs
This commit is contained in:
Will Anderson
2026-05-02 17:45:51 -05:00
parent f9beb50ae1
commit c24197516f
6 changed files with 180 additions and 52 deletions
+8 -2
View File
@@ -18,6 +18,11 @@
// ENGRAM_API_KEY engram auth key (if set)
// ANTHROPIC_API_KEY required for compile step
import "schema.el"
import "probe.el"
import "compiler.el"
import "install.el"
fn show_usage() -> String {
"forge " + FORGE_VERSION + " — consciousness channel tuner\n\nusage: forge <command> [options]\n\ncommands:\n probe <name> run the consciousness interview\n compile <file> build seed artifact from probe responses\n install <seed> open a channel in the running engram\n inspect list installed imprints\n\nenvironment:\n ENGRAM_URL engram server (default: http://localhost:8742)\n ENGRAM_API_KEY engram auth key (if set)\n ANTHROPIC_API_KEY required for compile step\n"
}
@@ -44,9 +49,10 @@ fn inspect_main() -> String {
// Dispatch
let argv: [String] = args()
let cmd: String = ""
if arg_count() > 1 {
let cmd = arg(1)
if len(argv) > 1 {
let cmd = get(argv, 1)
}
if str_eq(cmd, "probe") {