4 Commits
Author SHA1 Message Date
weichen d4d351913f Plumb RoleSpec execution config into agent-native requests and fix leader parity
ci / vet-and-test (pull_request) Failing after 2s
ci / docker-checkout-hostgateway (pull_request) Failing after 2m20s
Why: RoleSpec.Tools/Skills were dead fields, BashPermission only gated
an HITL prompt with nothing to enforce, leader turns dropped process
events and tool profile, and the HTTP API could not start leader mode.

Evidence: go vet ./... clean; go test ./... 6 packages ok. New cases:
step requests carry ToolAllowlist/Skills/SessionScope/ExecutionID and
a step-wide shared deadline; buildAgentNativeOptions bash gating
(deny/unset get no exec tools even when configured, ask/allow do,
missing model fails closed); Derive inheriting tool_profile/tools/
skills/bash_permission with request overrides; role-level HitlPolicy
making a bash=ask step fail under auto instead of holding; leader
requests fully assembled with detail events bridged to the sink; HTTP
createRun accepting mode/leader_role/max_leader_turns (engine-driven
repro of the plan-validation precondition included).

Impact: RegisterAgentNative keeps its signature and delegates to a new
RegisterAgentNativeFull(AgentNativeConfig); nested agent-native
gitlink pinned to f9ab2ef (full-agent batch); llm planner derive
schema gains tool_profile/tools/skills/bash_permission.

Refs: Dev task feature/full-agent-r1 batch B9; agent-native PR #3.
2026-10-01 06:02:17 +00:00
weichenandCursor 7ddcb2180d Move Agent-Native under deps and return stable error envelopes.
HTTP failures now carry catalog codes and a trace id, and the parent replace directives are the only copies used at build time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 14:29:14 +00:00
weichenandCursor 6a10c4272f Ignore CodeGraph indexes from the repository root as well.
ci / vet-and-test (push) Failing after 1s
ci / docker-checkout-hostgateway (push) Failing after 2s
A second ignore layer keeps the SQLite database local even if codegraph init overwrites the nested policy file. Pin Agent-Native to the same policy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 13:30:16 +00:00
weichenandCursor bfec3c8930 Import agent-squad as a standalone repository.
ci / vet-and-test (push) Failing after 3s
ci / docker-checkout-hostgateway (push) Failing after 3s
Pin Agent-Native as a submodule so the module builds without the multi-repo sibling path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 12:38:35 +00:00