> For the complete documentation index, see [llms.txt](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase29-session01-editorial-quick-wins/tasks.md).

# Task Checklist

**Session ID**: `phase29-session01-editorial-quick-wins` **Total Tasks**: 18 **Estimated Duration**: 3-4 hours **Created**: 2026-06-19

***

## Legend

* `[x]` = Completed
* `[ ]` = Pending
* `[P]` = Parallelizable (can run with other \[P] tasks)
* `[SNNMM]` = Session reference (NN=phase number, MM=session number)
* `TNNN` = Task ID

***

## Progress Summary

| Category       | Total  | Done   | Remaining |
| -------------- | ------ | ------ | --------- |
| Setup          | 2      | 2      | 0         |
| Foundation     | 5      | 5      | 0         |
| Implementation | 7      | 7      | 0         |
| Testing        | 4      | 4      | 0         |
| **Total**      | **18** | **18** | **0**     |

***

## Setup (2 tasks)

Initial configuration and environment preparation.

* [x] T001 \[S2901] Verify current analyst prompt, validator, and test anchors before editing (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T002 \[S2901] Verify current topic-quality and source-doc anchors before editing (`scripts/lib/ai-runtime/topic-quality.ts`)

***

## Foundation (5 tasks)

Core structures and base implementations.

* [x] T003 \[S2901] \[P] Define reviewed anti-trope banned phrase constants and validator issue code with schema-validated output mapping (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T004 \[S2901] \[P] Define deterministic fallback-copy voice constraints for analyst public copy fields (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T005 \[S2901] \[P] Define reviewed creator-hype pattern helpers near existing content pattern regexes (`scripts/lib/ai-runtime/topic-quality.ts`)
* [x] T006 \[S2901] \[P] Add analyst fixtures for banned and accepted public copy fields (`scripts/lib/ai-runtime/__tests__/trend-analyst.test.ts`)
* [x] T007 \[S2901] \[P] Add topic-quality fixtures for engagement-farming and legitimate tutorial topics (`scripts/lib/ai-runtime/__tests__/topic-quality.test.ts`)

***

## Implementation (7 tasks)

Main feature implementation.

* [x] T008 \[S2901] Add ANTI-AI-TROPE block to analyst system, task, and repair prompts without weakening evidence-grounding language (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T009 \[S2901] Implement banned-phrase validation across analyst public copy fields with explicit fallback issue mapping (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T010 \[S2901] Mirror anti-trope voice discipline in deterministic fallback and demand-brief merge copy with state reset through existing fallback paths (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T011 \[S2901] Wire banned-phrase validation into retry and redacted fallback summaries with duplicate-trigger prevention in the existing repair flow (`scripts/lib/ai-runtime/trend-analyst.ts`)
* [x] T012 \[S2901] Extend content pattern detection with reviewed creator-hype markers and bounded false-positive scope (`scripts/lib/ai-runtime/topic-quality.ts`)
* [x] T013 \[S2901] Feed creator-hype hits into existing content penalty and topic noise downrank with deterministic ordering and no new browser field (`scripts/lib/ai-runtime/topic-quality.ts`)
* [x] T014 \[S2901] Document X, TikTok, Instagram, and Bluesky as deliberate non-goals with compliance-first fallback language (`docs/extensions/trend-finder-sources.md`)

***

## Testing (4 tasks)

Verification and quality assurance.

* [x] T015 \[S2901] Update analyst tests for prompt block, banned-phrase rejection, accepted copy, and fallback issue reporting (`scripts/lib/ai-runtime/__tests__/trend-analyst.test.ts`)
* [x] T016 \[S2901] Update topic-quality tests for engagement-farm downrank and useful tutorial non-regression (`scripts/lib/ai-runtime/__tests__/topic-quality.test.ts`)
* [x] T017 \[S2901] Run focused Trend Finder unit tests for analyst and topic-quality behavior (`package.json`)
* [x] T018 \[S2901] Validate ASCII encoding and review diffs for no schema, payload, or source-activation drift (`.spec_system/specs/phase29-session01-editorial-quick-wins/tasks.md`)

***

## Completion Checklist

Before marking session complete:

* [x] All tasks marked `[x]`
* [x] All tests passing
* [x] All files ASCII-encoded
* [x] implementation-notes.md updated
* [x] Ready for the validate workflow step

***

## Next Steps

Run the validate workflow step to verify session completeness.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase29-session01-editorial-quick-wins/tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
