{"name":"tengu_post_compact_survey","slug":"tengu-post-compact-survey","family":"flag","title":"Feature flags","noun":"feature flag","description":"Default `false`. When `true`, Claude Code may show a feedback survey (`survey_type: \"post_compact\"`) after a compaction: once a user or assistant message follows the newest compaction marker, it opens with probability `0.2`. It stays hidden when another survey is open, product feedback is disallowed by policy, or `CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY` is set.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":141,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"tengu_post_compact_file_restore_success","slug":"tengu-post-compact-file-restore-success","description":"After compaction, Claude stops wasting its re-read budget on memory files it already injects."},{"name":"tengu_post_compact_survey_event","slug":"tengu-post-compact-survey-event","description":"An analytics event, not a feature flag. Claude Code logs it for the post-compaction feedback survey with `event_type` `appeared`, `responded` or `abandoned`, the `appearance_id`, and the `response` on `responded`."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-post-compact-survey","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}