Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

feat(agents): pass the diff to lens agents and drop Bash

Aberta
#15 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
javascript, nodejs

Direção de pesquisa

Start with SKILL.md §7 and the agent tool frontmatter, then locate the validator's allowed tool set and the dotnet-webhook eval. Pass each agent the diff text or a temporary file path and the merge-base sha, and remove Bash from the agent tools and validator set. Done when the eval scores the same after the change.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement

What

Lens agents have Read, Grep, Glob, Bash. Agent frontmatter cannot narrow Bash to read commands, so read-only is enforced only by their instructions.

Why

An agent with unrestricted Bash can change the repo if it misreads its instructions. Passing the diff and the base sha in the prompt would let the agents work with Read, Grep and Glob alone.

Acceptance criteria

  • SKILL.md §7 passes the diff text (or a temp file path) and the merge-base sha to each agent.
  • Agent tools is Read, Grep, Glob; the validator's allowed set drops Bash.
  • The dotnet-webhook eval, which uses the auth and silent-failure agents, scores the same.
Linguagem predominante
JavaScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de devmaxxx/stackwise

Todas as issues de devmaxxx/stackwise

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.