anchor.diff:  <% dependencies.each do |dep_name, dep| %>
   <% version_lines = dep['buildpacks'].values.reduce([]) {|sum, bp| sum | get_version_lines(bp['lines'], ['latest'])} %>
       <% if is_multiline?(dep) %>
  -    - create-<%= dep_name %>-new-line-story
  +    - create-<%= dep_name.downcase %>-new-line-story
       <% end %>
       <% version_lines.each do |line| %>
  -    - create-<%=dep_name%>-<%= line %>-story
  +    - create-<%= dep_name.downcase %>-<%= line.downcase %>-story
       <% if !is_child_cnb(dep_name) %>
  -    - accept-<%=dep_name%>-<%= line %>-story
  +    - accept-<%= dep_name.downcase %>-<%= line.downcase %>-story
       <% end %>
       <% dep['copy-stacks']&.each do |stack| %>
  -    - copy-<%=dep_name%>-<%= line %>-<%= stack %>
  -    <% end %>
  -    - build-<%=dep_name%>-<%= line %>
  +    - copy-<%= dep_name.downcase %>-<%= line.downcase %>-<%= stack.downcase %>
  +    <% end %>
  +    - build-<%= dep_name.downcase %>-<%= line.downcase %>
       <% end %>
       <% dep['buildpacks'].each do |bp_name, bp| %>
       <% get_version_lines(bp['lines'], ['latest']).each do |line| %>
  -    - update-<%=dep_name%>-<%= line %>-<%= bp_name %>
  +    - update-<%= dep_name.downcase %>-<%= line.downcase %>-<%= bp_name.downcase %>
       <% end %>
   <% end %>
   <% end %>
   
   <% dependencies.each do |dep_name, dep| %>
   <% version_lines = dep['buildpacks'].values.reduce([]) {|sum, bp| sum | get_version_lines(bp['lines'], ['latest'])} %>
  -  - name: <%= dep_name %>
  +  - name: <%= dep_name.downcase %>
       jobs:
       <% if is_multiline?(dep) %>
  -    - create-<%= dep_name %>-new-line-story
  +    - create-<%= dep_name.downcase %>-new-line-story
       <% end %>
       <% version_lines.each do |line| %>
  -    - create-<%=dep_name%>-<%= line %>-story
  +    - create-<%= dep_name.downcase %>-<%= line.downcase %>-story
       <% if !is_child_cnb(dep_name) %>
  -    - accept-<%=dep_name%>-<%= line %>-story
  +    - accept-<%= dep_name.downcase %>-<%= line.downcase %>-story
       <% end %>
       <% dep['copy-stacks']&.each do |stack| %>
  -    - copy-<%=dep_name%>-<%= line %>-<%= stack %>
  -    <% end %>
  -    - build-<%=dep_name%>-<%= line %>
  +    - copy-<%= dep_name.downcase %>-<%= line.downcase %>-<%= stack.downcase %>
  +    <% end %>
  +    - build-<%= dep_name.downcase %>-<%= line.downcase %>
       <% end %>
       <% dep['buildpacks'].each do |bp_name, bp| %>
       <% get_version_lines(bp['lines'], ['latest']).each do |line| %>
  -    - update-<%=dep_name%>-<%= line %>-<%= bp_name %>
  -    <% end %>
  -    <% end %>
  -<% end %>
  +    - update-<%= dep_name.downcase %>-<%= line.downcase %>-<%= bp_name.downcase %>
  +    <% end %>
  +    <% end %>
  +<% end %>
  
positive.code: 
  
    <% dep['copy-stacks']&.each do |stack| %>
  - name: copy-<%=dep_name%>-<%= line %>-<%= stack %>
    plan:
    - in_parallel:
      - get: buildpacks-ci
      - get: source
        resource: source-<%=dep_name%>-<%= line %>
        trigger: true
        version: every
        passed: [ build-<%=dep_name%>-<%= line %> ]
      - get: builds
    - task: repackage-dependency
      file: buildpacks-ci/tasks/repackage-dependency/task.yml
  
negative.code:     - get: buildpacks-ci
      - get: binary-builder
      - get: source
        resource: source-<%= dep_name.downcase %>-<%= line.downcase %>
        trigger: true
        version: every
        passed: [ create-<%= dep_name.downcase %>-<%= line.downcase %>-story ]
    <% dep.fetch('monitored_deps', []).each do |monitored_dep_name| %>
      - get: source-<%= monitored_dep_name.downcase %>-latest
        trigger: true
        version: every
        passed: [ create-<%= dep_name.downcase %>-<%= line.downcase %>-story ]
    <% end %>
    <% stacks.each do |stack| %>
      - get: <%= stack %>-image
  