Promote development to main#29
Closed
jeanmachuca wants to merge 7 commits into
Closed
Conversation
- 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
Member
Author
|
No unique changes to promote - content already in main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promoting accumulated changes from development to main