pull-hook: make wires more stable identifiers based on resource
=/ =wire
(make-wire pull+resource+(en-path:resource rid))
[%pass wire %agent [u.ship push-hook-name.config] %leave ~]~
-
+ ::
++ watch-resource
|= [rid=resource pax=path]
^- (list card)
=/ =path
(welp resource+(en-path:resource rid) pax)
=/ =wire
- (make-wire pull+path)
+ (make-wire pull+resource+(en-path:resource rid))
[%pass wire %agent [u.ship push-hook-name.config] %watch path]~
::
++ make-wire
