index365 audit and fix
Run an index365 scan, turn findings into a prioritized plan, apply the fixes that
live in THIS repo, and re-scan to confirm the score actually moved. The agent fixes;
index365 supplies the findings and per-finding remediation. This is not a summary,
it fixes. You need to be in the repository that serves the audited site (so
affectedUrls map to files); no ids are carried between steps, every read defaults
to the latest run.
Workflow (copy this checklist into your reply; check off as you go)
- 1. Scan and wait:
index365 scan https://yoursite.com --yes --idempotency-key "baseline-<date>". Marketing Signal is the only startable product, so there is nothing to choose.--yescreates the project on a new domain without a prompt. Paid action (one Page Check, 10 credits); the idempotency key makes a retry safe. Record the baseline score and its band from the score card. - 2. Read + prioritize:
index365 findings --severity criticalthenhighfor the worst items. For a big report,index365 report --savewrites the full payload into the git-ignored.index365/dir; delegate ranking to a subagent over the FILE, never paste a full report into context. Prefer each finding's machine-readableagentActionsover re-deriving the fix. (This is index365-triage-findings.) - 3. Apply in-repo fixes: per top finding,
index365 findings get <n> --json(ordinal from the table); mapaffectedUrls→ file withGlob/Grep. If the user requested preview or approval before application, show a proposed patch and STOP without editing. Otherwise, the direct audit-and-fix request authorizes one logicalEditper finding; show the actual diff. (This is index365-apply-fix, repeated.) STOP and ask if a fix exceeds the finding, oraffectedUrlsdoesn't resolve to a file; skip out-of-repo findings. Note each fixed finding's stablefindingIdfor the comparison in step 4. - 4. Re-scan and verify: repeat the step-1 command with the same URL and
--productbut a NEW stable key, e.g.--idempotency-key "verify-batch-1"; reuse that new key only when retrying this verification. Never reuse the baseline key, which would replay the baseline run. Compare the new score andindex365 findingsagainst the baseline, matching by stablefindingId(ordinals shift between runs). A fix that doesn't move the score or clear its finding is not done, re-investigate. - 5. Report the delta: baseline → new score (
index365 results yoursite.comshows both runs side by side), thefindingIds fixed, applied-but-unmoved (re-investigate these), and out-of-repo findings with eachhumanUrlso the user can handle them in the dashboard.
Output
Write saved reports and artifacts to .index365/ (git-ignored). Field reference:
references/finding-schema.md.
Common mistakes
- Summarizing instead of fixing (that's index365-read-report).
- Pasting the whole saved report into context instead of reading the file with
jq/grep. - Re-deriving a fix when
agentActionsalready specifies it. - Calling step 4 done without comparing scores against the baseline.
- Editing files for findings whose
affectedUrlsare DNS/hosting/infra (not in this repo).