Task Tool Invocation
Subagent type: worker
Task description: Inventory validation artifacts
Context
You are a specialized subagent invoked by another agent within an ongoing Factory session.
You operate in your own context window but your work directly supports the parent workflow.
Your Subagent Identity
Your core identity and specialized capabilities are defined by the following system prompt:
---BEGIN SUBAGENT SYSTEM PROMPT---
Worker Droid
You are a general-purpose worker agent. Complete your assigned task precisely and report results.
Key guidelines:
- Complete the task and return what the caller asked for, in the format they specified.
- Report concrete actions taken and their outcomes
- Note any blockers or required follow-ups
---END SUBAGENT SYSTEM PROMPT---
Mission
Follow the instructions from your subagent system prompt and the task below.
Complete only what is explicitly requested. Stop immediately once the task is done.
Non-negotiable rules
- Stay strictly within scope. Do not add features, investigations, or commentary beyond the task.
- Do not pursue tangents or make proactive suggestions outside the described work.
- If something is unclear or blocked, report it instead of guessing or expanding scope.
- NEVER run destructive
rm -rf commands (e.g. rm -rf /, rm -rf ~). Commands targeting only /tmp are allowed.
Task
Execute the following assignment precisely and efficiently. Do not perform any other work.
---BEGIN TASK FROM PARENT AGENT---
Goal: Inventory every validation, persona, and operational artifact in the repo that M2 may need to read, copy, or amend. Read-only. No edits, no commits.
Repo root: /Users/gaganarora/Desktop/my projects/teachr.live-wt-mission-1
Scan and catalogue:
1. Validation directory
Walk /Users/gaganarora/Desktop/my projects/teachr.live-wt-mission-1/validation/ in full. For every file, capture:
- Absolute path
- Size in bytes
- One-sentence purpose (read enough to summarize)
Pay special attention to:
- validation/M1-drift-report.md (full read; quote the section headers)
- validation/scripts/build-smoke.sh or any build-smoke script (full read; report the exact command sequence)
- validation/latency-harness/ (catalogue all files; identify how latency was captured in M1, since F5 will reuse this approach against Z.ai)
- validation/checklists/ (list every checklist, with title)
- validation/recordings/ (list rubrics — proxy1, proxy2, proxy5 per the recent commits)
- validation/smoke/ (what's there)
2. Repo-level validation contract (if exists)
Search the entire repo for any file named validation-contract.md, contract.md, or similar at the REPO ROOT or in docs/ — NOT inside ~/.factory/missions/. Report whether such a file exists in-repo.
3. Persona artifacts
List every file under docs/persona/ with absolute path and size. For each, give a one-sentence summary of what it contains. Pay special attention to:
- docs/persona/system-prompt.md (read in full; quote the modulation rules section if any)
- docs/persona/example-exchanges.md (read in full; identify the rubric/grading framework F3 will use)
- docs/persona/voice-spec.md (one-paragraph summary)
- docs/persona/first-run-script.md if exists
4. Memory and clicky-audit artifacts
- docs/memory/ — list all files, one-sentence purpose each
- docs/clicky-audit/ — list all files; quote the copy/adapt/invent verdict headers
5. M1 commits
Run git log --oneline -30 in the repo and report the output. Identify which commits land each F1–F9 of M1, so M2 has clean history context.
6. Existing .gitignore
Read /Users/gaganarora/Desktop/my projects/teachr.live-wt-mission-1/.gitignore and confirm worker/.dev.vars is gitignored. Report any concerns.
7. Existing dev scripts
Inventory app/scripts/ and worker/scripts/ — list each script with a one-sentence purpose.
Write the full report to:
/Users/gaganarora/.factory/missions-tmp/m2-investigation/validation-and-artifact-inventory.md
Final response to me MUST include the absolute path of the report file you wrote AND inline answers to these specific yes/no questions:
- Does a repo-level validation-contract.md exist (i.e., outside ~/.factory/missions/)? If yes, absolute path.
- Does validation/scripts/build-smoke.sh exist and is it runnable? Quote its first 10 lines.
- Does validation/latency-harness/ contain a reusable script that times Worker→upstream→Worker bytes (so F5 can reuse it for Z.ai)?
- Is docs/persona/example-exchanges.md substantial enough to derive a fixture set for F3 (≥5 example exchanges)? Give a count.
- Is worker/.dev.vars gitignored?
Constraints:
- All shell paths double-quoted.
- Use Read/Glob/Grep tools, not raw shell commands beyond
git log.
- The depth lives in the report; inline response is the path + the five answers + nothing else.
---END TASK FROM PARENT AGENT---
Reporting requirements
- Summarize the concrete actions you took and their outcomes.
- If you wrote output to any files, clearly list every file path so the caller can retrieve them.
- Note any blockers, uncertainties, or required follow-ups.
- Provide key outputs or findings relevant to the task, nothing more.