kpdev

Results comments of kpdev

Hi, @wangq8 , @Haruko386 , @JinHai-CN @yingfeng @xugangqiang Please review this PR

@xugangqiang Thanks for the review. I ran local verification on this branch. ### How I tested ```bash python3 test/testcases/restful_api/run_agent_attachment_download_unit.py ``` **Result: 5/5 passed** (exit code 0). ### 1. Fix really...

Hi, @wangq8 , @Haruko386 , @JinHai-CN @yingfeng @xugangqiang Please review this PR

@xugangqiang Done — removed `PR-15507-testing-evidence.md` from the branch and moved the testing evidence into the PR description under **Testing evidence**. The PR now only contains the code/test changes.

@xugangqiang Added manual testing evidence. **Environment:** `fix/15502-agent-attachment-auth` @ http://127.0.0.1:9380 ### Unauthorized ### Denied (valid token, no access) ### Authorized download ### Missing blob

Hi, @wangq8 , @Haruko386 , @JinHai-CN @yingfeng @xugangqiang @buua436 Please review this PR

@buua436 @xugangqiang Thanks for the review and for keeping the door open to reopen. I understand the concern: agent attachments are runtime workflow artifacts, not KB documents, so `DocumentService.accessible` is...

@xugangqiang Thanks for the feedback — agreed this is a cross-cutting problem, not limited to one endpoint. I audited `main` for handlers that stream bytes from `STORAGE_IMPL` after `@login_required` only....

Hi, @dillonzq I created this PR first. I will do the additional requirements in previous PR after completing this PR Thanks