kimi-code/packages
7Sageer 86674ac895
test: remove wording-pinning tests of model-facing prose across both suites (#3031)
* test: replace prose-pinning system-prompt tests with a structural sharing check

The two removed tests pinned exact sentences of the default system prompt
('reversibility and blast radius', 'premature abstraction', optional-tool
phrasings that must not appear, ...). They broke on any intentional
wording change while only catching regressions that reused the same words.

The one real contract underneath — shared, ungated sections must render
byte-identically in the root agent and every subagent profile — is now
checked structurally by slicing the section out of the root prompt and
asserting the other profiles contain it, regardless of its wording.

* test: remove wording-pinning tests of model-facing prose across both suites

Sweep of the class identified in #3030: assertions pinning the exact
English wording of product model-facing text (system prompt, reminder
and injection .md files, tool descriptions, shipped profile/skill
bodies). They break on any intentional rewording yet only catch
regressions that reuse the same words.

Across 35 files (~60 test cases, net -1131 lines):
- deleted dedicated wording tests: 'exposes current metadata and
  schema' description pins, goal/plan/todo reminder content tests,
  tower skill-body prose pins, goal-outcome.test.ts;
- trimmed wording assertions from behavioral tests that otherwise
  stand alone; kept identifiers (tool names, XML tags, section
  markers), structural properties (wrapping/escaping/gating/cadence),
  fixture data, tool outputs and error messages;
- re-anchored a few gating tests on exported constants
  (WINDOWS_PATH_HINT, DEFAULT_REPLY_STYLE_GUIDE) instead of prose
  literals.

Deferred for a follow-up decision: ~15 tests whose prose pin is the
only discriminator of which reminder/budget-band fired (constants not
exported). Wire baselines and snapshot machinery untouched.
2026-08-18 16:36:57 +08:00
..
acp-adapter ci: release packages (#2881) 2026-08-14 20:51:17 +08:00
acp-server refactor(agent-core-v2): replace defineOp/Model with Event2 dispatch and replayable states (#2909) 2026-08-17 17:38:50 +08:00
agent-core test: remove wording-pinning tests of model-facing prose across both suites (#3031) 2026-08-18 16:36:57 +08:00
agent-core-v2 test: remove wording-pinning tests of model-facing prose across both suites (#3031) 2026-08-18 16:36:57 +08:00
kaos chore: drop #/ import array fallbacks and custom resolution plugins (#1594) 2026-07-13 16:37:35 +08:00
kap-server feat(kap-server): accept bundled skill activations on the prompt submission route (#2982) 2026-08-18 14:57:13 +08:00
klient feat(kap-server): accept bundled skill activations on the prompt submission route (#2982) 2026-08-18 14:57:13 +08:00
kosong chore: remove internal-network references from comments and test fixtures (#3029) 2026-08-18 14:14:56 +08:00
migration-legacy ci: release packages (#1767) 2026-07-16 18:54:29 +08:00
minidb test(minidb): deflake the evict-lru compaction-churn guard (#2892) 2026-08-13 21:00:56 +08:00
node-sdk fix(kimi-code): revert the todo panel to its pre-turn state on undo (#3016) 2026-08-18 12:00:19 +08:00
oauth ci: release packages (#2881) 2026-08-14 20:51:17 +08:00
pi-tui feat(kimi-code): recognize multiple inline skill activations in one prompt (#2935) 2026-08-17 00:09:18 +08:00
protocol feat(kap-server): add workspace fs:suggest file completion endpoint (#3019) 2026-08-18 11:53:48 +08:00
telemetry fix: close two silent-exit vectors around unhandled rejections (#1758) 2026-07-16 02:14:14 +08:00
transcript refactor(agent-core-v2): strip comments from agent-core-v2, kap-server, and transcript (#3010) 2026-08-18 00:30:49 +08:00
tree-sitter-bash feat(tree-sitter-bash): add a pure-TypeScript bash parser and an agent-core-v2 bashParser service (#2016) 2026-07-28 14:29:08 +08:00