feat(v2): add realtime command and release tooling
This commit is contained in:
@@ -319,7 +319,7 @@ git commit -m "feat(v2): implement operator monitoring window"
|
||||
- Modify: `docs/06-tasks.md`
|
||||
- Modify: `progress.md`
|
||||
|
||||
- [ ] **Step 1: Write the command preflight test**
|
||||
- [x] **Step 1: Write the command preflight test**
|
||||
|
||||
```go
|
||||
func TestValidateStartupRejectsMissingRuntimeWithoutLeakingSource(t *testing.T) {
|
||||
@@ -328,12 +328,12 @@ func TestValidateStartupRejectsMissingRuntimeWithoutLeakingSource(t *testing.T)
|
||||
}
|
||||
```
|
||||
|
||||
- [ ] **Step 2: Verify it fails before adding the command package**
|
||||
- [x] **Step 2: Verify it fails before adding the command package**
|
||||
|
||||
Run: `Set-Location v2; go test ./cmd/silver-pose -run TestValidateStartup -v`
|
||||
Expected: FAIL because the command package is absent.
|
||||
|
||||
- [ ] **Step 3: Implement preflight, lifecycle and release assembly**
|
||||
- [x] **Step 3: Implement preflight, lifecycle and release assembly**
|
||||
|
||||
```go
|
||||
func main() {
|
||||
@@ -347,7 +347,7 @@ func main() {
|
||||
|
||||
`build-v2-release.ps1` must require `-OnnxPath`, `-OrtDllPath`, `-FfmpegPath`, `-FfprobePath` and `-OutputDirectory`; it must reject a non-empty target directory, build `silver-pose.exe` with CGO/MinGW, copy the four explicit binaries plus `config.example.json`, write `runtime-manifest.json` with SHA-256 and tool version output, and fail when a required input is missing. The runbook must document a local ignored `config.local.json`, setting the RTSP environment variable outside the repository, normal/reconnect/confirmed demonstrations, where event evidence is written, a 1–3 second stated target, and the fixed-view scope limitation.
|
||||
|
||||
- [ ] **Step 4: Run automated and release-folder smoke verification**
|
||||
- [x] **Step 4: Run automated and release-folder smoke verification**
|
||||
|
||||
Run: `Set-Location v2; $env:CGO_ENABLED='1'; go test ./...; go build ./cmd/silver-pose`
|
||||
Expected: PASS.
|
||||
@@ -363,11 +363,11 @@ Expected: PASS.
|
||||
Run: launch the release executable with a local configuration and approved live RTSP stream.
|
||||
Expected: live frame and skeleton/ID; disconnect causes reconnect text without fall alert; one approved fall produces red overlay, one sound, one acknowledgment popup, one PNG and one JSONL line; normal activity does not create a confirmed event.
|
||||
|
||||
- [ ] **Step 6: Commit delivery evidence**
|
||||
- [x] **Step 6: Commit command and release-tooling slice**
|
||||
|
||||
```powershell
|
||||
git add v2/cmd/silver-pose v2/scripts docs/03-tech-stack.md docs/04-architecture.md docs/current-state.md docs/06-tasks.md docs/v2-demo-runbook.md progress.md
|
||||
git commit -m "feat(v2): deliver realtime demo and release tooling"
|
||||
git commit -m "feat(v2): add realtime command and release tooling"
|
||||
```
|
||||
|
||||
## Plan self-review
|
||||
|
||||
Reference in New Issue
Block a user