Skip to content

Promote development to main#29

Closed
jeanmachuca wants to merge 7 commits into
mainfrom
development
Closed

Promote development to main#29
jeanmachuca wants to merge 7 commits into
mainfrom
development

Conversation

@jeanmachuca

Copy link
Copy Markdown
Member

Promoting accumulated changes from development to main

- Add cograw (Raw Model firmware guardrail) section to both README.md
  and AGENTS.md with build, flags, RPC methods, role in system
- Update architecture tree to include cmd/cograw/
- Remove incorrect parse_response, register_tool, unregister_tool
  RPCs from cograw (cograw has no MCP knowledge — that's the daemon)
- Remove tool registry and ToolInfo/ToolCall types from cograw
- Simplify validate_prompt params (prompt only, no tools)
- Keep startup integrity check (GGUF validation) and validate_prompt
- All spec references point to product-specs as authoritative source
…me-based cooldown, structured audit logging (#20)
…ma-cli (#21)

* fix: replace regex validate_prompt with actual GGUF inference via llama-cli

* merge origin/development into fix/cograw-gguf-validate
- Add vendor/llama.cpp git submodule pinned to b9842
- bridge.go: single import "C" file wrapping llama.h API
  (model load, tokenize, decode, sampler chain, free)
- cgobackend.go: CgoBackend implementing Backend interface
- loadopts.go: LoadOptions{NumCtx, GPULayers, Threads}
- Update Backend interface Load() signature to accept *LoadOptions
- Update MockBackend and CLIBackend for new Load signature
- Register --backend cgo in cmd/coginfer/main.go
- Server: handle cgo backend type via build-tagged factory
  (backend_cgo.go + backend_stub.go)
- Wire LoadOptions from HTTP request params to backend.Load()
- Update AGENTS.md, .gitignore, fix broken tests
… remove CLIBackend (#24)

- Add cograw_llm.go (cgo build tag) / cograw_stub.go (!cgo build tag) factories
- Replace llamaBin field + exec.Command calls with llm.Backend interface
- verifyModel now calls backend.Load(); classifyPrompt uses backend.Generate()
- Remove --llama-bin flag from cograw
- Remove CLIBackend struct and all its methods from internal/llm/llm.go
- Remove --backend cli from coginfer help and server.go switch case
- Update README.md and AGENTS.md documentation
…gci (#27)

* fix: correct -llama to -lllama, add missing include/lib paths, fix CI with CGO_ENABLED=0, bump golangci to v9

* docs: correct submodule claim, update CGo build flags and CI docs

* fix: set CGO_ENABLED=0 for lint step (llama.h not available in CI)

* fix: resolve all golangci-lint errcheck, staticcheck, and unused issues

* fix: capture both return values from b.Load

* fix: resolve all remaining golangci-lint errcheck issues

* fix: set CGO_ENABLED=0 for test and vet steps too
* fix: correct -llama to -lllama, add missing include/lib paths, fix CI with CGO_ENABLED=0, bump golangci to v9

* docs: correct submodule claim, update CGo build flags and CI docs

* fix: set CGO_ENABLED=0 for lint step (llama.h not available in CI)

* fix: resolve all golangci-lint errcheck, staticcheck, and unused issues

* fix: capture both return values from b.Load

* fix: resolve all remaining golangci-lint errcheck issues

* fix: set CGO_ENABLED=0 for test and vet steps too
@jeanmachuca

Copy link
Copy Markdown
Member Author

No unique changes to promote - content already in main

@jeanmachuca jeanmachuca closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant