Skip to content

docs(skills): fix the weak spots found by the with/without test - #56

Open
rohit28903 wants to merge 1 commit into
intel:docs/ai-assistant-skillsfrom
rohit28903:docs/skills-weak-spots
Open

rohit28903 wants to merge 1 commit into
intel:docs/ai-assistant-skillsfrom
rohit28903:docs/skills-weak-spots

Conversation

@rohit28903

Copy link
Copy Markdown

Follow-up to #34, against its branch (same as #55). One commit, docs only (13 files, +39/−12).

I tested the skills with a small model (Claude Haiku) on a live install, with and without the skills. These are the doc changes for the places where it still went wrong with the skills. Each new line was checked against the code (roles, charts, toolkit_manager.sh, the inference layer, and the Agent Sandbox SDK 1.0.10 source).

  • Sandbox 403 in the wrong namespace. 403 ... cannot create resource "sandboxclaims" ... in the namespace "default" comes from the SDK's default namespace, not from missing RBAC. Some rows sent it to RBAC (SBX-5, network.md). Every place that lists this 403 now reads the namespace at the end of the message first.
  • Troubleshoot symptom table. It now quotes the exact text for connection resets, sandbox 401 and 403, and embeddings 400 (LLM-3). Small models often stop at this table.
  • Mesh label first. Wherever a namespace is added to litellm_allowed_namespaces, the skills now say to label it istio.io/dataplane-mode=ambient first. This was the step most often missed.
  • Agent Sandbox SDK. The skills now give the exact package and import. namespace and warmpool go to create_sandbox() and the other sandbox calls, not to SandboxClient().
  • pgvector. Adds a short store-and-search example (6 lines, tested from a pod in the mesh) and the agent_memory NOT NULL columns.
  • Debug and trace logs. These hold the LiteLLM master key and HF_TOKEN. The install skill and AGENTS.md now say to tell the user before running with them, and to quote only the error lines. With trace, other lines hold secrets too.
  • Descriptions. Adds trigger phrases to the install and troubleshoot skills (debug output, installer log, sandbox creation fails, sandbox 403).
  • README. One sentence: keep the assistant's permission prompts on.

Re-test of the six weak tasks

  • Now passing: letting a namespace call LiteLLM, and the embeddings 400.
  • Improved: the pgvector code
  • Unchanged: the debug-log request, the sandbox 403 diagnosis and the sandbox code. Here the model mostly does not open a skill at all, or it makes up SDK arguments.

Changes from section 8 of the validation report, each checked against
the code, and re-tested with the same harness (Haiku, live stack):

- sandbox 403 "... in the namespace \"default\"" is the SDK's default
  namespace, not RBAC: say so wherever the 403 is listed (components
  and troubleshoot SKILL.md, SBX-5, network.md)
- troubleshoot symptom table: exact connection-reset, sandbox 401/403
  and embeddings-400 (LLM-3) messages
- mesh label first, wherever a namespace is added to LiteLLM's list
- Agent Sandbox SDK: package, import, and which calls take namespace
- pgvector: short store-and-search example (tested); agent_memory
  NOT NULL columns
- debug/trace logs hold the master key and HF_TOKEN: say so before
  running, quote only error lines (install SKILL.md, AGENTS.md, INS)
- trigger phrases in the install and troubleshoot descriptions
- README: keep the assistant's permission prompts on

Re-test on the six weak tasks: C4 and T8 now pass, and the pgvector
code (W5) improves; S2, T2 and the sandbox code (W2) are unchanged.

Signed-off-by: Rohit <rohit.pasupathy@intel.com>

This branch has not been deployed

No deployments
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