The OSV user agent says goose again and seven skills-switch assertions went with the sync, and the issue they were deferred to was never filed #22

Closed
opened 2026-11-27 10:04:05 +00:00 by pluto · 3 comments
Member

Purpose (correctness): the engine still names goose to OSV in an outbound request, and seven assertions that guard what the model is offered to see went out with the sync, both deferred by 0cfe816ac to an issue that was never filed.

0cfe816ac (the 2026-11-26 sync resolution) says two things were put off "as ruled" and "the same filed issue". Searched every issue in martha-ai/martha-engine and macula-io/martha, open and closed: no issue covers either item. This is that issue.

1. The OSV user agent names goose. crates/oi-kit-agent/src/mcp/malware_check.rs in http_client():

headers.insert(
    USER_AGENT,
    HeaderValue::from_static("goose-osv-check/1.1 (+https://osv.dev)"),
);

The fork's line, replaced by the merge, was:

HeaderValue::from_static(concat!(
    martha_engine_name::engine_name!(),
    "-osv-check/1.1 (+https://osv.dev)"
)),

The merge took upstream's copy because the crate carries no martha-engine-name dependency, so the branded line did not compile. It is the engine's own outbound HTTP request, which is exactly the surface the rebrand covers, and the sync put a literal "goose" back in it.

2. Seven assertions on what the model is offered went with the file. crates/goose/src/agents/state_machine/tests/advertised_tools.rs was deleted by 0cfe816ac. Upstream moved the state machine to oi-kit-agent, dropped the file and the mod line that declared it, and the symbols it imports (ADVERTISED_TOOLS_NOTE, LLM_OPERATION_NAME, request_was_advertised, goose_agent::skills) exist nowhere in the merged tree, so nothing of it could be kept where it was. Its seven cases:

completed_turns_do_not_persist_repeated_advertised_tools
pending_approval_keeps_advertised_tools_until_the_tool_is_resolved
reused_id_pending_approval_keeps_advertised_tools_after_copy_and_import
skills_are_offered_to_the_model_by_default
skills_switched_off_are_not_offered_to_the_model
skills_switched_off_do_not_answer_a_load_skill_call
skills_switched_off_still_run_when_the_user_types_one

pipeline.rs's with_skills_advertised helper went with them, because an unused pub(super) method fails the gate's cargo clippy -- -D warnings; it is re-added beside the cases that call it.

What closes it: the branded user agent restored in malware_check.rs in whatever way the crate can carry the name (a martha-engine-name dependency, as goose and goose-cli already have, or the name read the way the rest of the tree reads it), and the seven cases ported onto the state machine's home in oi-kit-agent, with with_skills_advertised beside them. 0cfe816ac calls this "the treatment ruled for streamable_http.rs"; no issue in either repository records that ruling, so whoever takes this should have the Supervisor name where it lives before relying on it.

Refs martha-ai/martha-engine#13

Purpose (correctness): the engine still names goose to OSV in an outbound request, and seven assertions that guard what the model is offered to see went out with the sync, both deferred by 0cfe816ac to an issue that was never filed. 0cfe816ac (the 2026-11-26 sync resolution) says two things were put off "as ruled" and "the same filed issue". Searched every issue in martha-ai/martha-engine and macula-io/martha, open and closed: no issue covers either item. This is that issue. **1. The OSV user agent names goose.** `crates/oi-kit-agent/src/mcp/malware_check.rs` in `http_client()`: headers.insert( USER_AGENT, HeaderValue::from_static("goose-osv-check/1.1 (+https://osv.dev)"), ); The fork's line, replaced by the merge, was: HeaderValue::from_static(concat!( martha_engine_name::engine_name!(), "-osv-check/1.1 (+https://osv.dev)" )), The merge took upstream's copy because the crate carries no `martha-engine-name` dependency, so the branded line did not compile. It is the engine's own outbound HTTP request, which is exactly the surface the rebrand covers, and the sync put a literal "goose" back in it. **2. Seven assertions on what the model is offered went with the file.** `crates/goose/src/agents/state_machine/tests/advertised_tools.rs` was deleted by 0cfe816ac. Upstream moved the state machine to oi-kit-agent, dropped the file and the `mod` line that declared it, and the symbols it imports (`ADVERTISED_TOOLS_NOTE`, `LLM_OPERATION_NAME`, `request_was_advertised`, `goose_agent::skills`) exist nowhere in the merged tree, so nothing of it could be kept where it was. Its seven cases: completed_turns_do_not_persist_repeated_advertised_tools pending_approval_keeps_advertised_tools_until_the_tool_is_resolved reused_id_pending_approval_keeps_advertised_tools_after_copy_and_import skills_are_offered_to_the_model_by_default skills_switched_off_are_not_offered_to_the_model skills_switched_off_do_not_answer_a_load_skill_call skills_switched_off_still_run_when_the_user_types_one `pipeline.rs`'s `with_skills_advertised` helper went with them, because an unused `pub(super)` method fails the gate's `cargo clippy -- -D warnings`; it is re-added beside the cases that call it. **What closes it:** the branded user agent restored in `malware_check.rs` in whatever way the crate can carry the name (a `martha-engine-name` dependency, as `goose` and `goose-cli` already have, or the name read the way the rest of the tree reads it), and the seven cases ported onto the state machine's home in `oi-kit-agent`, with `with_skills_advertised` beside them. 0cfe816ac calls this "the treatment ruled for streamable_http.rs"; no issue in either repository records that ruling, so whoever takes this should have the Supervisor name where it lives before relying on it. Refs martha-ai/martha-engine#13
Author
Member

Ruling, for the record: there is no such ruling. The Supervisor's word is that no ruling exists on this, from the Supervisor or from Raf, and no DECIDED names streamable_http.rs.

So this issue is the record. 0cfe816ac's "as ruled" and "the treatment ruled for streamable_http.rs" were the builder's own call, not a ruling, and nothing may be relied on as a decision behind them.

Neither deferral needs Raf: both are upstream-sync mechanics, not owner decisions.

Ruling, for the record: there is no such ruling. The Supervisor's word is that no ruling exists on this, from the Supervisor or from Raf, and no DECIDED names `streamable_http.rs`. So this issue is the record. 0cfe816ac's "as ruled" and "the treatment ruled for streamable_http.rs" were the builder's own call, not a ruling, and nothing may be relied on as a decision behind them. Neither deferral needs Raf: both are upstream-sync mechanics, not owner decisions.
Author
Member

The three cases that cannot come back, and why, so the next reader does not look for them.

The sync deleted crates/goose/src/agents/state_machine/tests/advertised_tools.rs with upstream's state machine move. Three of its seven cases rested on a note it read out of message metadata (ADVERTISED_TOOLS_NOTE, LLM_OPERATION_NAME, request_was_advertised), and that mechanism is gone from the tree: grep over crates/ finds none of the three, and upstream's replacement judges each reply against the tools of the request that produced it (src/inference.rs::unadvertised_tool_responses), which tests/unadvertised_tools.rs already pins, both on a normal reply and on a failed stream.

So these three are closed as no longer applicable, not ported:

  • completed_turns_do_not_persist_repeated_advertised_tools
  • pending_approval_keeps_advertised_tools_until_the_tool_is_resolved
  • reused_id_pending_approval_keeps_advertised_tools_after_copy_and_import

What the package does for the other four, all in PR 23:

  • One was not covered anywhere and is new: skills offered by default, in the fork's own crates/oi-kit-agent/tests/martha_engine_switch.rs, which also carries this mapping in its header.
  • Three are already answered by upstream's own tests/skill_operation.rs::unadvertised_skills_reach_only_the_user (not offered, a load_skill call not answered, a user-typed skill still running) and lists_skills_in_the_prompt_and_runs_them_as_commands (the offered side). They are not duplicated.

The OSV user agent comes back in the same pull request as a fork patch inside oi-kit-agent, marked as one in both files it touches.

The three cases that cannot come back, and why, so the next reader does not look for them. The sync deleted `crates/goose/src/agents/state_machine/tests/advertised_tools.rs` with upstream's state machine move. Three of its seven cases rested on a note it read out of message metadata (`ADVERTISED_TOOLS_NOTE`, `LLM_OPERATION_NAME`, `request_was_advertised`), and that mechanism is gone from the tree: `grep` over `crates/` finds none of the three, and upstream's replacement judges each reply against the tools of the request that produced it (`src/inference.rs::unadvertised_tool_responses`), which `tests/unadvertised_tools.rs` already pins, both on a normal reply and on a failed stream. So these three are closed as no longer applicable, not ported: - `completed_turns_do_not_persist_repeated_advertised_tools` - `pending_approval_keeps_advertised_tools_until_the_tool_is_resolved` - `reused_id_pending_approval_keeps_advertised_tools_after_copy_and_import` What the package does for the other four, all in PR 23: - One was not covered anywhere and is new: skills offered by default, in the fork's own `crates/oi-kit-agent/tests/martha_engine_switch.rs`, which also carries this mapping in its header. - Three are already answered by upstream's own `tests/skill_operation.rs::unadvertised_skills_reach_only_the_user` (not offered, a `load_skill` call not answered, a user-typed skill still running) and `lists_skills_in_the_prompt_and_runs_them_as_commands` (the offered side). They are not duplicated. The OSV user agent comes back in the same pull request as a fork patch inside `oi-kit-agent`, marked as one in both files it touches.
Author
Member

Done, landed in PR 23 as a merge. main is 893715e710.

  • The OSV check sends martha-engine-osv-check/1.1 (+https://osv.dev) again, as a FORK PATCH inside oi-kit-agent with the martha-engine-name dependency, marked as a fork patch in malware_check.rs and in the crate's manifest so the next sync keeps our line.
  • The one skills case nothing else covered, skills offered by default, lives in the fork's own crates/oi-kit-agent/tests/martha_engine_switch.rs; the three that rested on the removed metadata mechanism are recorded above as closed, and the other three are upstream's own.

Proof that no gate could give, read out of the shipped binary built at this tip: martha-engine-osv-check present, goose-osv-check absent.

The landed push runs on 893715e710, all success:

  • 5928 ci.yml, ended 13:31:46Z: 24988 changes, 24989 Check Rust Code Format, 24990 Build and Test Rust Project, 24991 Lint Rust Code.
  • 5929 martha-engine-checks.yml, ended 13:24:38Z: 24992 The evidence keeps the model server's log, 24993 Build the engine and run the fork's checks.
  • 5930 martha-engine-trials.yml, ended 15:23:17Z: 24994 the engine build and 24995 to 25003, trial lines 1 to 9 of 9.
Done, landed in PR 23 as a merge. main is 893715e710a3b14e658dc65fb1b0757068ce9a4f. - The OSV check sends `martha-engine-osv-check/1.1 (+https://osv.dev)` again, as a FORK PATCH inside `oi-kit-agent` with the `martha-engine-name` dependency, marked as a fork patch in `malware_check.rs` and in the crate's manifest so the next sync keeps our line. - The one skills case nothing else covered, skills offered by default, lives in the fork's own `crates/oi-kit-agent/tests/martha_engine_switch.rs`; the three that rested on the removed metadata mechanism are recorded above as closed, and the other three are upstream's own. Proof that no gate could give, read out of the shipped binary built at this tip: `martha-engine-osv-check` present, `goose-osv-check` absent. The landed push runs on 893715e710a3b14e658dc65fb1b0757068ce9a4f, all success: - **5928** ci.yml, ended 13:31:46Z: 24988 changes, 24989 Check Rust Code Format, 24990 Build and Test Rust Project, 24991 Lint Rust Code. - **5929** martha-engine-checks.yml, ended 13:24:38Z: 24992 The evidence keeps the model server's log, 24993 Build the engine and run the fork's checks. - **5930** martha-engine-trials.yml, ended 15:23:17Z: 24994 the engine build and 24995 to 25003, trial lines 1 to 9 of 9.
pluto closed this issue 2026-11-27 15:29:30 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha-engine#22
No description provided.