Skip to main content

FYP Comment Growth

fyp_comment_growth is a public manual capability for scanning the For You feed and posting selected top-level comments.

Current Restriction

The current code treats fyp_comment_growth as:
  • implemented
  • manual_only
  • not allowed for unattended execution
  • top-level comment placement only
That means:
  • mode: "manual" is allowed
  • mode: "unattended" is rejected
  • placement: "reply" is rejected

What It Does

Phonefarm turns an fyp_comment_growth request into a fyp_comment_growth_session execution plan that:
  1. Opens the For You feed.
  2. Scans up to max_scans videos.
  3. Uses the caller-provided fyp_judge_prompt to decide whether each video is a good fit.
  4. Chooses comment text from comment_pack or fyp_comment_prompt.
  5. Posts top-level comments until target_comment_count is reached or the scan limit is hit.

Minimal Valid Request

Inputs

Validation Rules

  • target_comment_count must be greater than 0.
  • max_scans must be greater than 0 and at least target_comment_count.
  • placement must be top_level.
  • dynamic_comment_policy must be high_fit_only, every_good_video, or pack_only.
  • fyp_judge_prompt is always required.
  • If dynamic_comment_policy is pack_only, comment_pack must contain at least one non-empty string.
  • If dynamic_comment_policy is not pack_only, provide either fyp_comment_prompt or a non-empty comment_pack.

Partial Completion

This capability can end with partial progress when it scans or comments but does not reach the requested count. Public status becomes failed_terminal; inspect partial_progress, result, error, and linked_ids for operator-facing detail.