chore(19-05): add fail-closed check-phase19.sh for chat plugins
- Named short tests must pass; a skip, miss or red required test fails. - No admin or layers stage; postgres is Docker-host only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -39,23 +39,23 @@ created: "2026-10-16"
|
||||
|
||||
## Per-Task Verification Map
|
||||
|
||||
Seeded from RESEARCH.md until plans exist. The planner replaces Task IDs with real plan/task numbers.
|
||||
Task IDs are the real plan numbers (19-01..19-05). File Exists is marked for tests landed through plan 19-05.
|
||||
|
||||
| Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status |
|
||||
|---------|------|------|-------------|------------|-----------------|-----------|-------------------|-------------|--------|
|
||||
| 19-W0-01 | 01 | 1 | SC-19-1 | — | Baseline creates chat v1.3.0 tables minus family_id | integration | `go test -short ./updates -run TestBaseline` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-02 | 03 | 2 | SC-19-1 | — | ChannelService.createChannel / adoptConversation | integration | `go test ./classes -run TestCreateChannel` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-03 | 01 | 1 | SC-19-2 | T-19-05 | chat authorizer participants + prs | unit | `go test -short ./classes -run TestChatAuthorizer` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-04 | 01 | 1 | SC-19-2 | T-19-04 | MemoryDriver sees created.chat.message notification payload | integration | `go test ./... -run TestBroadcastCreated` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-05 | 02 | 1 | SC-19-3 | — | toApiArray golden (attachments kind/width/height) | unit | `go test -short ./models -run TestToAPIArray` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-06 | 05 | 3 | SC-19-3 | — | Event name/channel/payload goldens | unit | `go test -short ./... -run TestGoldenEvents` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-07 | 04 | 2 | D-15 | — | handle unique + generator charset | unit | `go test -short ./classes -run TestHandle` in sm-user-plugin | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-08 | 02 | 1 | D-18 | T-19-03 | banned svg/html/xml; max 5; 100MB | unit | `go test -short ./classes -run TestAttachmentPolicy` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-09 | 03 | 2 | D-20 | T-19-08 | SearchableAs `messages`; fail-open indexer | unit | `go test -short ./classes -run TestSearchIndexer` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-10 | 05 | 3 | D-21 | — | PHP method map 59 + 106 | unit (last plan) | `go test ./...` + checklist file | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-11 | 05 | 3 | D-02 | — | no family/parent/child/QuestStream in production sources | unit | `go test -short ./... -run TestNoQuestStreamTrace` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-12 | 02 | 1 | D-09 | T-19-02 | chat-dm 10/min; generic 422 CANNOT_CREATE_DM | unit | `go test -short ./... -run TestDMThrottle` | ❌ W0 | ⬜ pending |
|
||||
| 19-W0-13 | 02 | 1 | D-18 | T-19-01 | attachment download 404 for missing and unauthorized | unit | `go test -short ./... -run TestAttachmentDownload` | ❌ W0 | ⬜ pending |
|
||||
| 19-01 | 01 | 1 | SC-19-2 | T-19-05 | chat authorizer participants + prs | unit | `go test -short ./... -run TestChatAuthorizer` | ✅ sm-chat-plugin/tracer_test.go | ⬜ pending |
|
||||
| 19-02 | 02 | 1 | D-18 | T-19-03 | banned svg/html/xml; max 5; 100MB | unit | `go test -short ./... -run TestAttachmentPolicy` | ✅ sm-chat-plugin/http_tracer_test.go | ⬜ pending |
|
||||
| 19-02 | 02 | 1 | D-09 | T-19-02 | chat-dm 10/min; generic 422 CANNOT_CREATE_DM | integration | `go test ./... -run TestDMThrottle` | ✅ sm-chat-plugin/http_tracer_test.go | ⬜ pending |
|
||||
| 19-02 | 02 | 1 | D-18 | T-19-01 | attachment download 404 for missing and unauthorized | integration | `go test ./... -run TestAttachmentDownload` | ✅ sm-chat-plugin/http_tracer_test.go | ⬜ pending |
|
||||
| 19-03 | 03 | 2 | SC-19-1 | — | ChannelService.createChannel / adoptConversation | integration | `go test ./... -run TestCreateChannel` | ✅ sm-chatchannels-plugin/tracer_test.go | ⬜ pending |
|
||||
| 19-03 | 03 | 2 | D-20 | T-19-08 | SearchableAs `messages`; fail-open indexer | unit | `go test -short ./... -run TestSearchIndexer` | ✅ sm-chatchannels-plugin/tracer_test.go | ⬜ pending |
|
||||
| 19-04 | 04 | 2 | D-15 | — | handle unique + generator charset | unit | `go test -short ./classes -run TestHandle` in sm-user-plugin | ✅ plugins/golem15/user/classes/handle_generator_test.go | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | SC-19-1 | — | Baseline creates chat v1.3.0 tables minus family_id | unit | `go test -short ./updates -run TestBaseline` | ✅ sm-chat-plugin/updates/baseline_test.go | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | SC-19-2 | T-19-13 | MemoryDriver created.chat.message has no content key | unit | `go test -short ./... -run TestBroadcastCreated` | ✅ sm-chat-plugin/golden_test.go | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | SC-19-3 | T-19-13 | toApiArray golden (attachments kind/width/height) | unit | `go test -short ./... -run TestToAPIArray` | ✅ sm-chat-plugin/golden_test.go | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | SC-19-3 | T-19-13 | Event name/channel/payload goldens | unit | `go test -short ./... -run TestGoldenEvents` / `TestChannelGoldenEvents` | ✅ sm-chat-plugin/golden_test.go, sm-chatchannels-plugin/golden_test.go | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | D-21 | — | PHP method map 59 + 106 | unit (last plan) | `go test -short ./... -run TestPHPMethodMap` | ✅ testdata/PHP_METHOD_MAP.md in both plugins | ⬜ pending |
|
||||
| 19-05 | 05 | 4 | D-02 | — | no family/parent/child/QuestStream in production sources | unit | `go test -short ./... -run TestNoQuestStreamTrace` | ✅ queststream_trace_test.go in both plugins | ⬜ pending |
|
||||
|
||||
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user