phonetics is physics/physical.
Aha. Well, that is, indeed, the SPE position, but I think that that position leads to serious problems in grammatical theory. The issue is that languages vary substantially on how segments are actually pronounced (and often there is contextual variation within a language). Their way to dealing with that is to put everything in the phonology, except for anything that is an automatic and inviolable consequence of physics and human physiology -- anything that is language-specific is dealt with in the phonology. Since the pronunciation of [ i ] can vary hugely across languages, this is accounted for by assigning different integer values to pluses and minuses on standard features. Thus the difference between German <bieten> and English <beaten> is in the numeric value of
+high, where German has a 2 and English has a 3.
But IMO the integer theory of feature implementation turned out to be extremely problematic, for the simple reason that we never could figure out what the correct integer was. If you look at the literature on phonetic tone implementation, where people did actually come up with numeric rules to generate downdrift and downstep patterns, plus if you look at some of the rules of stress computation in SPE, the idea of adding numeric operations to the arsenal of phonological rule devices imbued phonology with immense yet essentially unnecessary power.
The most compelling argument against integer-manipulative phonology is that even if it might, imaginarily, allow one to describe the "amount" of a phonetic property in a segment, it still can't handle the continuum of "whens" that are also necessary to describe e.g. the time-dependent increasing lip protrusion function of the onset in "strength", or time-dependent changes in nasalization in vowels next to nasals (see Cohn's dissertation and the contrast between English and French). The only way to phonologize this is to re-define a segment so that it is not just an ordered element is the representation, it is a continuous set of time points.
The solution to this quandary is to have a grammatical entity, "the phonetics", which is responsible for physically interpreting the categorial output of the phonology, and because languages differ in how they implement abstract segments, there will be language-specific rules of phonetics. It's hard to say what such rules would look like, I guess because most phoneticians don't seem to be particularly interested in doing detailed descriptions of multiple languages that would allow comparison and thus parametrizing differences between languages -- but it could be done.
An example of a potentially ambiguous case is aspiration in English -- is it phonetic or phonological? If you hold constant your assumptions about syllabification, you can (apparently) either treat aspiration as part of (English-specific) phonetic implementation, or as the result of a phonological rule of aspiration. There is no compelling, direct phonological fact that tells you whether the /t/ in "top" is phonologically [+spread glottis] and the /t/ in "stop" is [-s.g.]. The closest I've seen is the analogy to h-deletion, where /h/ is only possible foot-initially, in which case, if you assume a rule of de-aspiration, it could be stated as deletion of foot-non-initial [+s.g.] (so, pro
híbit: prò(
h)ibítion::èdi
tʰórial:édi
tor). But, what in my mind takes the air out of that argument is that while /h/ deletes at least optionally in phrasal collocations creating foot-medial /h/, as in "scary (h)allucination", you don't de-aspirate word-initial phrasally foot-medial /p,t,d/ in "scary [pʰ]odiatrist". Thus, h-deletion and (de)-aspiration are actually separate processes.
Anyhow, the point is that stop-aspiration in English can be equally-well treated as a phonological process adding (predictable) [+s.g.] in a certain phonological context, or as a rule of phonetic implementation. There may, then, be an element of coin tossing in acquiring aspiration in English, which underlies the process of phonologization.
So I conclude that while phonetics and phonology qua components of language are ontologically quite distinct, they are not always epistemologically distinct from the POV of acquisition.