
    Vj0                    j   U d Z ddlmZ ddlmZ dddddd	d
ddd
ddddddddddddd
dddddddddddd
dddddddddd ddddd
d!dd"d#d$d%d&d'dddd
dddd(d#d)d*d+d,dddddddd-d.d/d0d1d2d
dd
ddddd3d.d4d5d6d7dddd
dddd8d9d:d;d<d=d
dd
ddddd>dd?d@dAdBdddd
d
ddg
ZdCedD<   dPdGZdQdIZdRdMZ	dQdNZ
dOS )Sa  Retention Studio strategy for mechanism-explainer Shorts.

This module captures the strategic shift from generic AI-video output to a
semi-automatic retention studio: format mining, idea scoring, mechanism-reveal
scripts, motion-led visuals, and human quality gates.
    )annotations)Anyz'Warum ein billiges Auto teuer sein kannhidden_money_systemsu6   Dieser Occasion-Käufer denkt, er spart 4'000 Franken.uV   Röntgenblick durch Preis, Reparaturrisiko, Standtage, Händler-Marge und Liquidität.zCDer teuerste Fehler ist nicht der Kaufpreis, sondern der Zeitpunkt.z23D car x-ray with price tag layers and risk meters	      
      )titlepillarhook	mechanismtwistvisual_mechanismsurprise
data_basiscomment_potentialseries_potentialmonetization_potentialproduction_effortz)Warum 0%-Finanzierung nicht kostenlos istz70 Prozent klingt gratis. Genau deshalb funktioniert es.zICash price, margin, fees, lock-in and opportunity cost split into layers.zADie Zinsen verschwinden nicht. Sie verstecken sich nur im System.z+contract transforms into hidden cost layers      u/   Warum KI-Agenten ohne Regeln gefährlich werdenai_agents_explainedzCDieser Agent wirkt produktiv. Bis er ohne Kontrolle Geld verbrennt.zaGoal, tool access, missing approval gates, runaway loops and audit trail visualized as a circuit.zEDer Fehler ist nicht Intelligenz. Der Fehler ist fehlende Begrenzung.z:agent control loop with approval gate and red runaway pathz3Der Unterschied zwischen Chatbot und echtem Agentenu2   Ein Chatbot antwortet. Ein Agent verändert Dinge.zOIntent, tools, memory, approvals and execution are revealed as separate layers.z:Autonomie beginnt nicht beim Modell, sondern beim Zugriff.z.split-screen chatbot bubble vs agent toolchain   z6Warum ein Bauprojekt fast nie beim ersten Preis bleibtswiss_systems_explainedz9Dieser Baukredit sieht fix aus. Dann beginnt die Schweiz.z_Permits, objections, procurement, inflation, scope creep and political process stack over time.uT   Die Überraschung ist nicht der Mehrpreis. Es ist die Anzahl unsichtbarer Schleifen.z@construction budget timeline with process gates and cost bubblesz)Wie ein Einwohnerrat wirklich entscheidetzFDas sieht wie eine Abstimmung aus. Eigentlich ist es ein Filtersystem.z[Motion, committee, budget, party positions, amendments and final vote visualized as a flow.uA   Die Entscheidung fällt oft, bevor die Schlussabstimmung beginnt.z-council chamber turns into decision flowchartu/   Warum dein Gehirn schlechte Deals schönrechnetdangerous_thinking_errorszADein Gehirn merkt diesen schlechten Deal. Dann verteidigt es ihn.zPSunk cost, confirmation bias and loss aversion appear as competing brain layers.z7Du kaufst nicht den Deal. Du kaufst die Rechtfertigung.z2brain courtroom where biases argue over a bad dealz"Warum du Verlusten hinterherrennstz2Der Verlust ist vorbei. Trotzdem zahlst du weiter.zKLoss aversion, sunk cost and identity protection visualized as a trap door.z6Du rettest nicht dein Geld. Du rettest dein altes Ich.z0money trail into trap with brain pulling it backz/Warum Shorts dich nicht wegen dem Inhalt haltenhidden_attention_systemszHDu bleibst nicht wegen dem Thema. Du bleibst wegen der offenen Schleife.z[Hook, open loop, pattern interrupt, payoff delay and reward pulse shown as timeline layers.z/Retention ist oft Architektur, nicht Interesse.z4shorts timeline with dopamine gates and loop markersuA   Warum Banken Gebühren verstecken können, ohne sie zu versteckenu=   Diese Gebühr ist sichtbar. Genau deshalb übersiehst du sie.zUStatement line items, percentage framing, monthly smoothing and comparison blindness.z<Das Versteck ist nicht Geheimhaltung. Es ist Normalisierung.z8bank statement zooms into visible-but-ignored fee layerszlist[dict[str, Any]]PILOT_IDEASreturndict[str, Any]c                 >    ddddg dg dg dg dd	d
dddd
dg dd
S )z5Return the strategic operating model for the channel.zHidden Money & AI Systems"Unsichtbare Systeme in 30 SekundenuV   Wir zeigen Dinge, die dich Geld, Zeit oder Kontrolle kosten – bevor du sie bemerkst.semi_automatic_retention_studio)ki_avatar_newsstatic_ai_slideshowreused_content_clone)z0.0-1.5s pattern interruptz1.5-5s problemz5-18s mechanism revealz18-28s twistz28-35s follow trigger)mechanism_revealmistake_breakdownhidden_costbefore_aftermyth_vs_realitymini_simulationnobody_notices_this)r   auto_trade_mechanicsr   r   r   r   T      F)static_card_limit first_two_seconds_must_open_loopvisual_change_every_secondshuman_review_percentreused_content_allowed2synthetic_media_disclosure_required_when_realistic)retention_1sretention_3saverage_view_duration	rewatchescomments_per_1000_viewsfollows_per_1000_views)
positioningseriesclaimoperating_modelnot_acore_formulaformat_taxonomycontent_pillarsquality_gatesmetrics rF       U/home/agent/jarvis_runtime/autoshortsbot/AutoShortsBot/autoshorts/retention_studio.pybuild_retention_studio_strategyrI      s     36i<RRR
 
 

 
 

 
 
 "#04+,$&&+BF
 

 
 
K- - -rG   ideac           
         dddddd}t           fd|                                D                       }t          t                               dd                              rdnd	}t          d	t                               d
d                    dz
            dz  }t          t          d|t          |	                                          z  dz  |z   |z
                      }|dk    rd}n|dk    rd}nd}||dS )z&Score an idea for production priority.g?g333333?ffffff?)r   r   r   r   r   c              3  j   K   | ]-\  }}t                              |d                     |z  V  .dS )r   N)floatget).0keyweightrJ   s      rH   	<genexpr>zscore_idea.<locals>.<genexpr>   sB      WWV5#q))**V3WWWWWWrG   r       r   r   r   r.   d   g!@P   produceA   developreject)totaldecision)
sumitems_has_specific_visual_mechanismstrrO   maxrN   roundminvalues)rJ   weightsweightedvisual_bonuseffort_penaltyr\   r]   s   `      rH   
score_idearj      s     "% G WWWWw}}WWWWWH7DHHEWY[<\<\8]8]^^e22deLE$((+>"B"BCCaGHH1LN#c8c'..*:*:&;&;;cALPSaabbccE{{	"111rG   r   ra   boolc                     h d}                                                                  |v rdS t           fddD                       S )N>   static imagetalking avatargeneric montage	slideshowFc              3  D   K   | ]}|                                 v V  d S )N)lower)rP   tokenr   s     rH   rS   z1_has_specific_visual_mechanism.<locals>.<genexpr>   sI         	!'')))     rG   )	zx-rayu   röntgenlayer
simulationtimelineflowsplit3dcircuit)rr   stripany)r   generic_termss   ` rH   r`   r`      sn    VVVM%%''=88u    o     rG   c                    d}d| d         | d         d|ddd| d	         | d
          ddddddddddddddd| d         | d
         dddddd| d         ddddddd|d d!d"dgd#S )$zEBuild a shot-by-shot mechanism explainer skeleton from a scored idea.uK   Morgen zeige ich das nächste versteckte System, bevor es dich Geld kostet.r!   r
   r   "   pattern_interruptg        rL   r   r   z( freezes mid-action with warning signal.z)hard zoom, freeze-frame, red signal pulsezbass hit + camera snap)beatstartend	voiceovervisualvisual_motion	sound_cueproblemg      @z>Das sieht harmlos aus, bis du den Mechanismus dahinter siehst.z@surface layer peels away to reveal the hidden system underneath.zlayer peel + parallax pushzwhoosh + low tension tickr   g      2@z)sequential layer reveal every 1-2 secondszclicks per revealed layerr   g      <@zEcamera snaps from obvious cause to real cause; wrong layer fades out.z"snap zoom + wrong answer collapseszdrop + silence beatfollow_triggerg      A@z4series tag appears over a clean animated system map.z"map draws itself, final node glowszresolve hit + soft riser)r=   r
   r   target_secondsr   beatsrF   )rJ   r   s     rH   build_mechanism_explainerr      s    bN6gx.( ,!&\!"45___!L5  "]\!=8  $!+.12!L8   !']a!E2  )+P!E7 K.
5 5 5rG   N)r   r   )rJ   r   r   r   )r   ra   r   rk   )__doc__
__future__r   typingr   r   __annotations__rI   rj   r`   r   rF   rG   rH   <module>r      s     # " " " " "       ;(HmVP"$  =(I`TI"$  C'UxXX"$  G'DfML"#  J+Kvg^"#  =+XrTK"#  C-SgJP"#  6-DbIN"#  C,ZrBR"#  U(OlOV"# M% M M M M`/ / / /d2 2 2 2,   8 8 8 8 8 8rG   